mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 04:37:57 +07:00
drm/amdgpu: use kernel fence for sdma ib test
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian K?nig <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <jammy.zhou@amd.com>
This commit is contained in:
parent
ab3cb0ce9e
commit
ed88a0ee7f
@ -646,7 +646,7 @@ static int cik_sdma_ring_test_ib(struct amdgpu_ring *ring)
|
||||
if (r)
|
||||
goto err1;
|
||||
|
||||
r = amdgpu_fence_wait(ib.fence, false);
|
||||
r = fence_wait(&ib.fence->base, false);
|
||||
if (r) {
|
||||
DRM_ERROR("amdgpu: fence wait failed (%d).\n", r);
|
||||
goto err1;
|
||||
|
@ -710,7 +710,7 @@ static int sdma_v2_4_ring_test_ib(struct amdgpu_ring *ring)
|
||||
if (r)
|
||||
goto err1;
|
||||
|
||||
r = amdgpu_fence_wait(ib.fence, false);
|
||||
r = fence_wait(&ib.fence->base, false);
|
||||
if (r) {
|
||||
DRM_ERROR("amdgpu: fence wait failed (%d).\n", r);
|
||||
goto err1;
|
||||
|
@ -831,7 +831,7 @@ static int sdma_v3_0_ring_test_ib(struct amdgpu_ring *ring)
|
||||
if (r)
|
||||
goto err1;
|
||||
|
||||
r = amdgpu_fence_wait(ib.fence, false);
|
||||
r = fence_wait(&ib.fence->base, false);
|
||||
if (r) {
|
||||
DRM_ERROR("amdgpu: fence wait failed (%d).\n", r);
|
||||
goto err1;
|
||||
|
Loading…
Reference in New Issue
Block a user