Commit e11666eb authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/amd/amdgpu: Widen mmio trace register address width

Support wider address spaces, make it 32-bit so we don't have to
revisit this for a while.
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChunming Zhou <david1.zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 44879b62
...@@ -24,7 +24,7 @@ TRACE_EVENT(amdgpu_mm_rreg, ...@@ -24,7 +24,7 @@ TRACE_EVENT(amdgpu_mm_rreg,
__entry->reg = reg; __entry->reg = reg;
__entry->value = value; __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->did,
(unsigned long)__entry->reg, (unsigned long)__entry->reg,
(unsigned long)__entry->value) (unsigned long)__entry->value)
...@@ -43,7 +43,7 @@ TRACE_EVENT(amdgpu_mm_wreg, ...@@ -43,7 +43,7 @@ TRACE_EVENT(amdgpu_mm_wreg,
__entry->reg = reg; __entry->reg = reg;
__entry->value = value; __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->did,
(unsigned long)__entry->reg, (unsigned long)__entry->reg,
(unsigned long)__entry->value) (unsigned long)__entry->value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment