Home
last modified time | relevance | path

Searched refs:vma_offset_manager (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Digt_mmap.c24 drm_vma_offset_lock_lookup(i915->drm.vma_offset_manager); in igt_mmap_offset()
25 node = drm_vma_offset_exact_lookup_locked(i915->drm.vma_offset_manager, in igt_mmap_offset()
27 drm_vma_offset_unlock_lookup(i915->drm.vma_offset_manager); in igt_mmap_offset()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_gem.c86 drm_vma_offset_manager_destroy(dev->vma_offset_manager); in drm_gem_init_release()
96 struct drm_vma_offset_manager *vma_offset_manager; in drm_gem_init() local
101 vma_offset_manager = drmm_kzalloc(dev, sizeof(*vma_offset_manager), in drm_gem_init()
103 if (!vma_offset_manager) { in drm_gem_init()
108 dev->vma_offset_manager = vma_offset_manager; in drm_gem_init()
109 drm_vma_offset_manager_init(vma_offset_manager, in drm_gem_init()
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()
1089 drm_vma_offset_lock_lookup(dev->vma_offset_manager); in drm_gem_mmap()
1090 node = drm_vma_offset_exact_lookup_locked(dev->vma_offset_manager, in drm_gem_mmap()
[all …]
Ddrm_gem_dma_helper.c355 drm_vma_offset_lock_lookup(dev->vma_offset_manager); in drm_gem_dma_get_unmapped_area()
356 node = drm_vma_offset_exact_lookup_locked(dev->vma_offset_manager, in drm_gem_dma_get_unmapped_area()
375 drm_vma_offset_unlock_lookup(dev->vma_offset_manager); in drm_gem_dma_get_unmapped_area()
Ddrm_gem_vram_helper.c1008 dev->vma_offset_manager, in drm_vram_mm_init()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c637 drm_vma_offset_remove(obj->base.dev->vma_offset_manager, in insert_mmo()
678 err = drm_vma_offset_add(obj->base.dev->vma_offset_manager, in mmap_offset_attach()
690 err = drm_vma_offset_add(obj->base.dev->vma_offset_manager, in mmap_offset_attach()
949 drm_vma_offset_lock_lookup(dev->vma_offset_manager); in i915_gem_mmap()
950 node = drm_vma_offset_exact_lookup_locked(dev->vma_offset_manager, in i915_gem_mmap()
972 drm_vma_offset_unlock_lookup(dev->vma_offset_manager); in i915_gem_mmap()
Di915_gem_object.c252 drm_vma_offset_remove(obj->base.dev->vma_offset_manager, in __i915_gem_object_free_mmaps()
/linux-6.1.9/include/drm/
Ddrm_device.h275 struct drm_vma_offset_manager *vma_offset_manager; member
/linux-6.1.9/drivers/gpu/drm/omapdrm/
Domap_debugfs.c40 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in mm_show()
/linux-6.1.9/drivers/gpu/drm/etnaviv/
Detnaviv_drv.c123 read_lock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
124 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in etnaviv_mm_show()
125 read_unlock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_region_ttm.c38 drm->vma_offset_manager, false, false); in intel_region_ttm_device_init()
/linux-6.1.9/drivers/gpu/drm/qxl/
Dqxl_ttm.c189 qdev->ddev.vma_offset_manager, in qxl_ttm_init()
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_mman.c645 __acquires(&i915->drm.vma_offset_manager->vm_lock) in mmap_offset_lock()
647 write_lock(&i915->drm.vma_offset_manager->vm_lock); in mmap_offset_lock()
651 __releases(&i915->drm.vma_offset_manager->vm_lock) in mmap_offset_unlock()
653 write_unlock(&i915->drm.vma_offset_manager->vm_lock); in mmap_offset_unlock()
659 struct drm_mm *mm = &i915->drm.vma_offset_manager->vm_addr_space_mm; in igt_mmap_offset_exhaustion()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_debugfs.c235 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in msm_mm_show()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c309 dev->vma_offset_manager, need_swiotlb, in nouveau_ttm_init()
/linux-6.1.9/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c456 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in tilcdc_mm_show()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_ttm.c697 rdev->ddev->vma_offset_manager, in radeon_ttm_init()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c1042 dev_priv->drm.vma_offset_manager, in vmw_driver_load()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c1688 adev_to_drm(adev)->vma_offset_manager, in amdgpu_ttm_init()