/linux/include/linux/ |
H A D | dma-resv.h | 100 DMA_RESV_USAGE_READ, enumerator 135 return write ? DMA_RESV_USAGE_READ : DMA_RESV_USAGE_WRITE; in dma_resv_usage_rw()
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_busy.c | 146 dma_resv_iter_begin(&cursor, obj->base.resv, DMA_RESV_USAGE_READ); in i915_gem_busy_ioctl()
|
H A D | i915_gem_ttm_move.c | 753 dma_resv_add_fence(src_bo->base.resv, copy_fence, DMA_RESV_USAGE_READ); in i915_gem_obj_copy_ttm()
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_execbuf_util.c | 154 DMA_RESV_USAGE_READ : DMA_RESV_USAGE_WRITE); in ttm_eu_fence_buffer_objects()
|
/linux/drivers/gpu/drm/vgem/ |
H A D | vgem_fence.c | 166 DMA_RESV_USAGE_WRITE : DMA_RESV_USAGE_READ); in vgem_fence_attach_ioctl()
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_gem.c | 237 drm_WARN_ON(&vdev->drm, !dma_resv_test_signaled(obj->resv, DMA_RESV_USAGE_READ)); in ivpu_gem_bo_free() 391 ret = dma_resv_wait_timeout(obj->resv, DMA_RESV_USAGE_READ, true, timeout); in ivpu_bo_wait_ioctl()
|
H A D | ivpu_job.c | 618 if (!dma_resv_test_signaled(bo->base.base.resv, DMA_RESV_USAGE_READ)) { in ivpu_job_prepare_bos_for_submit()
|
/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_ioctl.c | 354 ret = dma_resv_test_signaled(obj->resv, DMA_RESV_USAGE_READ); in virtio_gpu_wait_ioctl() 356 ret = dma_resv_wait_timeout(obj->resv, DMA_RESV_USAGE_READ, in virtio_gpu_wait_ioctl()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_gem.c | 509 r = dma_resv_test_signaled(robj->tbo.base.resv, DMA_RESV_USAGE_READ); in radeon_gem_busy_ioctl() 538 ret = dma_resv_wait_timeout(robj->tbo.base.resv, DMA_RESV_USAGE_READ, in radeon_gem_wait_idle_ioctl()
|
H A D | radeon_object.c | 796 DMA_RESV_USAGE_READ : DMA_RESV_USAGE_WRITE); in radeon_bo_fence()
|
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_release.c | 433 DMA_RESV_USAGE_READ); in qxl_release_fence_buffer_objects()
|
/linux/drivers/dma-buf/ |
H A D | dma-resv.c | 764 dma_resv_for_each_fence(&cursor, obj, DMA_RESV_USAGE_READ, fence) { in dma_resv_describe()
|
H A D | dma-buf.c | 432 DMA_RESV_USAGE_READ; in dma_buf_import_sync_file()
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_job.c | 590 DMA_RESV_USAGE_WRITE : DMA_RESV_USAGE_READ; in update_job_resvs()
|
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem_submit.c | 208 DMA_RESV_USAGE_WRITE : DMA_RESV_USAGE_READ); in submit_attach_object_fences()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 500 lret = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_READ, in vmw_user_bo_synccpu_grab()
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_drv.c | 324 ret = dma_resv_wait_timeout(gem_obj->resv, DMA_RESV_USAGE_READ, in panfrost_ioctl_wait_bo()
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 366 DMA_RESV_USAGE_READ); in submit_attach_object_fences()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_vma.c | 1993 usage = DMA_RESV_USAGE_READ; in _i915_vma_move_to_active() 2248 dma_resv_add_fence(obj->base.resv, fence, DMA_RESV_USAGE_READ); in i915_vma_unbind_async()
|
/linux/drivers/gpu/drm/ |
H A D | drm_gem.c | 1527 if (!dma_resv_test_signaled(obj->resv, DMA_RESV_USAGE_READ)) in drm_gem_evict()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gem.c | 570 ret = dma_resv_wait_timeout(robj->tbo.base.resv, DMA_RESV_USAGE_READ, in amdgpu_gem_wait_idle_ioctl()
|
H A D | amdgpu_object.c | 1344 dma_resv_add_fence(resv, fence, shared ? DMA_RESV_USAGE_READ : in amdgpu_bo_fence()
|
/linux/Documentation/gpu/rfc/ |
H A D | i915_vm_bind.rst | 149 DMA_RESV_USAGE_READ or DMA_RESV_USAGE_WRITE usage during explicit object
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 923 ret = dma_resv_get_singleton(dma_bo->base.resv, DMA_RESV_USAGE_READ, &fence); in vc4_async_set_fence_cb()
|
H A D | vc4_gem.c | 565 DMA_RESV_USAGE_READ); in vc4_update_bo_seqnos()
|