aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-07-06 16:06:40 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:50:13 -0400
commit91e1a5207edec9e4f888e44478a9a254186e0ba8 (patch)
treed03a1e06f744981034fb67eeb15b8d1644816278 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent0b492a4c92050862a9780b941d52c05923fcd669 (diff)
drm/amdgpu: deal with foreign fences in amdgpu_sync
This also requires some error handling from the callers of that function. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 069cc28941ba..70e783a849ed 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -699,8 +699,8 @@ struct amdgpu_sync {
699}; 699};
700 700
701void amdgpu_sync_create(struct amdgpu_sync *sync); 701void amdgpu_sync_create(struct amdgpu_sync *sync);
702void amdgpu_sync_fence(struct amdgpu_sync *sync, 702int amdgpu_sync_fence(struct amdgpu_device *adev, struct amdgpu_sync *sync,
703 struct amdgpu_fence *fence); 703 struct fence *f);
704int amdgpu_sync_resv(struct amdgpu_device *adev, 704int amdgpu_sync_resv(struct amdgpu_device *adev,
705 struct amdgpu_sync *sync, 705 struct amdgpu_sync *sync,
706 struct reservation_object *resv, 706 struct reservation_object *resv,