drm/amdgpu: use amdgpu_ring_test_helper when possible
authorNirmoy Das <nirmoy.das@amd.com>
Tue, 25 Feb 2020 13:29:45 +0000 (14:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:17:33 +0000 (14:17 -0500)
commitc6fc97f9bc5c69ac030be9c3d8b8a2716690da1d
treed92863207620a886b6c4565111bd0c0b83356732
parent42e5fee65e918f16b178ea242b6a96234411cc53
drm/amdgpu: use amdgpu_ring_test_helper when possible

amdgpu_ring_test_helper already handles ring->sched.ready correctly

Signed-off-by: Nirmoy Das <nirmoy.das@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/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c