diff options
author | Jason Ekstrand <[email protected]> | 2017-05-16 15:00:49 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-26 07:58:01 -0700 |
commit | c336c224a6e6bcc1652fd7d083653f89eab60462 (patch) | |
tree | f8dc5da261d863ab96deeda200c7ed336ec484ae /src/intel/common/gen_decoder.c | |
parent | 9d1001c8e5ff5d3706d674452df4969c086ddab1 (diff) |
intel/decoder: Handle the BLT ring in gen_group_get_length
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.c')
-rw-r--r-- | src/intel/common/gen_decoder.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |