Mesa (master): intel/aub_write: log mmio writes
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Mar 7 15:25:28 UTC 2019
Module: Mesa
Branch: master
Commit: 0343a3b42b67a6255c9e8cd132b0cef2d88e429b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0343a3b42b67a6255c9e8cd132b0cef2d88e429b
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat Aug 25 01:40:29 2018 +0100
intel/aub_write: log mmio writes
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>
---
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 02ce2d780e9..e2f83fd2311 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 |
More information about the mesa-commit
mailing list