tests/amdgpu/vcn: add dummy feedback message
Latest VCN firmware has feedback header check. Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>main
parent
27fa47a738
commit
8cef557062
|
@ -845,4 +845,10 @@ static const uint8_t vcn_dec_destroy_msg[] = {
|
|||
0x03,0x00,0x44,0x40,0x00,0x00,0x00,0x00,
|
||||
};
|
||||
|
||||
static const uint8_t feedback_msg[] = {
|
||||
0x2c,0x00,0x00,0x00,0x2c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
};
|
||||
|
||||
#endif /* _DECODE_MESSAGES_H_ */
|
||||
|
|
|
@ -333,6 +333,7 @@ static void amdgpu_cs_vcn_dec_decode(void)
|
|||
avc_decode_msg, sizeof(avc_decode_msg));
|
||||
|
||||
dec += 4*1024;
|
||||
memcpy(dec, feedback_msg, sizeof(feedback_msg));
|
||||
dec += 4*1024;
|
||||
memcpy(dec, uvd_it_scaling_table, sizeof(uvd_it_scaling_table));
|
||||
|
||||
|
|
Loading…
Reference in New Issue