Home
last modified time | relevance | path

Searched refs:dma_resv (Results 1 – 25 of 59) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
Ddma-resv.h70 struct dma_resv { struct
89 static inline struct dma_resv_list *dma_resv_get_list(struct dma_resv *obj) in dma_resv_get_list() argument
110 static inline int dma_resv_lock(struct dma_resv *obj, in dma_resv_lock()
131 static inline int dma_resv_lock_interruptible(struct dma_resv *obj, in dma_resv_lock_interruptible()
146 static inline void dma_resv_lock_slow(struct dma_resv *obj, in dma_resv_lock_slow()
162 static inline int dma_resv_lock_slow_interruptible(struct dma_resv *obj, in dma_resv_lock_slow_interruptible()
182 static inline bool __must_check dma_resv_trylock(struct dma_resv *obj) in dma_resv_trylock()
193 static inline bool dma_resv_is_locked(struct dma_resv *obj) in dma_resv_is_locked()
205 static inline struct ww_acquire_ctx *dma_resv_locking_ctx(struct dma_resv *obj) in dma_resv_locking_ctx()
216 static inline void dma_resv_unlock(struct dma_resv *obj) in dma_resv_unlock()
[all …]
Ddma-buf.h324 struct dma_resv *resv;
436 struct dma_resv *resv;
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-resv.c100 struct dma_resv obj; in dma_resv_lockdep()
142 void dma_resv_init(struct dma_resv *obj) in dma_resv_init()
156 void dma_resv_fini(struct dma_resv *obj) in dma_resv_fini()
187 int dma_resv_reserve_shared(struct dma_resv *obj, unsigned int num_fences) in dma_resv_reserve_shared()
263 void dma_resv_add_shared_fence(struct dma_resv *obj, struct dma_fence *fence) in dma_resv_add_shared_fence()
308 void dma_resv_add_excl_fence(struct dma_resv *obj, struct dma_fence *fence) in dma_resv_add_excl_fence()
346 int dma_resv_copy_fences(struct dma_resv *dst, struct dma_resv *src) in dma_resv_copy_fences()
432 int dma_resv_get_fences_rcu(struct dma_resv *obj, in dma_resv_get_fences_rcu()
532 long dma_resv_wait_timeout_rcu(struct dma_resv *obj, in dma_resv_wait_timeout_rcu()
634 bool dma_resv_test_signaled_rcu(struct dma_resv *obj, bool test_all) in dma_resv_test_signaled_rcu()
Ddma-buf.c82 if (dmabuf->resv == (struct dma_resv *)&dmabuf[1]) in dma_buf_release()
215 struct dma_resv *resv; in dma_buf_poll()
527 struct dma_resv *resv = exp_info->resv; in dma_buf_export()
533 alloc_size += sizeof(struct dma_resv); in dma_buf_export()
573 resv = (struct dma_resv *)&dmabuf[1]; in dma_buf_export()
1087 struct dma_resv *resv = dmabuf->resv; in __dma_buf_begin_cpu_access()
1295 struct dma_resv *robj; in dma_buf_debug_show()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sync.h30 struct dma_resv;
53 struct dma_resv *resv, enum amdgpu_sync_mode mode,
Damdgpu_ttm.h131 struct dma_resv *resv,
138 struct dma_resv *resv,
142 struct dma_resv *resv,
Damdgpu_vm_cpu.c48 struct dma_resv *resv, in amdgpu_vm_cpu_prepare()
Damdgpu_ids.h75 void amdgpu_pasid_free_delayed(struct dma_resv *resv,
Damdgpu_gem.h50 struct dma_resv *resv,
Damdgpu_dma_buf.c127 __dma_resv_make_exclusive(struct dma_resv *obj) in __dma_resv_make_exclusive()
470 struct dma_resv *resv = dma_buf->resv; in amdgpu_dma_buf_create_obj()
536 struct dma_resv *resv = vm->root.base.bo->tbo.base.resv; in amdgpu_dma_buf_move_notify()
Damdgpu_object.h48 struct dma_resv *resv;
291 int amdgpu_bo_sync_wait_resv(struct amdgpu_device *adev, struct dma_resv *resv,
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_bo_api.h210 struct dma_resv *resv;
402 struct dma_resv *resv,
446 struct sg_table *sg, struct dma_resv *resv,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_sw_fence.h19 struct dma_resv;
88 struct dma_resv *resv,
Di915_vma_types.h176 struct dma_resv *resv; /** Alias of obj->resv */
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem.h293 struct dma_resv *resv;
302 struct dma_resv _resv;
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_bo.h82 struct sg_table *sg, struct dma_resv *robj);
85 struct dma_resv *robj,
Dnouveau_prime.c65 struct dma_resv *robj = attach->dmabuf->resv; in nouveau_gem_prime_import_sg_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_gem.h32 static inline struct dma_resv *lima_bo_resv(struct lima_bo *bo) in lima_bo_resv()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_asic.h89 struct dma_resv *resv);
160 struct dma_resv *resv);
350 struct dma_resv *resv);
354 struct dma_resv *resv);
476 struct dma_resv *resv);
550 struct dma_resv *resv);
728 struct dma_resv *resv);
799 struct dma_resv *resv);
803 struct dma_resv *resv);
Drv770_dma.c45 struct dma_resv *resv) in rv770_copy_dma()
Dradeon_prime.c66 struct dma_resv *resv = attach->dmabuf->resv; in radeon_gem_prime_import_sg_table()
Dradeon_sync.c90 struct dma_resv *resv, in radeon_sync_resv()
Devergreen_dma.c111 struct dma_resv *resv) in evergreen_copy_dma()
Dradeon_object.h143 struct dma_resv *resv,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c34 i915_gem_object_wait_reservation(struct dma_resv *resv, in i915_gem_object_wait_reservation()

123