Lines Matching full:backup
167 * Computes the required size for a surface dma command for backup or
443 * vmw_legacy_srf_dma - Copy backup data to or from a legacy surface.
448 * information about the backup buffer.
451 * Transfer backup data to or from a legacy surface as part of the
454 * The backup buffer will be fenced or idle upon successful completion,
455 * and if the surface needs persistent backup storage, the backup buffer
483 * Create a fence object and fence the backup buffer. in vmw_legacy_srf_dma()
504 * information about the backup buffer.
506 * This function will copy backup data to the surface if the
507 * backup buffer is dirty.
526 * information about the backup buffer.
528 * This function will copy backup data from the surface.
861 * expect a backup buffer to be present. in vmw_surface_define_ioctl()
870 &res->backup, in vmw_surface_define_ioctl()
1253 * Create a fence object and fence the backup buffer. in vmw_gb_surface_unbind()
1649 &res->backup, in vmw_gb_surface_define_internal()
1652 if (res->backup->base.num_pages * PAGE_SIZE < in vmw_gb_surface_define_internal()
1654 DRM_ERROR("Surface backup buffer too small.\n"); in vmw_gb_surface_define_internal()
1655 vmw_bo_unreference(&res->backup); in vmw_gb_surface_define_internal()
1669 &res->backup, in vmw_gb_surface_define_internal()
1692 if (res->backup) { in vmw_gb_surface_define_internal()
1694 drm_vma_node_offset_addr(&res->backup->base.vma_node); in vmw_gb_surface_define_internal()
1695 rep->buffer_size = res->backup->base.num_pages * PAGE_SIZE; in vmw_gb_surface_define_internal()
1740 if (!srf->res.backup) { in vmw_gb_surface_reference_internal()
1741 DRM_ERROR("Shared GB surface is missing a backup buffer.\n"); in vmw_gb_surface_reference_internal()
1745 mutex_lock(&dev_priv->cmdbuf_mutex); /* Protect res->backup */ in vmw_gb_surface_reference_internal()
1746 ret = vmw_user_bo_reference(tfile, srf->res.backup, &backup_handle); in vmw_gb_surface_reference_internal()
1751 "backup buffer.\n"); in vmw_gb_surface_reference_internal()
1770 drm_vma_node_offset_addr(&srf->res.backup->base.vma_node); in vmw_gb_surface_reference_internal()
1771 rep->crep.buffer_size = srf->res.backup->base.num_pages * PAGE_SIZE; in vmw_gb_surface_reference_internal()