From c336c224a6e6bcc1652fd7d083653f89eab60462 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 16 May 2017 15:00:49 -0700 Subject: [PATCH] intel/decoder: Handle the BLT ring in gen_group_get_length Reviewed-by: Jordan Justen --- src/intel/common/gen_decoder.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2