/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_dmabuf.c | 9 #include <linux/dma-resv.h> 226 exp_info.resv = obj->base.resv; in i915_gem_prime_export() 324 obj->base.resv = dma_buf->resv; in i915_gem_prime_import()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gem.c | 54 struct dma_resv *resv, in amdgpu_gem_object_create() 67 bp.resv = resv; in amdgpu_gem_object_create() 124 abo->tbo.base.resv != vm->root.base.bo->tbo.base.resv) in amdgpu_gem_object_open() 180 fence = dma_resv_get_excl(bo->tbo.base.resv); in amdgpu_gem_object_close() 212 struct dma_resv *resv = NULL; in amdgpu_gem_create_ioctl() local 255 resv = vm->root.base.bo->tbo.base.resv; in amdgpu_gem_create_ioctl() 262 flags, ttm_bo_type_device, resv, in amdgpu_gem_create_ioctl() 51 amdgpu_gem_object_create(struct amdgpu_device *adev, unsigned long size, int alignment, u32 initial_domain, u64 flags, enum ttm_bo_type type, struct dma_resv *resv, struct drm_gem_object **obj) amdgpu_gem_object_create() argument [all...] |
H A D | amdgpu_ttm.h | 131 struct dma_resv *resv, 138 struct dma_resv *resv, 142 struct dma_resv *resv,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gem.c | 77 dma_resv_unlock(bo->base.resv); in amdgpu_gem_fault() 101 struct dma_resv *resv, in amdgpu_gem_object_create() 115 bp.resv = resv; in amdgpu_gem_object_create() 177 abo->tbo.base.resv != vm->root.bo->tbo.base.resv) in amdgpu_gem_object_open() 287 struct dma_resv *resv = NULL; in amdgpu_gem_create_ioctl() local 334 resv = vm->root.bo->tbo.base.resv; in amdgpu_gem_create_ioctl() 341 flags, ttm_bo_type_device, resv, in amdgpu_gem_create_ioctl() 98 amdgpu_gem_object_create(struct amdgpu_device *adev, unsigned long size, int alignment, u32 initial_domain, u64 flags, enum ttm_bo_type type, struct dma_resv *resv, struct drm_gem_object **obj, int8_t xcp_id_plus1) amdgpu_gem_object_create() argument [all...] |
H A D | amdgpu_vm_pt.c | 509 struct dma_resv *resv; in amdgpu_vm_pt_create() local 542 bp.resv = vm->root.bo->tbo.base.resv; in amdgpu_vm_pt_create() 554 if (!bp.resv) in amdgpu_vm_pt_create() 555 WARN_ON(dma_resv_lock(bo->tbo.base.resv, in amdgpu_vm_pt_create() 557 resv = bp.resv; in amdgpu_vm_pt_create() 563 bp.resv = bo->tbo.base.resv; in amdgpu_vm_pt_create() 569 if (!resv) in amdgpu_vm_pt_create() [all...] |
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | Makefile | 3 dma-fence-unwrap.o dma-resv.o 16 st-dma-resv.o
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | repair.c | 289 enum xfs_ag_resv_type resv) in xrep_alloc_ag_block() 295 switch (resv) { in xrep_alloc_ag_block() 306 if (resv == XFS_AG_RESV_RMAPBT) in xrep_alloc_ag_block() 321 args.resv = resv; in xrep_alloc_ag_block() 530 enum xfs_ag_resv_type resv) in xrep_reap_block() 577 else if (resv == XFS_AG_RESV_AGFL) in xrep_reap_block() 580 error = xfs_free_extent(sc->tp, fsbno, 1, oinfo, resv); in xrep_reap_block() 285 xrep_alloc_ag_block( struct xfs_scrub *sc, const struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno, enum xfs_ag_resv_type resv) xrep_alloc_ag_block() argument 526 xrep_reap_block( struct xfs_scrub *sc, xfs_fsblock_t fsbno, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type resv) xrep_reap_block() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_util.c | 250 fbo->base.base.resv = &fbo->base.base._resv; in ttm_buffer_object_transfer() 465 dma_resv_assert_held(bo->base.resv); in ttm_bo_vmap() 533 dma_resv_assert_held(bo->base.resv); in ttm_bo_vunmap() 553 ret = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_wait_free_node() 653 dma_resv_add_fence(bo->base.resv, fence, DMA_RESV_USAGE_KERNEL); in ttm_bo_move_accel_cleanup() 712 if (dma_resv_test_signaled(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP)) { in ttm_bo_pipeline_gutting() 746 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting() 749 dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_pipeline_gutting()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_gem.c | 162 if (!obj->resv) in drm_gem_private_object_init() 163 obj->resv = &obj->_resv; in drm_gem_private_object_init() 774 ret = dma_resv_wait_timeout_rcu(obj->resv, wait_all, in drm_gem_dma_resv_wait() 1262 ret = dma_resv_lock_slow_interruptible(obj->resv, in drm_gem_lock_reservations() 1274 ret = dma_resv_lock_interruptible(objs[i]->resv, in drm_gem_lock_reservations() 1280 dma_resv_unlock(objs[j]->resv); in drm_gem_lock_reservations() 1283 dma_resv_unlock(objs[contended]->resv); in drm_gem_lock_reservations() 1308 dma_resv_unlock(objs[i]->resv); in drm_gem_unlock_reservations() 1384 dma_resv_get_excl_rcu(obj->resv); in drm_gem_fence_array_add_implicit() 1389 ret = dma_resv_get_fences_rcu(obj->resv, NUL in drm_gem_fence_array_add_implicit() [all...] |
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | vio.h | 44 u64 resv[6]; member 71 u16 resv; member 79 u64 resv[5]; member 179 u32 resv; member 200 u16 resv; member 242 u32 resv; member
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | vio.h | 44 u64 resv[6]; member 71 u16 resv; member 79 u64 resv[5]; member 179 u32 resv; member 200 u16 resv; member 242 u32 resv; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.h | 111 #define assert_object_held(obj) dma_resv_assert_held((obj)->base.resv) 120 ret = dma_resv_lock_interruptible(obj->base.resv, ww ? &ww->ctx : NULL); in __i915_gem_object_lock() 122 ret = dma_resv_lock(obj->base.resv, ww ? &ww->ctx : NULL); in __i915_gem_object_lock() 150 return dma_resv_trylock(obj->base.resv); in i915_gem_object_trylock() 155 dma_resv_unlock(obj->base.resv); in i915_gem_object_unlock() 448 fence = dma_resv_get_excl_rcu(obj->base.resv); in i915_gem_object_last_write_engine()
|
H A D | i915_gem_clflush.c | 110 obj->base.resv, NULL, true, in i915_gem_clflush_object() 113 dma_resv_add_excl_fence(obj->base.resv, &clflush->base.dma); in i915_gem_clflush_object()
|
H A D | i915_gem_fence.c | 75 obj->base.resv, NULL, true, in i915_gem_object_lock_fence() 80 dma_resv_add_excl_fence(obj->base.resv, &stub->dma); in i915_gem_object_lock_fence()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.c | 346 struct dma_resv *resv = nvbo->bo.base.resv; in nouveau_fence_sync() local 352 ret = dma_resv_reserve_shared(resv, 1); in nouveau_fence_sync() 358 fobj = dma_resv_get_list(resv); in nouveau_fence_sync() 359 fence = dma_resv_get_excl(resv); in nouveau_fence_sync() 388 dma_resv_held(resv)); in nouveau_fence_sync()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_vm.c | 73 dma_resv_unlock(bo->base.resv); in ttm_bo_vm_fault_idle() 137 if (unlikely(!dma_resv_trylock(bo->base.resv))) { in ttm_bo_vm_reserve() 147 if (!dma_resv_lock_interruptible(bo->base.resv, in ttm_bo_vm_reserve() 149 dma_resv_unlock(bo->base.resv); in ttm_bo_vm_reserve() 156 if (dma_resv_lock_interruptible(bo->base.resv, NULL)) in ttm_bo_vm_reserve() 421 dma_resv_unlock(bo->base.resv); in ttm_bo_vm_fault()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | igmp.h | 71 resv:4; member 73 __u8 resv:4, member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rv770_dma.c | 36 * @resv: reservation object to sync to 45 struct dma_resv *resv) in rv770_copy_dma() 66 radeon_sync_resv(rdev, &sync, resv, false); in rv770_copy_dma() 42 rv770_copy_dma(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct dma_resv *resv) rv770_copy_dma() argument
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | igmp.h | 71 resv:4; member 73 __u8 resv:4, member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | rv770_dma.c | 36 * @resv: reservation object to sync to 45 struct dma_resv *resv) in rv770_copy_dma() 66 radeon_sync_resv(rdev, &sync, resv, false); in rv770_copy_dma() 42 rv770_copy_dma(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct dma_resv *resv) rv770_copy_dma() argument
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | igmp.h | 56 __u8 qrv : 3, suppress : 1, resv : 4; member 58 __u8 resv : 4, suppress : 1, qrv : 3; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | igmp.h | 56 __u8 qrv : 3, suppress : 1, resv : 4; member 58 __u8 resv : 4, suppress : 1, qrv : 3; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | igmp.h | 45 resv:4; member 47 __u8 resv:4, member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_mman.c | 637 struct drm_mm_node *resv; in igt_mmap_offset_exhaustion() local 639 resv = kzalloc(sizeof(*resv), GFP_NOWAIT); in igt_mmap_offset_exhaustion() 640 if (!resv) { in igt_mmap_offset_exhaustion() 645 resv->start = drm_mm_hole_node_start(hole) + loop; in igt_mmap_offset_exhaustion() 646 resv->size = hole->hole_size - loop; in igt_mmap_offset_exhaustion() 647 resv->color = -1ul; in igt_mmap_offset_exhaustion() 650 if (!resv->size) { in igt_mmap_offset_exhaustion() 651 kfree(resv); in igt_mmap_offset_exhaustion() 656 resv in igt_mmap_offset_exhaustion() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_gem.c | 65 dma_resv_unlock(bo->base.resv); in nouveau_ttm_fault() 114 if (nvbo->no_share && uvmm && &uvmm->resv != nvbo->bo.base.resv) in nouveau_gem_object_open() 240 struct dma_resv *resv = NULL; in nouveau_gem_new() local 248 resv = &uvmm->resv; in nouveau_gem_new() 271 if (resv) in nouveau_gem_new() 272 dma_resv_lock(resv, NULL); in nouveau_gem_new() 274 ret = nouveau_bo_init(nvbo, size, align, domain, NULL, resv); in nouveau_gem_new() 276 if (resv) in nouveau_gem_new() [all...] |