Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_page_dirty.c86 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 Dvmwgfx_bo.c494 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 Dvmwgfx_ttm_glue.c44 base.vma_node); in vmw_bo_vm_lookup()
/linux/drivers/gpu/drm/
A Ddrm_gem.c166 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 Ddrm_gem_ttm_helper.c142 *offset = drm_vma_node_offset_addr(&gem->vma_node); in drm_gem_ttm_dumb_map_offset()
A Ddrm_gem_cma_helper.c337 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 Ddrm_prime.c720 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 Di915_gem_mman.c551 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 Di915_gem_object_types.h192 struct drm_vma_offset_node vma_node; member
A Di915_gem_object.c187 drm_vma_node_revoke(&mmo->vma_node, file); in i915_gem_close_object()
242 &mmo->vma_node); in __i915_gem_object_free_mmaps()
A Di915_gem_ttm.c878 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 Dttm_bo_vm.c224 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 Dttm_bo.c426 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 Ddrm_gem.h235 struct drm_vma_offset_node vma_node; member
/linux/drivers/gpu/drm/radeon/
A Dradeon_object.h133 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in radeon_bo_mmap_offset()
/linux/drivers/gpu/drm/msm/
A Dmsm_gem.c285 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 Dv3d_bo.c210 args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); in v3d_mmap_bo_ioctl()
/linux/drivers/gpu/drm/virtio/
A Dvirtgpu_gem.c112 *offset_p = drm_vma_node_offset_addr(&gobj->vma_node); in virtio_gpu_mode_dumb_mmap()
A Dvirtgpu_vram.c48 vma->vm_pgoff -= drm_vma_node_start(&obj->vma_node); in virtio_gpu_vram_mmap()
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_gem.c209 *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 Damdgpu_object.h213 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in amdgpu_bo_mmap_offset()
A Damdgpu_amdkfd_gpuvm.c1473 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 Dvc4_bo.c296 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 Dlima_gem.c249 *offset = drm_vma_node_offset_addr(&obj->vma_node); in lima_gem_get_info()
/linux/drivers/gpu/drm/omapdrm/
A Domap_gem.c148 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()

Completed in 55 milliseconds

12