diff options
author | Dave Airlie <[email protected]> | 2017-05-26 07:57:52 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-11-27 12:53:18 +1000 |
commit | fd301472bdb364fafb01f2c3ebe9be375636cd45 (patch) | |
tree | 66c8dcbab037a4d71fb0227281cac22a51991597 /src/gallium/drivers/r600 | |
parent | 068a72fbcb50176f31e9ecd588bd8225922cef2a (diff) |
r600/eg: dump event type in dumps
This just makes it easier to debug some things.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/eg_debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/eg_debug.c b/src/gallium/drivers/r600/eg_debug.c index 32a4f232d90..43c4f41f237 100644 --- a/src/gallium/drivers/r600/eg_debug.c +++ b/src/gallium/drivers/r600/eg_debug.c @@ -191,6 +191,7 @@ static uint32_t *ac_parse_packet3(FILE *f, uint32_t *ib, int *num_dw, eg_dump_reg(f, R_028A90_VGT_EVENT_INITIATOR, ib[1], S_028A90_EVENT_TYPE(~0)); #endif + print_named_value(f, "EVENT_TYPE", ib[1] & 0xff, 8); print_named_value(f, "EVENT_INDEX", (ib[1] >> 8) & 0xf, 4); print_named_value(f, "INV_L2", (ib[1] >> 20) & 0x1, 1); if (count > 0) { |