summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2015-08-03 08:22:35 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 23:50:54 +0300
commited88a0ee7ff53c292350fc5d38eae161c2372d51 (patch)
treeadfa79c3fae6b1964f72311c4c4e74fd465b8ce4 /drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
parentab3cb0ce9e865c53f2027068f49a0edb40666f3f (diff)
downloadlinux-ed88a0ee7ff53c292350fc5d38eae161c2372d51.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
index 5511a191e591..2b7ce9393929 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
@@ -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;