diff options
author | Kenneth Graunke <[email protected]> | 2017-03-15 00:56:29 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-03-16 10:48:41 -0700 |
commit | 65a9d5eabb05e4925c1c9a17836cad57304210d6 (patch) | |
tree | e8255e6c70a9ab49f82a455206ff4f6baf02a356 /src/intel/genxml/gen8.xml | |
parent | f0aa8fd4e46f7fb00b493ce0267b4404b4a1a0dd (diff) |
aubinator: Reuse decode_structure code for handling commands
The code for decoding structures and commands was almost identical.
The only differences are: we print dword headers for commands, and
we skip the first one (with the command opcode and lengths).
So, generalize decode_structure to add a starting DWord, and a flag
for printing the DWord headers, and reuse it.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/genxml/gen8.xml')
0 files changed, 0 insertions, 0 deletions