projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
068a72f
)
r600/eg: dump event type in dumps
author
Dave Airlie
<airlied@redhat.com>
Thu, 25 May 2017 21:57:52 +0000
(07:57 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 27 Nov 2017 02:53:18 +0000
(12:53 +1000)
This just makes it easier to debug some things.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/eg_debug.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/eg_debug.c
b/src/gallium/drivers/r600/eg_debug.c
index 32a4f232d9044c9aff1012f3608d19973b3d7ea0..43c4f41f237df55e7d012b284f25c22f2a796a1e 100644
(file)
--- 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) {