Home
last modified time | relevance | path

Searched refs:vram_mm (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/
Ddrm_gem_vram_helper.c193 struct drm_vram_mm *vmm = dev->vram_mm; in drm_gem_vram_create()
612 if (WARN_ONCE(!dev->vram_mm, "VRAM MM not initialized")) in drm_gem_vram_driver_dumb_create()
972 struct drm_vram_mm *vmm = entry->dev->vram_mm; in drm_vram_mm_debugfs()
1035 if (WARN_ON(dev->vram_mm)) in drm_vram_helper_alloc_mm()
1036 return dev->vram_mm; in drm_vram_helper_alloc_mm()
1038 dev->vram_mm = kzalloc(sizeof(*dev->vram_mm), GFP_KERNEL); in drm_vram_helper_alloc_mm()
1039 if (!dev->vram_mm) in drm_vram_helper_alloc_mm()
1042 ret = drm_vram_mm_init(dev->vram_mm, dev, vram_base, vram_size); in drm_vram_helper_alloc_mm()
1046 return dev->vram_mm; in drm_vram_helper_alloc_mm()
1049 kfree(dev->vram_mm); in drm_vram_helper_alloc_mm()
[all …]
/linux-6.6.21/include/drm/
Ddrm_device.h294 struct drm_vram_mm *vram_mm; member