/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
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() 533 drm_vma_node_start(&bo->base.vma_node); in vmw_bo_vm_huge_fault()
|
D | vmwgfx_bo.c | 852 rep->map_handle = drm_vma_node_offset_addr(&vbo->base.base.vma_node); in vmw_bo_alloc_ioctl() 1094 *offset = drm_vma_node_offset_addr(&out_buf->base.base.vma_node); in vmw_dumb_map_offset()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem.c | 165 drm_vma_node_reset(&obj->vma_node); in drm_gem_private_object_init() 258 drm_vma_node_revoke(&obj->vma_node, file_priv); in drm_gem_object_release_handle() 332 *offset = drm_vma_node_offset_addr(&obj->vma_node); in drm_gem_dumb_map_offset() 402 ret = drm_vma_node_allow(&obj->vma_node, file_priv); in drm_gem_handle_create_tail() 420 drm_vma_node_revoke(&obj->vma_node, file_priv); in drm_gem_handle_create_tail() 469 drm_vma_offset_remove(dev->vma_offset_manager, &obj->vma_node); in drm_gem_free_mmap_offset() 495 return drm_vma_offset_add(dev->vma_offset_manager, &obj->vma_node, in drm_gem_create_mmap_offset_size() 1147 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_mmap() 1196 drm_vma_node_start(&obj->vma_node)); in drm_gem_print_info()
|
D | drm_prime.c | 720 vma->vm_pgoff += drm_vma_node_start(&obj->vma_node); in drm_gem_prime_mmap() 742 ret = drm_vma_node_allow(&obj->vma_node, priv); in drm_gem_prime_mmap() 748 drm_vma_node_revoke(&obj->vma_node, priv); in drm_gem_prime_mmap()
|
D | drm_gem_cma_helper.c | 362 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_cma_get_unmapped_area()
|
D | drm_gem_shmem_helper.c | 437 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in drm_gem_shmem_purge_locked()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 518 drm_vma_node_unmap(&mmo->vma_node, in i915_gem_object_release_mmap_offset() 569 &mmo->vma_node); in insert_mmo() 605 drm_vma_node_reset(&mmo->vma_node); in mmap_offset_attach() 608 &mmo->vma_node, obj->base.size / PAGE_SIZE); in mmap_offset_attach() 619 &mmo->vma_node, obj->base.size / PAGE_SIZE); in mmap_offset_attach() 628 drm_vma_node_allow(&mmo->vma_node, file); in mmap_offset_attach() 669 *offset = drm_vma_node_offset_addr(&mmo->vma_node); in __assign_mmap_offset() 863 mmo = container_of(node, struct i915_mmap_offset, vma_node); in i915_gem_mmap()
|
D | i915_gem_object.c | 134 drm_vma_node_revoke(&mmo->vma_node, file); in i915_gem_close_object() 190 &mmo->vma_node); in __i915_gem_object_free_mmaps()
|
D | i915_gem_object_types.h | 78 struct drm_vma_offset_node vma_node; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 326 vma->vm_pgoff - drm_vma_node_start(&bo->base.vma_node); in ttm_bo_vm_fault_reserved() 328 drm_vma_node_start(&bo->base.vma_node); in ttm_bo_vm_fault_reserved() 369 page->index = drm_vma_node_start(&bo->base.vma_node) + in ttm_bo_vm_fault_reserved() 490 ((vma->vm_pgoff - drm_vma_node_start(&bo->base.vma_node)) in ttm_bo_vm_access() 540 base.vma_node); in ttm_bo_vm_lookup()
|
D | ttm_bo.c | 530 drm_vma_offset_remove(bdev->vma_manager, &bo->base.vma_node); in ttm_bo_release() 1190 drm_vma_node_reset(&bo->base.vma_node); in ttm_bo_init_reserved() 1200 ret = drm_vma_offset_add(bdev->vma_manager, &bo->base.vma_node, in ttm_bo_init_reserved() 1477 drm_vma_node_unmap(&bo->base.vma_node, bdev->dev_mapping); in ttm_bo_unmap_virtual()
|
D | ttm_bo_util.c | 370 drm_vma_node_reset(&fbo->base.base.vma_node); in ttm_buffer_object_transfer()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_object.h | 58 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in qxl_bo_mmap_offset()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_gem.h | 234 struct drm_vma_offset_node vma_node; member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dma_buf.c | 116 ret = drm_vma_node_allow(&obj->vma_node, vma->vm_file->private_data); in amdgpu_gem_prime_mmap() 121 drm_vma_node_revoke(&obj->vma_node, vma->vm_file->private_data); in amdgpu_gem_prime_mmap()
|
D | amdgpu_object.h | 200 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in amdgpu_bo_mmap_offset()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
D | v3d_bo.c | 210 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in v3d_mmap_bo_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_mman.c | 868 addr = igt_mmap_node(i915, &mmo->vma_node, 0, PROT_WRITE, MAP_SHARED); in __igt_mmap() 1006 addr = igt_mmap_node(i915, &mmo->vma_node, 0, PROT_WRITE, MAP_SHARED); in __igt_mmap_access() 1119 addr = igt_mmap_node(i915, &mmo->vma_node, 0, PROT_WRITE, MAP_SHARED); in __igt_mmap_gpu() 1295 addr = igt_mmap_node(i915, &mmo->vma_node, 0, PROT_WRITE, MAP_SHARED); in __igt_mmap_revoke()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/ |
D | virtgpu_gem.c | 104 *offset_p = drm_vma_node_offset_addr(&gobj->vma_node); in virtio_gpu_mode_dumb_mmap()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem.c | 220 *offset = drm_vma_node_offset_addr(&obj->vma_node); in etnaviv_gem_mmap_offset() 457 unsigned long off = drm_vma_node_start(&obj->vma_node); in etnaviv_gem_describe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_gem.c | 304 return drm_vma_node_offset_addr(&obj->vma_node); in mmap_offset() 672 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in msm_gem_purge() 815 uint64_t off = drm_vma_node_start(&obj->vma_node); in msm_gem_describe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_gem.c | 249 *offset = drm_vma_node_offset_addr(&obj->vma_node); in lima_gem_get_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_bo.c | 294 drm_vma_node_unmap(&obj->vma_node, dev->anon_inode->i_mapping); in vc4_bo_purge() 855 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in vc4_mmap_bo_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
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()
|