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:
Hyunjun Ko 2024-01-23 16:11:38 +09:00 committed by Marge Bot
parent 46e02ee861
commit 52f678004f

View file

@ -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;