Signed-off-by: Lionel Landwerlin <[email protected]>
---
src/intel/tools/aub_write.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/intel/tools/aub_write.c b/src/intel/tools/aub_write.c
index 7b435fcd893..a4cb474e1e7 100644
--- a/src/intel/tools/aub_write.c
+++ b/src/intel/tools/aub_write.c
@@ -238,6 +238,11 @@ register_write_out(struct aub_file *aub, uint32_t addr,
uint32_t value)
{
uint32_t dwords = 1;
+ if (aub->verbose_log_file) {
+ fprintf(aub->verbose_log_file,
+ " MMIO WRITE (0x%08x = 0x%08x)\n", addr, value);
+ }
+
dword_out(aub, CMD_MEM_TRACE_REGISTER_WRITE | (5 + dwords - 1));
dword_out(aub, addr);
dword_out(aub, AUB_MEM_TRACE_REGISTER_SIZE_DWORD |
--
2.19.0
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev