/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_page_dirty.c | 86 pgoff_t offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_scan_pagetable() 124 unsigned long offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_scan_mkwrite() 190 unsigned long offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_pre_unmap() 214 unsigned long offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_unmap() 271 pgoff_t offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_add() 415 page_offset = vmf->pgoff - drm_vma_node_start(&bo->base.vma_node); in vmw_bo_vm_mkwrite() 458 drm_vma_node_start(&bo->base.vma_node); in vmw_bo_vm_fault()
|
A D | vmwgfx_bo.c | 494 drm_vma_node_reset(&bo->base.vma_node); in vmw_bo_create_kernel() 556 drm_vma_node_reset(&vmw_bo->base.base.vma_node); in vmw_bo_init() 891 rep->map_handle = drm_vma_node_offset_addr(&vbo->base.base.vma_node); in vmw_bo_alloc_ioctl() 1127 *offset = drm_vma_node_offset_addr(&out_buf->base.base.vma_node); in vmw_dumb_map_offset()
|
A D | vmwgfx_ttm_glue.c | 44 base.vma_node); in vmw_bo_vm_lookup()
|
/linux/drivers/gpu/drm/ |
A D | drm_gem.c | 166 drm_vma_node_reset(&obj->vma_node); in drm_gem_private_object_init() 256 drm_vma_node_revoke(&obj->vma_node, file_priv); in drm_gem_object_release_handle() 330 *offset = drm_vma_node_offset_addr(&obj->vma_node); in drm_gem_dumb_map_offset() 390 ret = drm_vma_node_allow(&obj->vma_node, file_priv); in drm_gem_handle_create_tail() 404 drm_vma_node_revoke(&obj->vma_node, file_priv); in drm_gem_handle_create_tail() 453 drm_vma_offset_remove(dev->vma_offset_manager, &obj->vma_node); in drm_gem_free_mmap_offset() 479 return drm_vma_offset_add(dev->vma_offset_manager, &obj->vma_node, in drm_gem_create_mmap_offset_size() 1105 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_mmap() 1145 drm_vma_node_start(&obj->vma_node)); in drm_gem_print_info()
|
A D | drm_gem_ttm_helper.c | 142 *offset = drm_vma_node_offset_addr(&gem->vma_node); in drm_gem_ttm_dumb_map_offset()
|
A D | drm_gem_cma_helper.c | 337 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_cma_get_unmapped_area() 516 vma->vm_pgoff -= drm_vma_node_start(&obj->vma_node); in drm_gem_cma_mmap()
|
A D | drm_prime.c | 720 vma->vm_pgoff += drm_vma_node_start(&obj->vma_node); in drm_gem_prime_mmap() 746 ret = drm_vma_node_allow(&obj->vma_node, priv); in drm_gem_prime_mmap() 752 drm_vma_node_revoke(&obj->vma_node, priv); in drm_gem_prime_mmap()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_mman.c | 551 drm_vma_node_unmap(&mmo->vma_node, in i915_gem_object_release_mmap_offset() 602 &mmo->vma_node); in insert_mmo() 640 drm_vma_node_reset(&mmo->vma_node); in mmap_offset_attach() 643 &mmo->vma_node, obj->base.size / PAGE_SIZE); in mmap_offset_attach() 655 &mmo->vma_node, obj->base.size / PAGE_SIZE); in mmap_offset_attach() 664 drm_vma_node_allow(&mmo->vma_node, file); in mmap_offset_attach() 702 *offset = drm_vma_node_offset_addr(&mmo->vma_node); in __assign_mmap_offset() 923 mmo = container_of(node, struct i915_mmap_offset, vma_node); in i915_gem_mmap() 930 base.vma_node)); in i915_gem_mmap()
|
A D | i915_gem_object_types.h | 192 struct drm_vma_offset_node vma_node; member
|
A D | i915_gem_object.c | 187 drm_vma_node_revoke(&mmo->vma_node, file); in i915_gem_close_object() 242 &mmo->vma_node); in __i915_gem_object_free_mmaps()
|
A D | i915_gem_ttm.c | 878 GEM_BUG_ON(!drm_mm_node_allocated(&obj->base.vma_node.vm_node)); in i915_ttm_mmap_offset() 880 return drm_vma_node_offset_addr(&obj->base.vma_node); in i915_ttm_mmap_offset() 952 obj->base.vma_node.driver_private = i915_gem_to_ttm(obj); in __i915_gem_ttm_object_init()
|
/linux/drivers/gpu/drm/ttm/ |
A D | ttm_bo_vm.c | 224 vma->vm_pgoff - drm_vma_node_start(&bo->base.vma_node); in ttm_bo_vm_fault_reserved() 226 drm_vma_node_start(&bo->base.vma_node); in ttm_bo_vm_fault_reserved() 419 ((vma->vm_pgoff - drm_vma_node_start(&bo->base.vma_node)) in ttm_bo_vm_access()
|
A D | ttm_bo.c | 426 drm_vma_offset_remove(bdev->vma_manager, &bo->base.vma_node); in ttm_bo_release() 1000 ret = drm_vma_offset_add(bdev->vma_manager, &bo->base.vma_node, in ttm_bo_init_reserved() 1062 drm_vma_node_unmap(&bo->base.vma_node, bdev->dev_mapping); in ttm_bo_unmap_virtual()
|
/linux/include/drm/ |
A D | drm_gem.h | 235 struct drm_vma_offset_node vma_node; member
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_object.h | 133 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in radeon_bo_mmap_offset()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem.c | 285 return drm_vma_node_offset_addr(&obj->vma_node); in mmap_offset() 724 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in msm_gem_purge() 762 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in msm_gem_evict() 887 uint64_t off = drm_vma_node_start(&obj->vma_node); in msm_gem_describe()
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_bo.c | 210 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in v3d_mmap_bo_ioctl()
|
/linux/drivers/gpu/drm/virtio/ |
A D | virtgpu_gem.c | 112 *offset_p = drm_vma_node_offset_addr(&gobj->vma_node); in virtio_gpu_mode_dumb_mmap()
|
A D | virtgpu_vram.c | 48 vma->vm_pgoff -= drm_vma_node_start(&obj->vma_node); in virtio_gpu_vram_mmap()
|
/linux/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_gem.c | 209 *offset = drm_vma_node_offset_addr(&obj->vma_node); in etnaviv_gem_mmap_offset() 444 unsigned long off = drm_vma_node_start(&obj->vma_node); in etnaviv_gem_describe()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_object.h | 213 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in amdgpu_bo_mmap_offset()
|
A D | amdgpu_amdkfd_gpuvm.c | 1473 ret = drm_vma_node_allow(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1507 drm_vma_node_revoke(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1605 drm_vma_node_revoke(&mem->bo->tbo.base.vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() 1938 ret = drm_vma_node_allow(&obj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_import_dmabuf()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_bo.c | 296 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in vc4_bo_purge() 800 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in vc4_mmap_bo_ioctl()
|
/linux/drivers/gpu/drm/lima/ |
A D | lima_gem.c | 249 *offset = drm_vma_node_offset_addr(&obj->vma_node); in lima_gem_get_info()
|
/linux/drivers/gpu/drm/omapdrm/ |
A D | omap_gem.c | 148 return drm_vma_node_offset_addr(&obj->vma_node); in omap_gem_mmap_offset() 1043 off = drm_vma_node_start(&obj->vma_node); in omap_gem_describe()
|