Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_gem.c87 struct drm_vma_offset_manager *vma_offset_manager; in drm_gem_init() local
92 vma_offset_manager = kzalloc(sizeof(*vma_offset_manager), GFP_KERNEL); in drm_gem_init()
93 if (!vma_offset_manager) { in drm_gem_init()
98 dev->vma_offset_manager = vma_offset_manager; in drm_gem_init()
99 drm_vma_offset_manager_init(vma_offset_manager, in drm_gem_init()
110 drm_vma_offset_manager_destroy(dev->vma_offset_manager); in drm_gem_destroy()
111 kfree(dev->vma_offset_manager); in drm_gem_destroy()
112 dev->vma_offset_manager = NULL; in drm_gem_destroy()
470 drm_vma_offset_remove(dev->vma_offset_manager, &obj->vma_node); in drm_gem_free_mmap_offset()
496 return drm_vma_offset_add(dev->vma_offset_manager, &obj->vma_node, in drm_gem_create_mmap_offset_size()
[all …]
Ddrm_gem_cma_helper.c357 drm_vma_offset_lock_lookup(dev->vma_offset_manager); in drm_gem_cma_get_unmapped_area()
358 node = drm_vma_offset_exact_lookup_locked(dev->vma_offset_manager, in drm_gem_cma_get_unmapped_area()
377 drm_vma_offset_unlock_lookup(dev->vma_offset_manager); in drm_gem_cma_get_unmapped_area()
/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_mman.c408 __acquires(&i915->drm.vma_offset_manager->vm_lock) in mmap_offset_lock()
410 write_lock(&i915->drm.vma_offset_manager->vm_lock); in mmap_offset_lock()
414 __releases(&i915->drm.vma_offset_manager->vm_lock) in mmap_offset_unlock()
416 write_unlock(&i915->drm.vma_offset_manager->vm_lock); in mmap_offset_unlock()
422 struct drm_mm *mm = &i915->drm.vma_offset_manager->vm_addr_space_mm; in igt_mmap_offset_exhaustion()
/drivers/gpu/drm/omapdrm/
Domap_debugfs.c39 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in mm_show()
/drivers/gpu/drm/etnaviv/
Detnaviv_drv.c122 read_lock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
123 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in etnaviv_mm_show()
124 read_unlock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
/drivers/gpu/drm/msm/
Dmsm_debugfs.c131 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in msm_mm_show()
/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c479 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in tilcdc_mm_show()