Home
last modified time | relevance | path

Searched refs:vma_node (Results 1 – 25 of 33) sorted by relevance

12

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c84 pgoff_t offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_scan_pagetable()
122 unsigned long offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_scan_mkwrite()
188 unsigned long offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_pre_unmap()
212 unsigned long offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_unmap()
257 pgoff_t offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_add()
397 page_offset = vmf->pgoff - drm_vma_node_start(&bo->base.vma_node); in vmw_bo_vm_mkwrite()
440 drm_vma_node_start(&bo->base.vma_node); in vmw_bo_vm_fault()
Dvmwgfx_ttm_glue.c48 base.vma_node); in vmw_bo_vm_lookup()
Dvmwgfx_gem.c192 rep->map_handle = drm_vma_node_offset_addr(&vbo->base.base.vma_node); in vmw_gem_object_create_ioctl()
/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c559 drm_vma_node_unmap(&bo->base.vma_node, bdev->dev_mapping); in i915_gem_object_runtime_pm_release_mmap_offset()
588 drm_vma_node_unmap(&mmo->vma_node, in i915_gem_object_release_mmap_offset()
639 &mmo->vma_node); in insert_mmo()
677 drm_vma_node_reset(&mmo->vma_node); in mmap_offset_attach()
680 &mmo->vma_node, obj->base.size / PAGE_SIZE); in mmap_offset_attach()
692 &mmo->vma_node, obj->base.size / PAGE_SIZE); in mmap_offset_attach()
701 drm_vma_node_allow_once(&mmo->vma_node, file); in mmap_offset_attach()
739 *offset = drm_vma_node_offset_addr(&mmo->vma_node); in __assign_mmap_offset()
961 mmo = container_of(node, struct i915_mmap_offset, vma_node); in i915_gem_mmap()
968 base.vma_node)); in i915_gem_mmap()
Di915_gem_object_types.h216 struct drm_vma_offset_node vma_node; member
Di915_gem_object.c198 drm_vma_node_revoke(&mmo->vma_node, file); in i915_gem_close_object()
253 &mmo->vma_node); in __i915_gem_object_free_mmaps()
Di915_gem_ttm.c1117 GEM_BUG_ON(!drm_mm_node_allocated(&obj->base.vma_node.vm_node)); in i915_ttm_mmap_offset()
1119 return drm_vma_node_offset_addr(&obj->base.vma_node); in i915_ttm_mmap_offset()
1236 obj->base.vma_node.driver_private = i915_gem_to_ttm(obj); in __i915_gem_ttm_object_init()
/drivers/gpu/drm/
Ddrm_gem.c167 drm_vma_node_reset(&obj->vma_node); in drm_gem_private_object_init()
243 drm_vma_node_revoke(&obj->vma_node, file_priv); in drm_gem_object_release_handle()
317 *offset = drm_vma_node_offset_addr(&obj->vma_node); in drm_gem_dumb_map_offset()
377 ret = drm_vma_node_allow(&obj->vma_node, file_priv); in drm_gem_handle_create_tail()
391 drm_vma_node_revoke(&obj->vma_node, file_priv); in drm_gem_handle_create_tail()
440 drm_vma_offset_remove(dev->vma_offset_manager, &obj->vma_node); in drm_gem_free_mmap_offset()
466 return drm_vma_offset_add(dev->vma_offset_manager, &obj->vma_node, in drm_gem_create_mmap_offset_size()
1094 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_mmap()
1134 drm_vma_node_start(&obj->vma_node)); in drm_gem_print_info()
Ddrm_gem_ttm_helper.c149 *offset = drm_vma_node_offset_addr(&gem->vma_node); in drm_gem_ttm_dumb_map_offset()
Ddrm_prime.c724 vma->vm_pgoff += drm_vma_node_start(&obj->vma_node); in drm_gem_prime_mmap()
750 ret = drm_vma_node_allow(&obj->vma_node, priv); in drm_gem_prime_mmap()
756 drm_vma_node_revoke(&obj->vma_node, priv); in drm_gem_prime_mmap()
Ddrm_gem_dma_helper.c360 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_dma_get_unmapped_area()
532 vma->vm_pgoff -= drm_vma_node_start(&obj->vma_node); in drm_gem_dma_mmap()
Ddrm_gem_shmem_helper.c475 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in drm_gem_shmem_purge_locked()
/drivers/gpu/drm/ttm/
Dttm_bo_vm.c216 vma->vm_pgoff - drm_vma_node_start(&bo->base.vma_node); in ttm_bo_vm_fault_reserved()
218 drm_vma_node_start(&bo->base.vma_node); in ttm_bo_vm_fault_reserved()
411 ((vma->vm_pgoff - drm_vma_node_start(&bo->base.vma_node)) in ttm_bo_vm_access()
Dttm_bo.c373 drm_vma_offset_remove(bdev->vma_manager, &bo->base.vma_node); in ttm_bo_release()
999 ret = drm_vma_offset_add(bdev->vma_manager, &bo->base.vma_node, in ttm_bo_init_reserved()
1094 drm_vma_node_unmap(&bo->base.vma_node, bdev->dev_mapping); in ttm_bo_unmap_virtual()
/drivers/gpu/drm/msm/
Dmsm_gem.c291 return drm_vma_node_offset_addr(&obj->vma_node); in mmap_offset()
756 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in msm_gem_purge()
791 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in msm_gem_evict()
874 uint64_t off = drm_vma_node_start(&obj->vma_node); in msm_gem_describe()
/drivers/gpu/drm/radeon/
Dradeon_object.h133 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in radeon_bo_mmap_offset()
/drivers/gpu/drm/v3d/
Dv3d_bo.c211 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in v3d_mmap_bo_ioctl()
/drivers/gpu/drm/etnaviv/
Detnaviv_gem.c209 *offset = drm_vma_node_offset_addr(&obj->vma_node); in etnaviv_gem_mmap_offset()
435 unsigned long off = drm_vma_node_start(&obj->vma_node); in etnaviv_gem_describe()
/drivers/gpu/drm/virtio/
Dvirtgpu_vram.c48 vma->vm_pgoff -= drm_vma_node_start(&obj->vma_node); in virtio_gpu_vram_mmap()
Dvirtgpu_gem.c112 *offset_p = drm_vma_node_offset_addr(&gobj->vma_node); in virtio_gpu_mode_dumb_mmap()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.h212 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in amdgpu_bo_mmap_offset()
Damdgpu_amdkfd_gpuvm.c1730 ret = drm_vma_node_allow(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1775 drm_vma_node_revoke(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1882 drm_vma_node_revoke(&mem->bo->tbo.base.vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
2276 ret = drm_vma_node_allow(&obj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_import_dmabuf()
/drivers/gpu/drm/vc4/
Dvc4_bo.c305 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in vc4_bo_purge()
826 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in vc4_mmap_bo_ioctl()
/drivers/gpu/drm/lima/
Dlima_gem.c251 *offset = drm_vma_node_offset_addr(&obj->vma_node); in lima_gem_get_info()
/drivers/gpu/drm/omapdrm/
Domap_gem.c148 return drm_vma_node_offset_addr(&obj->vma_node); in omap_gem_mmap_offset()
1147 off = drm_vma_node_start(&obj->vma_node); in omap_gem_describe()

12