/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 84 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()
|
D | vmwgfx_ttm_glue.c | 48 base.vma_node); in vmw_bo_vm_lookup()
|
D | vmwgfx_gem.c | 192 rep->map_handle = drm_vma_node_offset_addr(&vbo->base.base.vma_node); in vmw_gem_object_create_ioctl()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 559 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()
|
D | i915_gem_object_types.h | 216 struct drm_vma_offset_node vma_node; member
|
D | i915_gem_object.c | 198 drm_vma_node_revoke(&mmo->vma_node, file); in i915_gem_close_object() 253 &mmo->vma_node); in __i915_gem_object_free_mmaps()
|
D | i915_gem_ttm.c | 1117 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/ |
D | drm_gem.c | 167 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()
|
D | drm_gem_ttm_helper.c | 149 *offset = drm_vma_node_offset_addr(&gem->vma_node); in drm_gem_ttm_dumb_map_offset()
|
D | drm_prime.c | 724 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()
|
D | drm_gem_dma_helper.c | 360 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()
|
D | drm_gem_shmem_helper.c | 475 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in drm_gem_shmem_purge_locked()
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 216 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()
|
D | ttm_bo.c | 373 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/ |
D | msm_gem.c | 291 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/ |
D | radeon_object.h | 133 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in radeon_bo_mmap_offset()
|
/drivers/gpu/drm/v3d/ |
D | v3d_bo.c | 211 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in v3d_mmap_bo_ioctl()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem.c | 209 *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/ |
D | virtgpu_vram.c | 48 vma->vm_pgoff -= drm_vma_node_start(&obj->vma_node); in virtio_gpu_vram_mmap()
|
D | virtgpu_gem.c | 112 *offset_p = drm_vma_node_offset_addr(&gobj->vma_node); in virtio_gpu_mode_dumb_mmap()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.h | 212 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in amdgpu_bo_mmap_offset()
|
D | amdgpu_amdkfd_gpuvm.c | 1730 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/ |
D | vc4_bo.c | 305 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/ |
D | lima_gem.c | 251 *offset = drm_vma_node_offset_addr(&obj->vma_node); in lima_gem_get_info()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 148 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()
|