Home
last modified time | relevance | path

Searched refs:dma_resv_usage_rw (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c58 dma_resv_usage_rw(flags & I915_WAIT_ALL)); in i915_gem_object_boost()
78 dma_resv_usage_rw(flags & I915_WAIT_ALL)); in i915_gem_object_wait_reservation()
156 dma_resv_usage_rw(flags & I915_WAIT_ALL)); in i915_gem_object_wait_priority()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_sync.c99 dma_resv_for_each_fence(&cursor, resv, dma_resv_usage_rw(!shared), f) { in radeon_sync_resv()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_deps.c229 dma_resv_for_each_fence(&iter, resv, dma_resv_usage_rw(true), fence) { in i915_deps_add_resv()
Di915_sw_fence.c585 dma_resv_iter_begin(&cursor, resv, dma_resv_usage_rw(write)); in i915_sw_fence_await_reservation()
Di915_request.c1612 dma_resv_usage_rw(write), fence) { in i915_request_await_object()
/linux-6.6.21/include/linux/
Ddma-resv.h126 static inline enum dma_resv_usage dma_resv_usage_rw(bool write) in dma_resv_usage_rw() function
/linux-6.6.21/drivers/gpu/drm/vgem/
Dvgem_fence.c155 usage = dma_resv_usage_rw(arg->flags & VGEM_FENCE_WRITE); in vgem_fence_attach_ioctl()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c78 enum dma_resv_usage usage = dma_resv_usage_rw(true); in wait_for_idle()
Dmsm_gem.c888 return !dma_resv_test_signaled(obj->resv, dma_resv_usage_rw(true)); in msm_gem_active()
899 dma_resv_set_deadline(obj->resv, dma_resv_usage_rw(write), in msm_gem_cpu_prep()
903 ret = dma_resv_wait_timeout(obj->resv, dma_resv_usage_rw(write), in msm_gem_cpu_prep()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_gem.c387 dma_resv_usage_rw(write))) in etnaviv_gem_cpu_prep()
392 ret = dma_resv_wait_timeout(obj->resv, dma_resv_usage_rw(write), in etnaviv_gem_cpu_prep()
/linux-6.6.21/drivers/dma-buf/
Ddma-buf.c225 dma_resv_for_each_fence(&cursor, resv, dma_resv_usage_rw(write), in dma_buf_poll_add_cb()
358 usage = dma_resv_usage_rw(arg.flags & DMA_BUF_SYNC_WRITE); in dma_buf_export_sync_file()
1364 ret = dma_resv_wait_timeout(resv, dma_resv_usage_rw(write), in __dma_buf_begin_cpu_access()
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_fence.c376 dma_resv_usage_rw(exclusive), in nouveau_fence_sync()
Dnouveau_gem.c991 dma_resv_usage_rw(write), true, in nouveau_gem_ioctl_cpu_prep()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_file.c989 if (!dma_resv_test_signaled(obj->resv, dma_resv_usage_rw(true))) { in drm_show_memory_stats()
Ddrm_gem.c782 ret = dma_resv_wait_timeout(obj->resv, dma_resv_usage_rw(wait_all), in drm_gem_dma_resv_wait()
/linux-6.6.21/drivers/gpu/drm/scheduler/
Dsched_main.c810 dma_resv_usage_rw(write)); in drm_sched_job_add_implicit_dependencies()