diff options
author | Lionel Landwerlin <[email protected]> | 2017-04-02 01:07:37 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-04-03 20:45:34 +0100 |
commit | 471c1bc7ccd33caa38bbf7124691ccf6884ac5f8 (patch) | |
tree | 35d1265e38c80b617608dc3838d6e8c1f524ce47 /src/intel/tools/aubinator.c | |
parent | 04f2e802576b914b913137cd1f47f23c93884733 (diff) |
aubinator/gen_decoder/i965: decode instructions from dword 0
Some packets like 3DSTATE_VF_STATISTICS, 3DSTATE_DRAWING_RECTANGLE,
3DPRIMITIVE, PIPELINE_SELECT, etc... have configurable fields in
dword0, we probably want to print those.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/tools/aubinator.c')
-rw-r--r-- | src/intel/tools/aubinator.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index 322f0df5232..cae578babac 100644 --- a/src/intel/tools/aubinator.c +++ b/src/intel/tools/aubinator.c @@ -99,8 +99,7 @@ static void decode_group(struct gen_group *strct, const uint32_t *p, int starting_dword) { uint64_t offset = option_print_offsets ? (void *) p - gtt : 0; - gen_print_group(outfile, strct, offset, p, starting_dword, - option_color == COLOR_ALWAYS); + gen_print_group(outfile, strct, offset, p, option_color == COLOR_ALWAYS); } static void @@ -722,7 +721,7 @@ parse_commands(struct gen_spec *spec, uint32_t *cmds, int size, int engine) gen_group_get_name(inst), reset_color); if (option_full_decode) { - decode_group(inst, p, 1); + decode_group(inst, p, 0); for (i = 0; i < ARRAY_LENGTH(custom_handlers); i++) { if (gen_group_get_opcode(inst) == custom_handlers[i].opcode) |