aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2015-08-07 11:53:36 +0000
committerAlex Deucher <[email protected]>2015-08-17 20:51:09 +0000
commit02bc0650bc930105346773253e5bf33c2917c601 (patch)
tree5c396830d610cc9c1bf9fdb882a42325611325a9 /drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
parentdrm/amdgpu: use the reservation obj wait for the UVD msg (diff)
downloadkernel-02bc0650bc930105346773253e5bf33c2917c601.tar.gz
kernel-02bc0650bc930105346773253e5bf33c2917c601.zip
drm/amdgpu: remove amdgpu_fence_wait
It was just a wrapper for fence_wait anyway. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
index 2742b9a35cbc..759482e4300d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
@@ -42,7 +42,7 @@ static int amdgpu_benchmark_do_move(struct amdgpu_device *adev, unsigned size,
r = amdgpu_copy_buffer(ring, saddr, daddr, size, NULL, &fence);
if (r)
goto exit_do_move;
- r = amdgpu_fence_wait(fence, false);
+ r = fence_wait(&fence->base, false);
if (r)
goto exit_do_move;
amdgpu_fence_unref(&fence);