From: Jason Ekstrand Date: Tue, 16 May 2017 22:00:49 +0000 (-0700) Subject: intel/decoder: Handle the BLT ring in gen_group_get_length X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c336c224a6e6bcc1652fd7d083653f89eab60462;p=mesa.git intel/decoder: Handle the BLT ring in gen_group_get_length Reviewed-by: Jordan Justen --- diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c index db989595ff9..3ea2eaf8dbf 100644 --- a/src/intel/common/gen_decoder.c +++ b/src/intel/common/gen_decoder.c @@ -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);