[PATCH 1/2] drm/amd/amdgpu: Change comp GFXv6 ring name to remove space
Christian König
deathsimple at vodafone.de
Wed Apr 19 13:30:33 UTC 2017
Am 19.04.2017 um 15:10 schrieb Tom St Denis:
> 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>
Reviewed-by: Christian König <christian.koenig at amd.com> for both.
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> index 625dbfc4f826..f7579dedc577 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> @@ -3292,7 +3292,7 @@ static int gfx_v6_0_sw_init(void *handle)
> ring->me = 1;
> ring->pipe = i;
> ring->queue = i;
> - 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;
> r = amdgpu_ring_init(adev, ring, 1024,
> &adev->gfx.eop_irq, irq_type);
More information about the amd-gfx
mailing list