Home
last modified time | relevance | path

Searched refs:dma_resv (Results 1 - 25 of 122) sorted by relevance

12345

/kernel/linux/linux-6.6/include/linux/
H A Ddma-resv.h53 * enum dma_resv_usage - how the fences from a dma_resv obj are used
55 * This enum describes the different use cases for a dma_resv object and
59 * when the dma_resv object is asked for fences for one use case the fences
80 * resource protected by the dma_resv object. The only exception for
139 * struct dma_resv - a reservation object manages fences for a buffer
155 struct dma_resv { struct
171 * Array of fences which where added to the dma_resv object
182 * struct dma_resv_iter - current position into the dma_resv fences
194 /** @obj: The dma_resv object we iterate over */
195 struct dma_resv *ob
[all...]
H A Ddma-buf.h160 * dma_resv fences.
322 * protected by &dma_resv lock @resv.
421 * struct dma_resv rules, specifically the rules for updating and
424 struct dma_resv *resv;
490 * @node: list of dma_buf_attachment, protected by dma_resv lock of the dmabuf.
496 * dma_buf_map/unmap_attachment() must be called with the dma_resv lock held.
539 struct dma_resv *resv;
572 * Returns true if a DMA-buf exporter wants to be called with the dma_resv
587 * the dma_resv lock held.
/kernel/linux/linux-5.10/include/linux/
H A Ddma-resv.h64 * struct dma_resv - a reservation object manages fences for a buffer
70 struct dma_resv { struct
89 static inline struct dma_resv_list *dma_resv_get_list(struct dma_resv *obj) in dma_resv_get_list()
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 *ob
[all...]
H A Ddma-buf.h277 * protected by dma_resv lock.
298 * The attachment_uid member of @sysfs_entry is protected by dma_resv lock
324 struct dma_resv *resv;
387 * @node: list of dma_buf_attachment, protected by dma_resv lock of the dmabuf.
393 * dma_buf_map/unmap_attachment() must be called with the dma_resv lock held.
436 struct dma_resv *resv;
469 * Returns true if a DMA-buf exporter wants to be called with the dma_resv
484 * the dma_resv lock held.
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Ddma-resv.c54 * See struct dma_resv for more details.
71 struct dma_resv *resv, struct dma_fence **fence, in dma_resv_list_entry()
138 void dma_resv_init(struct dma_resv *obj) in dma_resv_init()
150 void dma_resv_fini(struct dma_resv *obj) in dma_resv_fini()
162 static inline struct dma_resv_list *dma_resv_fences_list(struct dma_resv *obj) in dma_resv_fences_list()
168 * dma_resv_reserve_fences - Reserve space to add fences to a dma_resv object.
182 int dma_resv_reserve_fences(struct dma_resv *obj, unsigned int num_fences) in dma_resv_reserve_fences()
250 * @obj: the dma_resv object to reset
256 void dma_resv_reset_max_fences(struct dma_resv *obj) in dma_resv_reset_max_fences()
270 * dma_resv_add_fence - Add a fence to the dma_resv ob
[all...]
H A Dst-dma-resv.c40 struct dma_resv resv; in sanitycheck()
66 struct dma_resv resv; in test_signaling()
114 struct dma_resv resv; in test_for_each()
175 struct dma_resv resv; in test_for_each_unlocked()
248 struct dma_resv resv; in test_get_fences()
296 int dma_resv(void) in dma_resv() function
/kernel/linux/linux-5.10/drivers/dma-buf/
H A 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()
177 * a dma_resv.
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 *ob
[all...]
H A Ddma-buf.c82 if (dmabuf->resv == (struct dma_resv *)&dmabuf[1]) in dma_buf_release()
185 * provided in the &dma_resv structure.
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-6.6/drivers/gpu/drm/i915/
H A Di915_deps.h13 struct dma_resv;
40 int i915_deps_add_resv(struct i915_deps *deps, struct dma_resv *resv,
H A Di915_sw_fence.h19 struct dma_resv;
93 struct dma_resv *resv,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sync.h30 struct dma_resv;
53 struct dma_resv *resv, enum amdgpu_sync_mode mode,
H A Damdgpu_ttm.h131 struct dma_resv *resv,
138 struct dma_resv *resv,
142 struct dma_resv *resv,
H A Damdgpu_vm_cpu.c48 struct dma_resv *resv, in amdgpu_vm_cpu_prepare()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sync.h30 struct dma_resv;
52 struct dma_resv *resv, enum amdgpu_sync_mode mode,
H A Damdgpu_ttm.h149 struct dma_resv *resv,
156 struct dma_resv *resv,
160 struct dma_resv *resv,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_sw_fence.h19 struct dma_resv;
88 struct dma_resv *resv,
/kernel/linux/linux-5.10/include/drm/ttm/
H A Dttm_bo_api.h211 struct dma_resv *resv;
370 * @resv: Pointer to a dma_resv, or NULL to let ttm allocate one.
403 struct dma_resv *resv,
422 * @resv: Pointer to a dma_resv, or NULL to let ttm allocate one.
447 struct sg_table *sg, struct dma_resv *resv,
/kernel/linux/linux-6.6/include/drm/ttm/
H A Dttm_bo.h184 struct dma_resv *resv;
363 struct sg_table *sg, struct dma_resv *resv,
368 struct sg_table *sg, struct dma_resv *resv,
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_gem.h293 struct dma_resv *resv;
302 struct dma_resv _resv;
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_wait.c36 i915_gem_object_boost(struct dma_resv *resv, unsigned int flags) in i915_gem_object_boost()
67 i915_gem_object_wait_reservation(struct dma_resv *resv, in i915_gem_object_wait_reservation()
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/
H A Dlsdc_gem.h35 struct dma_resv *resv);
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.h82 struct sg_table *sg, struct dma_resv *robj);
85 struct dma_resv *robj,
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_gem.h373 struct dma_resv *resv;
382 struct dma_resv _resv;
389 * Drivers should lock list accesses with the GEMs &dma_resv lock
H A Dgpu_scheduler.h54 struct dma_resv;
539 struct dma_resv *resv,
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.h79 struct sg_table *sg, struct dma_resv *robj);
82 struct dma_resv *robj,

Completed in 14 milliseconds

12345