drm/amd/amdgpu: Widen mmio trace register address width
authorTom St Denis <tom.stdenis@amd.com>
Wed, 14 Dec 2016 15:52:00 +0000 (10:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:12:39 +0000 (11:12 -0500)
Support wider address spaces, make it 32-bit so we don't have to
revisit this for a while.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h

index bb964a8ff93872e8654fa97aa5a6e2f013fb1c56..a18ae1e97860a13a9622fd6c7d8668677f076f0a 100644 (file)
@@ -24,7 +24,7 @@ TRACE_EVENT(amdgpu_mm_rreg,
                           __entry->reg = reg;
                           __entry->value = value;
                           ),
-           TP_printk("0x%04lx, 0x%04lx, 0x%08lx",
+           TP_printk("0x%04lx, 0x%08lx, 0x%08lx",
                      (unsigned long)__entry->did,
                      (unsigned long)__entry->reg,
                      (unsigned long)__entry->value)
@@ -43,7 +43,7 @@ TRACE_EVENT(amdgpu_mm_wreg,
                           __entry->reg = reg;
                           __entry->value = value;
                           ),
-           TP_printk("0x%04lx, 0x%04lx, 0x%08lx",
+           TP_printk("0x%04lx, 0x%08lx, 0x%08lx",
                      (unsigned long)__entry->did,
                      (unsigned long)__entry->reg,
                      (unsigned long)__entry->value)