]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdea0614c39867429b44911c9675bea8c5311b322
treed92863207620a886b6c4565111bd0c0b83356732
parent5bca7e70a4878b5567594f46274915f04cfb15cb
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