/linux-6.6.21/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 219 dma_resv_iter_begin(&cursor, resv, DMA_RESV_USAGE_BOOKKEEP); in ttm_bo_flush_all_fences() 248 if (dma_resv_test_signaled(resv, DMA_RESV_USAGE_BOOKKEEP)) in ttm_bo_cleanup_refs() 260 lret = dma_resv_wait_timeout(resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_cleanup_refs() 311 dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, false, in ttm_bo_delayed_delete() 336 DMA_RESV_USAGE_BOOKKEEP, false, in ttm_bo_release() 347 DMA_RESV_USAGE_BOOKKEEP) || in ttm_bo_release() 1109 DMA_RESV_USAGE_BOOKKEEP)) in ttm_bo_wait_ctx() 1115 ret = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_wait_ctx()
|
D | ttm_bo_util.c | 553 ret = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_wait_free_node() 712 if (dma_resv_test_signaled(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP)) { in ttm_bo_pipeline_gutting() 749 dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_pipeline_gutting()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_mn.c | 69 r = dma_resv_wait_timeout(bo->tbo.base.resv, DMA_RESV_USAGE_BOOKKEEP, in radeon_mn_invalidate()
|
D | radeon_gem.c | 166 DMA_RESV_USAGE_BOOKKEEP, in radeon_gem_set_domain()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_lmem.c | 71 GEM_WARN_ON(dma_resv_test_signaled(obj->base.resv, DMA_RESV_USAGE_BOOKKEEP) && in __i915_gem_object_is_lmem()
|
D | i915_gem_userptr.c | 89 r = dma_resv_wait_timeout(obj->base.resv, DMA_RESV_USAGE_BOOKKEEP, false, in i915_gem_userptr_invalidate()
|
D | i915_gem_ttm.c | 613 err = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in i915_ttm_truncate()
|
/linux-6.6.21/drivers/gpu/drm/qxl/ |
D | qxl_debugfs.c | 65 DMA_RESV_USAGE_BOOKKEEP); in qxl_debugfs_buffers_info()
|
D | qxl_cmd.c | 593 DMA_RESV_USAGE_BOOKKEEP, true, in qxl_reap_surf() 601 DMA_RESV_USAGE_BOOKKEEP); in qxl_reap_surf()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_hmm.c | 81 r = dma_resv_wait_timeout(bo->tbo.base.resv, DMA_RESV_USAGE_BOOKKEEP, in amdgpu_hmm_invalidate_gfx()
|
D | amdgpu_ids.c | 114 r = dma_resv_get_singleton(resv, DMA_RESV_USAGE_BOOKKEEP, &fence); in amdgpu_pasid_free_delayed() 142 dma_resv_wait_timeout(resv, DMA_RESV_USAGE_BOOKKEEP, in amdgpu_pasid_free_delayed()
|
D | amdgpu_sync.c | 247 dma_resv_for_each_fence(&cursor, resv, DMA_RESV_USAGE_BOOKKEEP, f) { in amdgpu_sync_resv()
|
D | amdgpu_vm_sdma.c | 139 DMA_RESV_USAGE_BOOKKEEP); in amdgpu_vm_sdma_commit()
|
D | amdgpu_amdkfd_gpuvm.c | 359 replacement, DMA_RESV_USAGE_BOOKKEEP); in amdgpu_amdkfd_remove_eviction_fence() 1370 DMA_RESV_USAGE_BOOKKEEP); in init_kfd_vm() 2025 DMA_RESV_USAGE_BOOKKEEP); in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 2866 DMA_RESV_USAGE_BOOKKEEP); in amdgpu_amdkfd_gpuvm_restore_process_bos() 2875 DMA_RESV_USAGE_BOOKKEEP); in amdgpu_amdkfd_gpuvm_restore_process_bos() 2930 DMA_RESV_USAGE_BOOKKEEP); in amdgpu_amdkfd_add_gws_to_process()
|
D | amdgpu_vm.c | 1304 dma_resv_for_each_fence(&cursor, resv, DMA_RESV_USAGE_BOOKKEEP, fence) { in amdgpu_vm_prt_fini() 1928 if (!dma_resv_test_signaled(bo->tbo.base.resv, DMA_RESV_USAGE_BOOKKEEP)) in amdgpu_vm_evictable() 2109 DMA_RESV_USAGE_BOOKKEEP, in amdgpu_vm_wait_idle()
|
D | amdgpu_ttm.c | 1390 DMA_RESV_USAGE_BOOKKEEP, f) { in amdgpu_ttm_bo_eviction_valuable() 2131 DMA_RESV_USAGE_BOOKKEEP); in amdgpu_ttm_prepare_job()
|
D | amdgpu_mes.c | 1244 r = dma_resv_get_singleton(bo->tbo.base.resv, DMA_RESV_USAGE_BOOKKEEP, in amdgpu_mes_ctx_unmap_meta_data()
|
/linux-6.6.21/include/linux/ |
D | dma-resv.h | 116 DMA_RESV_USAGE_BOOKKEEP enumerator
|
/linux-6.6.21/drivers/dma-buf/ |
D | st-dma-resv.c | 309 for (usage = DMA_RESV_USAGE_KERNEL; usage <= DMA_RESV_USAGE_BOOKKEEP; in dma_resv()
|
D | dma-resv.c | 523 dma_resv_iter_begin(&cursor, src, DMA_RESV_USAGE_BOOKKEEP); in dma_resv_copy_fences()
|
/linux-6.6.21/Documentation/gpu/rfc/ |
D | i915_vm_bind.rst | 147 submission, they are added with DMA_RESV_USAGE_BOOKKEEP usage to prevent 153 DMA_RESV_USAGE_BOOKKEEP usage and hence should not be used for end of batch
|
/linux-6.6.21/drivers/accel/ivpu/ |
D | ivpu_job.c | 479 usage = (i == CMD_BUF_IDX) ? DMA_RESV_USAGE_WRITE : DMA_RESV_USAGE_BOOKKEEP; in ivpu_job_prepare_bos_for_submit()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_gem.c | 718 DMA_RESV_USAGE_BOOKKEEP, in nouveau_gem_pushbuf_reloc_apply()
|
D | nouveau_bo.c | 996 DMA_RESV_USAGE_BOOKKEEP, in nouveau_bo_move_ntfy()
|
D | nouveau_uvmm.c | 1634 args.resv_usage = DMA_RESV_USAGE_BOOKKEEP; in nouveau_uvmm_bind_job_init()
|