diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_vma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_vma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_vma.c b/drivers/gpu/drm/i915/i915_vma.c index 252edef6c59e..79f9d1fb7611 100644 --- a/drivers/gpu/drm/i915/i915_vma.c +++ b/drivers/gpu/drm/i915/i915_vma.c @@ -912,15 +912,15 @@ int i915_vma_move_to_active(struct i915_vma *vma, rq->timeline, rq); - reservation_object_add_excl_fence(vma->resv, &rq->fence); + dma_resv_add_excl_fence(vma->resv, &rq->fence); obj->write_domain = I915_GEM_DOMAIN_RENDER; obj->read_domains = 0; } else { - err = reservation_object_reserve_shared(vma->resv, 1); + err = dma_resv_reserve_shared(vma->resv, 1); if (unlikely(err)) return err; - reservation_object_add_shared_fence(vma->resv, &rq->fence); + dma_resv_add_shared_fence(vma->resv, &rq->fence); obj->write_domain = 0; } obj->read_domains |= I915_GEM_GPU_DOMAINS; |