[PATCH 2/2] drm/amd/amdgpu: Change comp GFXv9 ring name to remove space

Deucher, Alexander Alexander.Deucher at amd.com
Wed Apr 19 16:19:07 UTC 2017


> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Tom St Denis
> Sent: Wednesday, April 19, 2017 9:11 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: StDenis, Tom
> Subject: [PATCH 2/2] drm/amd/amdgpu: Change comp GFXv9 ring name to
> remove space
> 
> umr expects the ring name to be a complete word.  This also
> makes it consistent with GFXv7/8.
> 
> Signed-off-by: Tom St Denis <tom.stdenis at amd.com>

Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 898bc5c3a42b..42cfd3b45390 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1094,7 +1094,7 @@ static int gfx_v9_0_sw_init(void *handle)
>  		ring->pipe = i / 8;
>  		ring->queue = i % 8;
>  		ring->eop_gpu_addr = adev->gfx.mec.hpd_eop_gpu_addr +
> (i * MEC_HPD_SIZE);
> -		sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe,
> ring->queue);
> +		sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring-
> >pipe, ring->queue);
>  		irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP
> + ring->pipe;
>  		/* type-2 packets are deprecated on MEC, use type-3 instead
> */
>  		r = amdgpu_ring_init(adev, ring, 1024,
> --
> 2.12.0
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list