Searched refs:vram_mm (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 192 struct drm_vram_mm *vmm = dev->vram_mm; in drm_gem_vram_create() 623 if (WARN_ONCE(!dev->vram_mm, "VRAM MM not initialized")) in drm_gem_vram_driver_dumb_create() 972 struct drm_vram_mm *vmm = node->minor->dev->vram_mm; in drm_vram_mm_debugfs() 1036 if (WARN_ON(dev->vram_mm)) in drm_vram_helper_alloc_mm() 1037 return dev->vram_mm; in drm_vram_helper_alloc_mm() 1039 dev->vram_mm = kzalloc(sizeof(*dev->vram_mm), GFP_KERNEL); in drm_vram_helper_alloc_mm() 1040 if (!dev->vram_mm) in drm_vram_helper_alloc_mm() 1043 ret = drm_vram_mm_init(dev->vram_mm, dev, vram_base, vram_size); in drm_vram_helper_alloc_mm() 1047 return dev->vram_mm; in drm_vram_helper_alloc_mm() 1050 kfree(dev->vram_mm); in drm_vram_helper_alloc_mm() [all …]
|
/linux-6.1.9/drivers/gpu/drm/sis/ |
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()
|
D | sis_drv.h | 62 struct drm_mm vram_mm; member
|
/linux-6.1.9/include/drm/ |
D | drm_device.h | 278 struct drm_vram_mm *vram_mm; member
|
/linux-6.1.9/drivers/gpu/drm/ast/ |
D | ast_main.c | 464 if (dev->vram_mm->vram_size < pci_resource_len(pdev, 0)) { in ast_device_create() 465 ast->dp501_fw_buf = pci_iomap_range(pdev, 0, dev->vram_mm->vram_size, 0); in ast_device_create()
|
/linux-6.1.9/drivers/gpu/drm/via/ |
D | via_dri1.c | 184 struct drm_mm vram_mm; member 2596 drm_mm_init(&dev_priv->vram_mm, 0, fb->size >> VIA_MM_ALIGN_SHIFT); in via_fb_init() 2634 drm_mm_takedown(&dev_priv->vram_mm); in via_lastclose() 2679 retval = drm_mm_insert_node(&dev_priv->vram_mm, in via_mem_alloc()
|