/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_gem.c | 71 dma_resv_unlock(bo->base.resv); 166 r = dma_resv_wait_timeout(robj->tbo.base.resv, 512 r = dma_resv_test_signaled(robj->tbo.base.resv, DMA_RESV_USAGE_READ); 541 ret = dma_resv_wait_timeout(robj->tbo.base.resv, DMA_RESV_USAGE_READ,
|
H A D | radeon_vm.c | 704 radeon_sync_resv(rdev, &ib.sync, pd->tbo.base.resv, true); 833 radeon_sync_resv(rdev, &ib->sync, pt->tbo.base.resv, true); 834 r = dma_resv_reserve_fences(pt->tbo.base.resv, 1);
|
H A D | radeon.h | 581 struct dma_resv *resv, 1907 struct dma_resv *resv); 1913 struct dma_resv *resv); 1920 struct dma_resv *resv); 2723 #define radeon_copy_blit(rdev, s, d, np, resv) (rdev)->asic->copy.blit((rdev), (s), (d), (np), (resv)) 2724 #define radeon_copy_dma(rdev, s, d, np, resv) (rdev)->asic->copy.dma((rdev), (s), (d), (np), (resv)) 2725 #define radeon_copy(rdev, s, d, np, resv) (rdev)->asic->copy.copy((rdev), (s), (d), (np), (resv)) [all...] |
/linux-master/io_uring/ |
H A D | napi.c | 227 if (napi.pad[0] || napi.pad[1] || napi.pad[2] || napi.resv)
|
H A D | rsrc.c | 503 if (up.resv || up.resv2) 517 if (!up.nr || up.resv || up.resv2) 621 up2.resv = 0;
|
/linux-master/drivers/iommu/ |
H A D | mtk_iommu.c | 988 const struct mtk_iommu_iova_region *resv, *curdom; local 996 resv = data->plat_data->iova_region + i; 999 if (resv->iova_base <= curdom->iova_base || 1000 resv->iova_base + resv->size >= curdom->iova_base + curdom->size) 1003 region = iommu_alloc_resv_region(resv->iova_base, resv->size,
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_pt.c | 838 dma_resv_assert_held(xe_vma_bo(vma)->ttm.base.resv); 1242 err = dma_resv_reserve_fences(xe_vma_bo(vma)->ttm.base.resv, 1); 1315 dma_resv_add_fence(xe_vma_bo(vma)->ttm.base.resv, fence, 1608 err = dma_resv_reserve_fences(xe_vma_bo(vma)->ttm.base.resv, 1); 1658 dma_resv_add_fence(xe_vma_bo(vma)->ttm.base.resv, fence,
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.c | 915 return dma_resv_get_singleton(obj->base.resv, DMA_RESV_USAGE_KERNEL, 938 ret = dma_resv_wait_timeout(obj->base. resv, DMA_RESV_USAGE_KERNEL,
|
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_ioctl.c | 354 ret = dma_resv_test_signaled(obj->resv, DMA_RESV_USAGE_READ); 356 ret = dma_resv_wait_timeout(obj->resv, DMA_RESV_USAGE_READ,
|
/linux-master/drivers/input/mouse/ |
H A D | cyapa_gen6.c | 47 u8 resv; /* Reserved, must be 0 */ member in struct:pip_app_cmd_head 48 u8 cmd_code; /* bit7: resv, set to 0; bit6~0: command code.*/ 54 u8 resv; /* Reserved, must be 0 */ member in struct:pip_app_resp_head
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_cmd.c | 590 ret = dma_resv_wait_timeout(surf->tbo.base.resv, 598 ret = dma_resv_test_signaled(surf->tbo.base.resv,
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.c | 306 bp.resv = NULL; 388 bp.resv = NULL;
|
H A D | amdgpu_gart.c | 173 bp.resv = NULL;
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gem_evict.c | 488 * the resv is shared among multiple objects, we still 492 (ww && (dma_resv_locking_ctx(vma->obj->base.resv) == &ww->ctx))) {
|
H A D | i915_vma.c | 552 * part of the obj->resv->excl_fence as it only affects 1667 lockdep_assert_not_held(&vma->obj->base.resv->lock.base); 1967 err = dma_resv_reserve_fences(vma->obj->base.resv, idx); 1998 dma_resv_add_fence(vma->obj->base.resv, curr, usage); 2204 * We need the dma-resv lock since we add the 2205 * unbind fence to the dma-resv object. 2220 err = dma_resv_reserve_fences(obj->base.resv, 2); 2248 dma_resv_add_fence(obj->base.resv, fence, DMA_RESV_USAGE_READ);
|
/linux-master/include/uapi/rdma/ |
H A D | mlx5-abi.h | 472 __u32 resv; member in struct:mlx5_ib_clock_info
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gpuvm.c | 68 * the following called 'resv object', which serves as the container of the 69 * GPUVM's shared &dma_resv. This resv object can be a driver specific 88 * lists are maintained in order to accelerate locking of dma-resv locks and 482 * // structure in individual driver structures and lock the dma-resv with 585 * // structure in individual driver structures and lock the dma-resv with 984 * @r_obj: the resv &drm_gem_object providing the GPUVM's common &dma_resv 1097 * drm_gpuvm_prepare_vm() - prepare the GPUVMs common dma-resv 1179 * drm_exec_until_all_locked() loop, such that the GPUVM's dma-resv lock ensures 1232 * drm_gpuvm_exec_lock() - lock all dma-resv of all assoiciated BOs 1235 * Acquires all dma-resv lock [all...] |
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gem.c | 888 return !dma_resv_test_signaled(obj->resv, dma_resv_usage_rw(true)); 899 dma_resv_set_deadline(obj->resv, dma_resv_usage_rw(write), 903 ret = dma_resv_wait_timeout(obj->resv, dma_resv_usage_rw(write), 926 struct dma_resv *robj = obj->resv;
|
/linux-master/fs/xfs/scrub/ |
H A D | rmap_repair.c | 982 struct xrep_newbt_resv *resv, *n; local 1036 list_for_each_entry_safe(resv, n, &rr->new_btree.resv_list, list) { 1037 error = xagb_bitmap_set(freesp_blocks, resv->agbno, resv->len);
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_atomic_plane.c | 1018 static int add_dma_resv_fences(struct dma_resv *resv, argument 1025 ret = dma_resv_get_singleton(resv, dma_resv_usage_rw(false), &new); 1099 ret = add_dma_resv_fences(intel_bo_to_drm_bo(old_obj)->resv,
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 473 dma_resv_lock(obj->resv, NULL); 539 dma_resv_unlock(obj->resv); 548 dma_resv_unlock(obj->resv);
|
H A D | panfrost_job.c | 10 #include <linux/dma-resv.h> 268 ret = dma_resv_reserve_fences(bos[i]->resv, 1); 289 dma_resv_add_fence(bos[i]->resv, fence, DMA_RESV_USAGE_WRITE);
|
H A D | panfrost_drv.c | 324 ret = dma_resv_wait_timeout(gem_obj->resv, DMA_RESV_USAGE_READ, 412 ret = dma_resv_lock_interruptible(bo->base.base.resv, NULL); 453 dma_resv_unlock(bo->base.base.resv);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_resource.c | 46 dma_resv_assert_held(gbo->tbo.base.resv); 73 dma_resv_assert_held(gbo->tbo.base.resv); 758 dma_resv_assert_held(vbo->tbo.base.resv);
|
/linux-master/drivers/usb/gadget/function/ |
H A D | f_fs.c | 20 #include <linux/dma-resv.h> 1320 dma_resv_lock(dmabuf->resv, NULL); 1322 dma_resv_unlock(dmabuf->resv); 1398 * the resv object, which would deadlock. 1439 return dma_resv_lock_interruptible(dmabuf->resv, NULL); 1441 if (!dma_resv_trylock(dmabuf->resv)) 1510 dma_resv_unlock(dmabuf->resv); 1632 retl = dma_resv_wait_timeout(dmabuf->resv, 1642 ret = dma_resv_reserve_fences(dmabuf->resv, 1); 1680 dma_resv_add_fence(dmabuf->resv, [all...] |