[Mesa-dev] [PATCH 19/43] intel/decoder: Handle the BLT ring in gen_group_get_length

Jason Ekstrand jason at jlekstrand.net
Tue May 16 22:45:13 UTC 2017


---
 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 6bb9a7a..1a99099 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.5.0.400.gff86faf



More information about the mesa-dev mailing list