diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2015-08-03 05:22:35 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-17 20:50:54 (GMT) |
commit | ed88a0ee7ff53c292350fc5d38eae161c2372d51 (patch) | |
tree | adfa79c3fae6b1964f72311c4c4e74fd465b8ce4 /drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | |
parent | ab3cb0ce9e865c53f2027068f49a0edb40666f3f (diff) | |
download | linux-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_v3_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c index 679ea9c..cba45e6 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c @@ -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; |