Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A 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()
/openbmc/linux/drivers/gpu/drm/
H A 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()
450 drm_vma_offset_remove(dev->vma_offset_manager, &obj->vma_node); in drm_gem_free_mmap_offset()
476 return drm_vma_offset_add(dev->vma_offset_manager, &obj->vma_node, in drm_gem_create_mmap_offset_size()
1110 drm_vma_offset_lock_lookup(dev->vma_offset_manager); in drm_gem_mmap()
1111 node = drm_vma_offset_exact_lookup_locked(dev->vma_offset_manager, in drm_gem_mmap()
[all …]
H A 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()
H A Ddrm_gem_vram_helper.c1007 dev->vma_offset_manager, in drm_vram_mm_init()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.c254 adev->xcp_mgr->xcp[i].vma_offset_manager = p_ddev->vma_offset_manager; in amdgpu_xcp_dev_alloc()
257 p_ddev->vma_offset_manager = ddev->vma_offset_manager; in amdgpu_xcp_dev_alloc()
364 p_ddev->vma_offset_manager = adev->xcp_mgr->xcp[i].vma_offset_manager; in amdgpu_xcp_dev_unplug()
H A Damdgpu_xcp.h85 struct drm_vma_offset_manager *vma_offset_manager; member
H A Damdgpu_ttm.c1839 adev_to_drm(adev)->vma_offset_manager, in amdgpu_ttm_init()
/openbmc/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_device_test.c109 vma_man = drm->vma_offset_manager; in ttm_device_init_no_vma_man()
110 drm->vma_offset_manager = NULL; in ttm_device_init_no_vma_man()
116 drm->vma_offset_manager = vma_man; in ttm_device_init_no_vma_man()
H A Dttm_kunit_helpers.c21 drm->vma_offset_manager, in ttm_device_kunit_init()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.c647 drm_vma_offset_remove(obj->base.dev->vma_offset_manager, in insert_mmo()
688 err = drm_vma_offset_add(obj->base.dev->vma_offset_manager, in mmap_offset_attach()
700 err = drm_vma_offset_add(obj->base.dev->vma_offset_manager, in mmap_offset_attach()
1036 drm_vma_offset_lock_lookup(dev->vma_offset_manager); in i915_gem_mmap()
1037 node = drm_vma_offset_exact_lookup_locked(dev->vma_offset_manager, in i915_gem_mmap()
1059 drm_vma_offset_unlock_lookup(dev->vma_offset_manager); in i915_gem_mmap()
H A Di915_gem_object.c316 drm_vma_offset_remove(obj->base.dev->vma_offset_manager, in __i915_gem_object_free_mmaps()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_debugfs.c40 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in mm_show()
/openbmc/linux/include/drm/
H A Ddrm_device.h291 struct drm_vma_offset_manager *vma_offset_manager; member
/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_debugfs.c39 drm_mm_print(&ddev->vma_offset_manager->vm_addr_space_mm, &p); in lsdc_show_mm()
H A Dlsdc_ttm.c553 ddev->vma_offset_manager, false, true); in lsdc_ttm_init()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.c132 read_lock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
133 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in etnaviv_mm_show()
134 read_unlock(&dev->vma_offset_manager->vm_lock); in etnaviv_mm_show()
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_region_ttm.c37 drm->vma_offset_manager, false, false); in intel_region_ttm_device_init()
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c200 qdev->ddev.vma_offset_manager, in qxl_ttm_init()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_debugfs.c236 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in msm_mm_show()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c304 dev->vma_offset_manager, in nouveau_ttm_init()
/openbmc/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_drv.c458 drm_mm_print(&dev->vma_offset_manager->vm_addr_space_mm, &p); in tilcdc_mm_show()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c693 rdev->ddev->vma_offset_manager, in radeon_ttm_init()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c1046 dev_priv->drm.vma_offset_manager, in vmw_driver_load()