Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
A Ddrm_gem_vram_helper.c1020 return dev->vram_mm; in drm_vram_helper_alloc_mm()
1022 dev->vram_mm = kzalloc(sizeof(*dev->vram_mm), GFP_KERNEL); in drm_vram_helper_alloc_mm()
1023 if (!dev->vram_mm) in drm_vram_helper_alloc_mm()
1030 return dev->vram_mm; in drm_vram_helper_alloc_mm()
1033 kfree(dev->vram_mm); in drm_vram_helper_alloc_mm()
1034 dev->vram_mm = NULL; in drm_vram_helper_alloc_mm()
1040 if (!dev->vram_mm) in drm_vram_helper_release_mm()
1044 kfree(dev->vram_mm); in drm_vram_helper_release_mm()
1045 dev->vram_mm = NULL; in drm_vram_helper_release_mm()
1077 if (IS_ERR(vram_mm)) in drmm_vram_helper_init()
[all …]
/linux/drivers/gpu/drm/via/
A Dvia_mm.c66 drm_mm_init(&dev_priv->vram_mm, 0, fb->size >> VIA_MM_ALIGN_SHIFT); in via_fb_init()
104 drm_mm_takedown(&dev_priv->vram_mm); in via_lastclose()
149 retval = drm_mm_insert_node(&dev_priv->vram_mm, in via_mem_alloc()
A Dvia_drv.h102 struct drm_mm vram_mm; member
/linux/drivers/gpu/drm/sis/
A 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()
A Dsis_drv.h62 struct drm_mm vram_mm; member
/linux/drivers/gpu/drm/ast/
A Dast_main.c460 if (dev->vram_mm->vram_size < pci_resource_len(pdev, 0)) { in ast_device_create()
461 ast->dp501_fw_buf = pci_iomap_range(pdev, 0, dev->vram_mm->vram_size, 0); in ast_device_create()
/linux/include/drm/
A Ddrm_device.h281 struct drm_vram_mm *vram_mm; member

Completed in 13 milliseconds