mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
intel/decoder: Handle HCP_PAK_INSERT_OBJECT
Signed-off-by: Hyunjun Ko <zzoon@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27810>
This commit is contained in:
parent
46e02ee861
commit
52f678004f
1 changed files with 3 additions and 1 deletions
|
|
@ -1051,7 +1051,9 @@ intel_group_get_length(const struct intel_group *group, const uint32_t *p)
|
|||
else
|
||||
return -1;
|
||||
case 2: {
|
||||
if (opcode == 0)
|
||||
if (whole_opcode == 0x73A2 /* HCP_PAK_INSERT_OBJECT */)
|
||||
return field_value(h, 0, 11) + 2;
|
||||
else if (opcode == 0)
|
||||
return field_value(h, 0, 7) + 2;
|
||||
else if (opcode < 3)
|
||||
return field_value(h, 0, 15) + 2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue