]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c
dma-buf: rename reservation_object to dma_resv
[linux.git] / drivers / gpu / drm / vmwgfx / vmwgfx_cotable.c
index 7984f172ec4a6f88271ce1bd91874d4dab17da48..1e3bd58bc2d49567870fc14d4ffcd279df304c0b 100644 (file)
@@ -169,7 +169,7 @@ static int vmw_cotable_unscrub(struct vmw_resource *res)
        } *cmd;
 
        WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB);
-       reservation_object_assert_held(bo->base.resv);
+       dma_resv_assert_held(bo->base.resv);
 
        cmd = VMW_FIFO_RESERVE(dev_priv, sizeof(*cmd));
        if (!cmd)
@@ -311,7 +311,7 @@ static int vmw_cotable_unbind(struct vmw_resource *res,
                return 0;
 
        WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB);
-       reservation_object_assert_held(bo->base.resv);
+       dma_resv_assert_held(bo->base.resv);
 
        mutex_lock(&dev_priv->binding_mutex);
        if (!vcotbl->scrubbed)