Lines Matching refs:vram
72 static char *vram = "16m";
73 MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU)");
74 module_param(vram, charp, 0);
281 if (priv->vram.paddr) {
283 drm_mm_takedown(&priv->vram.mm);
284 dma_free_attrs(dev, priv->vram.size, NULL,
285 priv->vram.paddr, attrs);
331 * phandle, which gives us a link to our "vram". Allocating
362 DRM_INFO("using %s VRAM carveout\n", vram);
363 size = memparse(vram, NULL);
370 priv->vram.size = size;
372 drm_mm_init(&priv->vram.mm, 0, (size >> PAGE_SHIFT) - 1);
373 spin_lock_init(&priv->vram.lock);
382 &priv->vram.paddr, GFP_KERNEL, attrs);
385 priv->vram.paddr = 0;
390 (uint32_t)priv->vram.paddr,
391 (uint32_t)(priv->vram.paddr + size));