Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15ff510b authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher
Browse files

drm/amd/amdgpu: Change comp GFXv6 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: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1c4ecf48
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3292,7 +3292,7 @@ static int gfx_v6_0_sw_init(void *handle)
		ring->me = 1;
		ring->me = 1;
		ring->pipe = i;
		ring->pipe = i;
		ring->queue = 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;
		irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe;
		r = amdgpu_ring_init(adev, ring, 1024,
		r = amdgpu_ring_init(adev, ring, 1024,
				     &adev->gfx.eop_irq, irq_type);
				     &adev->gfx.eop_irq, irq_type);