summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
diff options
context:
space:
mode:
authorChristian König2018-10-30 13:16:28 +0100
committerAlex Deucher2018-11-05 20:21:31 +0100
commit6e82c6e0661befbe2f926863586597236ca617af (patch)
tree7fedcf424544b50f0393747f48ba10cc310f946e /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
parentdrm/amdgpu: cleanup si_dma_ring_test_ib (diff)
downloadkernel-qcow2-linux-6e82c6e0661befbe2f926863586597236ca617af.tar.gz
kernel-qcow2-linux-6e82c6e0661befbe2f926863586597236ca617af.tar.xz
kernel-qcow2-linux-6e82c6e0661befbe2f926863586597236ca617af.zip
drm/amdgpu: drop the remaining uses of ring idx in messages
Consistently use the ring name instead. 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_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index fcb370cfa1e7..100f23b5e22f 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1620,8 +1620,8 @@ static int gfx_v9_0_ngg_en(struct amdgpu_device *adev)
/* Clear GDS reserved memory */
r = amdgpu_ring_alloc(ring, 17);
if (r) {
- DRM_ERROR("amdgpu: NGG failed to lock ring %d (%d).\n",
- ring->idx, r);
+ DRM_ERROR("amdgpu: NGG failed to lock ring %s (%d).\n",
+ ring->name, r);
return r;
}