Searched refs:vma_offset_manager (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/ |
D | drm_gem.c | 87 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 …]
|
D | drm_gem_cma_helper.c | 357 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/ |
D | i915_gem_mman.c | 408 __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/ |
D | omap_debugfs.c | 39 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in mm_show()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.c | 122 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/ |
D | msm_debugfs.c | 131 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in msm_mm_show()
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_drv.c | 479 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in tilcdc_mm_show()
|