Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
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()
533 drm_vma_node_start(&bo->base.vma_node); in vmw_bo_vm_huge_fault()
Dvmwgfx_bo.c852 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/
Ddrm_gem.c165 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()
Ddrm_prime.c720 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()
Ddrm_gem_cma_helper.c362 obj = container_of(node, struct drm_gem_object, vma_node); in drm_gem_cma_get_unmapped_area()
Ddrm_gem_shmem_helper.c437 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/
Di915_gem_mman.c518 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()
Di915_gem_object.c134 drm_vma_node_revoke(&mmo->vma_node, file); in i915_gem_close_object()
190 &mmo->vma_node); in __i915_gem_object_free_mmaps()
Di915_gem_object_types.h78 struct drm_vma_offset_node vma_node; member
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo_vm.c326 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()
Dttm_bo.c530 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()
Dttm_bo_util.c370 drm_vma_node_reset(&fbo->base.base.vma_node); in ttm_buffer_object_transfer()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_object.h58 return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); in qxl_bo_mmap_offset()
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem.h234 struct drm_vma_offset_node vma_node; member
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_object.h133 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/
Damdgpu_dma_buf.c116 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()
Damdgpu_object.h200 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/
Dv3d_bo.c210 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/
Di915_gem_mman.c868 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/
Dvirtgpu_gem.c104 *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/
Detnaviv_gem.c220 *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/
Dmsm_gem.c304 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/
Dlima_gem.c249 *offset = drm_vma_node_offset_addr(&obj->vma_node); in lima_gem_get_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_bo.c294 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/
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()

12