Home | History | Annotate | Download | only in vmwgfx

Lines Matching defs:backup

202  * Computes the required size for a surface dma command for backup or
471 * vmw_legacy_srf_dma - Copy backup data to or from a legacy surface.
476 * information about the backup buffer.
479 * Transfer backup data to or from a legacy surface as part of the
482 * The backup buffer will be fenced or idle upon successful completion,
483 * and if the surface needs persistent backup storage, the backup buffer
509 * Create a fence object and fence the backup buffer.
530 * information about the backup buffer.
532 * This function will copy backup data to the surface if the
533 * backup buffer is dirty.
552 backup buffer.
554 * This function will copy backup data from the surface.
883 * expect a backup buffer to be present.
892 &res->backup,
1212 if (res->backup->dirty && res->backup_dirty) {
1275 * Create a fence object and fence the backup buffer.
1669 &res->backup,
1672 if (res->backup->base.num_pages * PAGE_SIZE <
1674 VMW_DEBUG_USER("Surface backup buffer too small.\n");
1675 vmw_bo_unreference(&res->backup);
1690 &res->backup,
1699 struct vmw_buffer_object *backup = res->backup;
1701 backup->base, false, false, NULL);
1705 ret = vmw_bo_dirty_add(backup);
1710 ttm_bo_unreserve(&backup->base);
1733 if (res->backup) {
1735 drm_vma_node_offset_addr(&res->backup->base.base.vma_node);
1736 rep->buffer_size = res->backup->base.num_pages * PAGE_SIZE;
1781 if (!srf->res.backup) {
1782 DRM_ERROR("Shared GB surface is missing a backup buffer.\n");
1786 mutex_lock(&dev_priv->cmdbuf_mutex); /* Protect res->backup */
1787 ret = vmw_user_bo_reference(tfile, srf->res.backup, &backup_handle);
1792 "backup buffer.\n");
1811 drm_vma_node_offset_addr(&srf->res.backup->base.base.vma_node);
1812 rep->crep.buffer_size = srf->res.backup->base.num_pages * PAGE_SIZE;