[PATCH] drm/amd/amdgpu: Widen mmio trace register address width

zhoucm1 david1.zhou at amd.com
Thu Dec 15 02:26:58 UTC 2016



On 2016年12月14日 23:53, Tom St Denis wrote:
> 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 at amd.com>
Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
> index 067e5e683bb3..82c3d5aaca2b 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
> @@ -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)



More information about the amd-gfx mailing list