Home
last modified time | relevance | path

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

12

/linux/drivers/dma-buf/
H A Ddma-resv.c71 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()
182 int dma_resv_reserve_fences(struct dma_resv *obj, unsigned int num_fences) in dma_resv_reserve_fences()
263 void dma_resv_reset_max_fences(struct dma_resv *obj) in dma_resv_reset_max_fences()
287 void dma_resv_add_fence(struct dma_resv *obj, struct dma_fence *fence, in dma_resv_add_fence()
343 void dma_resv_replace_fences(struct dma_resv *obj, uint64_t context, in dma_resv_replace_fences()
521 int dma_resv_copy_fences(struct dma_resv *dst, struct dma_resv *src) in dma_resv_copy_fences()
569 int dma_resv_get_fences(struct dma_resv *obj, enum dma_resv_usage usage, in dma_resv_get_fences()
[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
H A Dselftests.h16 selftest(dma_resv, dma_resv)
/linux/Documentation/gpu/
H A Ddrm-vm-bind-locking.rst48 * ``dma_resv``: A struct dma_resv (a.k.a reservation object) that is used
50 gpu_vm or a GEM object. The dma_resv contains an array / list
52 additional dma_fences to the dma_resv. The lock is of a type that
64 single VM. Local GEM objects share the gpu_vm's dma_resv.
73 dma_resv object and hence the dma_resv lock. So, even with a huge
106 object's dma_resv, but some drivers protects this list differently,
112 with the dma_resv locks, a special scheme is needed when iterating
122 same as the GEM object's dma_resv, but if the driver
154 pseudo-code. In particular, the dma_resv deadlock avoidance algorithm
155 as well as reserving memory for dma_resv fences is left out.
[all …]
/linux/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,
H A DTODO.txt17 with VM_BIND using userspace should be removed. Looking at amdgpu dma_resv on
20 This is the matching task on the vm side compared to ttm/dma_resv on the
H A Di915_deps.c222 int i915_deps_add_resv(struct i915_deps *deps, struct dma_resv *resv, in i915_deps_add_resv()
/linux/include/linux/
H A Ddma-buf.h419 struct dma_resv *resv;
530 struct dma_resv *resv;
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_gem.h35 struct dma_resv *resv);
H A Dlsdc_ttm.h70 struct dma_resv *resv);
/linux/drivers/gpu/drm/lima/
H A Dlima_gem.h32 static inline struct dma_resv *lima_bo_resv(struct lima_bo *bo) in lima_bo_resv()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_vm.h48 struct dma_resv *pvr_vm_get_dma_resv(struct pvr_vm_context *vm_ctx);
/linux/drivers/gpu/drm/radeon/
H A Drv770_dma.c45 struct dma_resv *resv) in rv770_copy_dma()
H A Dradeon_prime.c49 struct dma_resv *resv = attach->dmabuf->resv; in radeon_gem_prime_import_sg_table()
H A Dradeon_sync.c91 struct dma_resv *resv, in radeon_sync_resv()
H A Devergreen_dma.c110 struct dma_resv *resv) in evergreen_copy_dma()
H A Dradeon_object.h140 struct dma_resv *resv,
H A Dradeon_benchmark.c38 struct dma_resv *resv) in radeon_benchmark_do_move()
H A Dsi_dma.c233 struct dma_resv *resv) in si_copy_dma()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.h57 struct dma_resv *panthor_vm_resv(struct panthor_vm *vm);
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c404 struct dma_resv *resv = dma_buf->resv; in amdgpu_dma_buf_create_obj()
475 struct dma_resv *resv = vm->root.bo->tbo.base.resv; in amdgpu_dma_buf_move_notify()
H A Damdgpu_eviction_fence.c201 struct dma_resv *resv = bo->tbo.base.resv; in amdgpu_eviction_fence_attach()
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c220 struct dma_resv *resv = &bo->base._resv; in ttm_bo_flush_all_fences()
934 struct sg_table *sg, struct dma_resv *resv, in ttm_bo_init_reserved()
1027 struct sg_table *sg, struct dma_resv *resv, in ttm_bo_init_validate()
/linux/Documentation/gpu/rfc/
H A Di915_vm_bind.rst69 object for that (See `VM_BIND dma_resv usage`_).
128 find the backing storage (dma_resv lock for gem objects, and hmm/core mm for
144 VM_BIND dma_resv usage

12