summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
diff options
context:
space:
mode:
authorChristian König2016-04-13 11:34:44 +0200
committerAlex Deucher2016-05-05 02:21:03 +0200
commit771c8ec1775774a05f8e5e456bd4848d845543de (patch)
treed9d5361efa8acb2820254ba2515732d0fffb2ce8 /drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
parentdrm/amdgpu: reduce the ring size for SDMA (diff)
downloadkernel-qcow2-linux-771c8ec1775774a05f8e5e456bd4848d845543de.tar.gz
kernel-qcow2-linux-771c8ec1775774a05f8e5e456bd4848d845543de.tar.xz
kernel-qcow2-linux-771c8ec1775774a05f8e5e456bd4848d845543de.zip
drm/amdgpu: use the ring name for debugfs (v2)
Instead of hard coding just another name in the ring code. v2: squash in Tom's rebase fix Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index f7e5f730c02c..86657e3e06c3 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@ -4438,7 +4438,7 @@ static int gfx_v7_0_sw_init(void *handle)
ring->me = 1; /* first MEC */
ring->pipe = i / 8;
ring->queue = i % 8;
- 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,