Searched refs:vma_offset_manager (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | igt_mmap.c | 24 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/ |
D | drm_gem.c | 86 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 …]
|
D | drm_gem_dma_helper.c | 355 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()
|
D | drm_gem_vram_helper.c | 1008 dev->vma_offset_manager, in drm_vram_mm_init()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 637 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()
|
D | i915_gem_object.c | 252 drm_vma_offset_remove(obj->base.dev->vma_offset_manager, in __i915_gem_object_free_mmaps()
|
/linux-6.1.9/include/drm/ |
D | drm_device.h | 275 struct drm_vma_offset_manager *vma_offset_manager; member
|
/linux-6.1.9/drivers/gpu/drm/omapdrm/ |
D | omap_debugfs.c | 40 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in mm_show()
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.c | 123 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/ |
D | intel_region_ttm.c | 38 drm->vma_offset_manager, false, false); in intel_region_ttm_device_init()
|
/linux-6.1.9/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 189 qdev->ddev.vma_offset_manager, in qxl_ttm_init()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_mman.c | 645 __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/ |
D | msm_debugfs.c | 235 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in msm_mm_show()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 309 dev->vma_offset_manager, need_swiotlb, in nouveau_ttm_init()
|
/linux-6.1.9/drivers/gpu/drm/tilcdc/ |
D | tilcdc_drv.c | 456 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in tilcdc_mm_show()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 697 rdev->ddev->vma_offset_manager, in radeon_ttm_init()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 1042 dev_priv->drm.vma_offset_manager, in vmw_driver_load()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 1688 adev_to_drm(adev)->vma_offset_manager, in amdgpu_ttm_init()
|