Home
last modified time | relevance | path

Searched refs:dma_resv_lock (Results 1 – 25 of 52) sorted by relevance

123

/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_test.c83 dma_resv_lock(bo->base.resv, NULL); in ttm_bo_reserve_locked_no_sleep()
225 dma_resv_lock(bo->base.resv, NULL); in ttm_bo_reserve_interrupted()
269 dma_resv_lock(bo->base.resv, NULL); in ttm_bo_unreserve_basic()
300 dma_resv_lock(bo->base.resv, NULL); in ttm_bo_unreserve_pinned()
354 dma_resv_lock(bo1->base.resv, NULL); in ttm_bo_unreserve_bulk()
362 dma_resv_lock(bo2->base.resv, NULL); in ttm_bo_unreserve_bulk()
408 dma_resv_lock(bo->base.resv, NULL); in ttm_bo_fini_basic()
455 dma_resv_lock(external_resv, NULL); in ttm_bo_fini_shared_resv()
487 dma_resv_lock(bo->base.resv, NULL); in ttm_bo_pin_basic()
525 dma_resv_lock(bo->base.resv, NULL); in ttm_bo_pin_unpin_resource()
[all …]
H A Dttm_tt_test.c161 dma_resv_lock(bo->base.resv, NULL); in ttm_tt_create_basic()
180 dma_resv_lock(bo->base.resv, NULL); in ttm_tt_create_invalid_bo_type()
204 dma_resv_lock(bo->base.resv, NULL); in ttm_tt_create_ttm_exists()
234 dma_resv_lock(bo->base.resv, NULL); in ttm_tt_create_failed()
249 dma_resv_lock(bo->base.resv, NULL); in ttm_tt_destroy_basic()
/linux/drivers/dma-buf/
H A Dst-dma-resv.c54 r = dma_resv_lock(&resv, NULL); in sanitycheck()
77 r = dma_resv_lock(&resv, NULL); in test_signaling()
124 r = dma_resv_lock(&resv, NULL); in test_for_each()
185 r = dma_resv_lock(&resv, NULL); in test_for_each_unlocked()
258 r = dma_resv_lock(&resv, NULL); in test_get_fences()
H A Ddma-buf.c355 dma_resv_lock(resv, NULL); in dma_buf_poll()
523 dma_resv_lock(dmabuf->resv, NULL); in dma_buf_import_sync_file()
1039 dma_resv_lock(dmabuf->resv, NULL); in dma_buf_dynamic_attach()
1083 dma_resv_lock(dmabuf->resv, NULL); in dma_buf_detach()
1263 dma_resv_lock(attach->dmabuf->resv, NULL); in dma_buf_map_attachment_unlocked()
1319 dma_resv_lock(attach->dmabuf->resv, NULL); in dma_buf_unmap_attachment_unlocked()
1637 dma_resv_lock(dmabuf->resv, NULL); in dma_buf_vmap_unlocked()
1679 dma_resv_lock(dmabuf->resv, NULL); in dma_buf_vunmap_unlocked()
/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c175 dma_resv_lock(shmem->base.resv, NULL); in drm_gem_shmem_release()
346 dma_resv_lock(shmem->base.resv, NULL); in drm_gem_shmem_unpin()
590 dma_resv_lock(shmem->base.resv, NULL); in drm_gem_shmem_any_fault()
620 dma_resv_lock(shmem->base.resv, NULL); in drm_gem_shmem_vm_open()
640 dma_resv_lock(shmem->base.resv, NULL); in drm_gem_shmem_vm_close()
693 dma_resv_lock(shmem->base.resv, NULL); in drm_gem_shmem_mmap()
H A Ddrm_exec.c226 ret = dma_resv_lock(obj->resv, &exec->ticket); in drm_exec_lock_obj()
H A Ddrm_gem.c1414 dma_resv_lock(obj->resv, NULL); in drm_gem_lock()
1428 dma_resv_lock(obj->resv, NULL); in drm_gem_vmap()
1438 dma_resv_lock(obj->resv, NULL); in drm_gem_vunmap()
/linux/drivers/vfio/pci/
H A Dvfio_pci_dmabuf.c292 dma_resv_lock(priv->dmabuf->resv, NULL); in vfio_pci_core_feature_dma_buf()
331 dma_resv_lock(priv->dmabuf->resv, NULL); in vfio_pci_dma_buf_move()
350 dma_resv_lock(priv->dmabuf->resv, NULL); in vfio_pci_dma_buf_cleanup()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_gem.c214 dma_resv_lock(obj->resv, NULL); in pvr_gem_object_vmap()
258 dma_resv_lock(obj->resv, NULL); in pvr_gem_object_vunmap()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c103 r = dma_resv_lock(bo->tbo.base.resv, NULL); in amdgpu_dma_buf_attach()
429 dma_resv_lock(resv, NULL); in amdgpu_dma_buf_create_obj()
500 r = dma_resv_lock(resv, ticket); in amdgpu_dma_buf_move_notify()
/linux/drivers/infiniband/core/
H A Dumem_dmabuf.c213 dma_resv_lock(umem_dmabuf->attach->dmabuf->resv, NULL); in ib_umem_dmabuf_get_pinned_with_dma_device()
247 dma_resv_lock(dmabuf->resv, NULL); in ib_umem_dmabuf_revoke()
H A Duverbs_std_types_dmabuf.c168 dma_resv_lock(uverbs_dmabuf->dmabuf->resv, NULL); in uverbs_dmabuf_fd_destroy_uobj()
H A Dib_core_uverbs.c246 dma_resv_lock(uverbs_dmabuf->dmabuf->resv, NULL); in rdma_user_mmap_entry_remove()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_prime.c210 dma_resv_lock(dmabuf->resv, NULL); in virtgpu_dma_buf_free_obj()
243 dma_resv_lock(resv, NULL); in virtgpu_dma_buf_init_obj()
H A Dvirtgpu_plane.c320 dma_resv_lock(resv, NULL); in virtio_gpu_prepare_imported_obj()
400 dma_resv_lock(resv, NULL); in virtio_gpu_cleanup_imported_obj()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_prime.c54 dma_resv_lock(resv, NULL); in radeon_gem_prime_import_sg_table()
/linux/Documentation/gpu/rfc/
H A Di915_gem_lmem.rst16 * dma_resv_lockitem for full dma_resv_lock, i.e not just trylock
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_prime.c51 dma_resv_lock(robj, NULL); in nouveau_gem_prime_import_sg_table()
/linux/drivers/gpu/drm/gma500/
H A Dgem.c39 ret = dma_resv_lock(obj->resv, NULL); in psb_gem_pin()
83 ret = dma_resv_lock(obj->resv, NULL); in psb_gem_unpin()
/linux/include/linux/
H A Ddma-resv.h342 static inline int dma_resv_lock(struct dma_resv *obj, in dma_resv_lock() function
/linux/drivers/gpu/drm/vgem/
H A Dvgem_fence.c147 dma_resv_lock(resv, NULL); in vgem_fence_attach_ioctl()
/linux/Documentation/gpu/
H A Ddrm-vm-bind-locking.rst166 dma_resv_lock(gpu_vm->resv);
206 dma_resv_lock(obj->resv);
272 dma_resv_lock(gpu_vm->resv);
276 dma_resv_lock(gpu_vm_bo.gem_obj->resv);
307 dma_resv_lock(obj->resv);
439 dma_resv_lock(&gpu_vm->resv);
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c64 ret = dma_resv_lock(resv, ticket); in with_vm_locks()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c269 dma_resv_lock(obj->resv, NULL); in panthor_gem_prime_begin_cpu_access()
296 dma_resv_lock(obj->resv, NULL); in panthor_gem_prime_end_cpu_access()
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_gem.c186 dma_resv_lock(resv, NULL); in lsdc_prime_import_sg_table()

123