drm/amdgpu: cleanup amdgpu_ib_ring_tests
authorChristian König <christian.koenig@amd.com>
Mon, 29 Oct 2018 09:55:23 +0000 (10:55 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:25 +0000 (14:21 -0500)
commitaf70a471bf067d4e808eff2b9c464e6055c98d49
tree2d8189e23cd24dbd3d42ae978db720393fef1c4c
parentdc9eeff84c77080f545575a30062af0ac65b1eb0
drm/amdgpu: cleanup amdgpu_ib_ring_tests

Test only initialized rings, use the ring name instead of the index in the
error message and note on which device the error occured.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c