]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/amd/amdgpu: Change comp GFXv6 ring name to remove space
authorTom St Denis <tom.stdenis@amd.com>
Wed, 19 Apr 2017 13:01:42 +0000 (09:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:44 +0000 (17:32 -0400)
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@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c

index 0ce9777839439b1da4018c8f1f5a2e17c2c6dec0..6a429e9272978aab4f3b890f92f0d9fdb2e2f59c 100644 (file)
@@ -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);