intel/decoder: Handle the BLT ring in gen_group_get_length

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Jason Ekstrand 2017-05-16 15:00:49 -07:00
parent 9d1001c8e5
commit c336c224a6
1 changed files with 4 additions and 0 deletions

View File

@ -703,6 +703,10 @@ gen_group_get_length(struct gen_group *group, const uint32_t *p)
break;
}
case 2: /* BLT */ {
return field(h, 0, 7) + 2;
}
case 3: /* Render */ {
uint32_t subtype = field(h, 27, 28);
uint32_t opcode = field(h, 24, 26);