Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_vram_helper.c178 struct drm_vram_mm *vmm = dev->vram_mm; in drm_gem_vram_init()
661 if (WARN_ONCE(!dev->vram_mm, "VRAM MM not initialized")) in drm_gem_vram_driver_dumb_create()
1019 struct drm_vram_mm *vmm = node->minor->dev->vram_mm; in drm_vram_mm_debugfs()
1084 if (WARN_ON(dev->vram_mm)) in drm_vram_helper_alloc_mm()
1085 return dev->vram_mm; in drm_vram_helper_alloc_mm()
1087 dev->vram_mm = kzalloc(sizeof(*dev->vram_mm), GFP_KERNEL); in drm_vram_helper_alloc_mm()
1088 if (!dev->vram_mm) in drm_vram_helper_alloc_mm()
1091 ret = drm_vram_mm_init(dev->vram_mm, dev, vram_base, vram_size); in drm_vram_helper_alloc_mm()
1095 return dev->vram_mm; in drm_vram_helper_alloc_mm()
1098 kfree(dev->vram_mm); in drm_vram_helper_alloc_mm()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_mm.c67 drm_mm_init(&dev_priv->vram_mm, 0, fb->size >> VIA_MM_ALIGN_SHIFT); in via_fb_init()
105 drm_mm_takedown(&dev_priv->vram_mm); in via_lastclose()
150 retval = drm_mm_insert_node(&dev_priv->vram_mm, in via_mem_alloc()
Dvia_drv.h102 struct drm_mm vram_mm; member
/kernel/linux/linux-5.10/drivers/gpu/drm/bochs/
Dbochs_mm.c20 if (!bochs->dev->vram_mm) in bochs_mm_fini()
/kernel/linux/linux-5.10/drivers/gpu/drm/sis/
Dsis_mm.c74 drm_mm_init(&dev_priv->vram_mm, 0, fb->size >> SIS_MM_ALIGN_SHIFT); in sis_fb_init()
125 retval = drm_mm_insert_node(&dev_priv->vram_mm, in sis_drm_alloc()
303 drm_mm_takedown(&dev_priv->vram_mm); in sis_lastclose()
Dsis_drv.h62 struct drm_mm vram_mm; member
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_ttm.c44 if (!hibmc->dev->vram_mm) in hibmc_mm_fini()
/kernel/linux/linux-5.10/include/drm/
Ddrm_device.h312 struct drm_vram_mm *vram_mm; member
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/
Dast_main.c451 if (dev->vram_mm->vram_size < pci_resource_len(dev->pdev, 0)) { in ast_device_create()
452 ast->dp501_fw_buf = pci_iomap_range(dev->pdev, 0, dev->vram_mm->vram_size, 0); in ast_device_create()