aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 6c63a2c6395c..87d67f8c85c9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -658,13 +658,13 @@ int amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo)
658 * @shared: true if fence should be added shared 658 * @shared: true if fence should be added shared
659 * 659 *
660 */ 660 */
661void amdgpu_bo_fence(struct amdgpu_bo *bo, struct amdgpu_fence *fence, 661void amdgpu_bo_fence(struct amdgpu_bo *bo, struct fence *fence,
662 bool shared) 662 bool shared)
663{ 663{
664 struct reservation_object *resv = bo->tbo.resv; 664 struct reservation_object *resv = bo->tbo.resv;
665 665
666 if (shared) 666 if (shared)
667 reservation_object_add_shared_fence(resv, &fence->base); 667 reservation_object_add_shared_fence(resv, fence);
668 else 668 else
669 reservation_object_add_excl_fence(resv, &fence->base); 669 reservation_object_add_excl_fence(resv, fence);
670} 670}