Searched refs:vram_mm (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/gpu/drm/ |
A D | drm_gem_vram_helper.c | 1020 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 D | via_mm.c | 66 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 D | via_drv.h | 102 struct drm_mm vram_mm; member
|
/linux/drivers/gpu/drm/sis/ |
A D | sis_mm.c | 74 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 D | sis_drv.h | 62 struct drm_mm vram_mm; member
|
/linux/drivers/gpu/drm/ast/ |
A D | ast_main.c | 460 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 D | drm_device.h | 281 struct drm_vram_mm *vram_mm; member
|
Completed in 13 milliseconds