Lines Matching defs:backup

197  * Computes the required size for a surface dma command for backup or
467 * vmw_legacy_srf_dma - Copy backup data to or from a legacy surface.
472 * information about the backup buffer.
475 * Transfer backup data to or from a legacy surface as part of the
478 * The backup buffer will be fenced or idle upon successful completion,
479 * and if the surface needs persistent backup storage, the backup buffer
505 * Create a fence object and fence the backup buffer.
526 * information about the backup buffer.
528 * This function will copy backup data to the surface if the
529 * backup buffer is dirty.
548 * information about the backup buffer.
550 * This function will copy backup data from the surface.
882 * expect a backup buffer to be present.
891 &res->backup,
1238 if (res->backup->dirty && res->backup_dirty) {
1301 * Create a fence object and fence the backup buffer.
1550 &res->backup,
1553 if (res->backup->base.num_pages * PAGE_SIZE <
1555 VMW_DEBUG_USER("Surface backup buffer too small.\n");
1556 vmw_bo_unreference(&res->backup);
1571 &res->backup,
1580 struct vmw_buffer_object *backup = res->backup;
1582 ttm_bo_reserve(&backup->base, false, false, NULL);
1586 ret = vmw_bo_dirty_add(backup);
1591 ttm_bo_unreserve(&backup->base);
1614 if (res->backup) {
1616 drm_vma_node_offset_addr(&res->backup->base.base.vma_node);
1617 rep->buffer_size = res->backup->base.num_pages * PAGE_SIZE;
1663 if (!srf->res.backup) {
1664 DRM_ERROR("Shared GB surface is missing a backup buffer.\n");
1669 mutex_lock(&dev_priv->cmdbuf_mutex); /* Protect res->backup */
1670 ret = vmw_user_bo_reference(tfile, srf->res.backup, &backup_handle);
1675 "backup buffer.\n");
1694 drm_vma_node_offset_addr(&srf->res.backup->base.base.vma_node);
1695 rep->crep.buffer_size = srf->res.backup->base.num_pages * PAGE_SIZE;