Home
last modified time | relevance | path

Searched refs:vram (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c41 struct nvkm_vram *vram = nvkm_vram(memory); in nvkm_vram_map() local
43 .memory = &vram->memory, in nvkm_vram_map()
45 .mem = vram->mn, in nvkm_vram_map()
60 struct nvkm_vram *vram = nvkm_vram(memory); in nvkm_vram_addr() local
61 if (!nvkm_mm_contiguous(vram->mn)) in nvkm_vram_addr()
63 return (u64)nvkm_mm_addr(vram->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_addr()
81 struct nvkm_vram *vram = nvkm_vram(memory); in nvkm_vram_dtor() local
82 struct nvkm_mm_node *next = vram->mn; in nvkm_vram_dtor()
84 mutex_lock(&vram->ram->fb->subdev.mutex); in nvkm_vram_dtor()
87 nvkm_mm_free(&vram->ram->vram, &node); in nvkm_vram_dtor()
[all …]
Drammcp77.c80 nvkm_mm_fini(&ram->base.vram); in mcp77_ram_new()
82 return nvkm_mm_init(&ram->base.vram, NVKM_RAM_MM_NORMAL, in mcp77_ram_new()
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/
Dmgag200_mm.c83 iounmap(mdev->vram); in mgag200_mm_release()
117 mdev->vram = ioremap(start, len); in mgag200_mm_init()
118 if (!mdev->vram) { in mgag200_mm_init()
123 mdev->mc.vram_size = mgag200_probe_vram(mdev, mdev->vram, len); in mgag200_mm_init()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsh7760fb.c377 unsigned long vram; in sh7760fb_alloc_mem() local
393 vram = info->var.xres * info->var.yres; in sh7760fb_alloc_mem()
396 vram >>= 3; in sh7760fb_alloc_mem()
398 vram >>= 2; in sh7760fb_alloc_mem()
400 vram >>= 1; in sh7760fb_alloc_mem()
402 vram *= 2; in sh7760fb_alloc_mem()
403 if ((vram < 1) || (vram > 1024 * 2048)) { in sh7760fb_alloc_mem()
408 if (vram < PAGE_SIZE) in sh7760fb_alloc_mem()
409 vram = PAGE_SIZE; in sh7760fb_alloc_mem()
411 fbmem = dma_alloc_coherent(info->dev, vram, &par->fbdma, GFP_KERNEL); in sh7760fb_alloc_mem()
[all …]
Dtmiofb.c266 const struct resource *vram = &cell->resources[2]; in tmiofb_hw_init() local
269 if (nlcr == NULL || vram == NULL) in tmiofb_hw_init()
290 base = vram->start + info->screen_size; in tmiofb_hw_init()
676 struct resource *vram = platform_get_resource(dev, IORESOURCE_MEM, 2); in tmiofb_probe() local
689 if (ccr == NULL || lcr == NULL || vram == NULL || irq < 0) { in tmiofb_probe()
715 info->fix.smem_start = vram->start; in tmiofb_probe()
716 info->fix.smem_len = resource_size(vram); in tmiofb_probe()
Dsm712fb.c1426 u8 vram; in sm7xx_vram_probe() local
1443 vram = inb_p(0x3c5) >> 6; in sm7xx_vram_probe()
1445 if (vram == 0x00) in sm7xx_vram_probe()
1447 else if (vram == 0x01) in sm7xx_vram_probe()
1449 else if (vram == 0x02) in sm7xx_vram_probe()
1451 else if (vram == 0x03) in sm7xx_vram_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_drv.c72 static char *vram = "16m"; variable
73 MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU)");
74 module_param(vram, charp, 0);
281 if (priv->vram.paddr) { in msm_drm_uninit()
283 drm_mm_takedown(&priv->vram.mm); in msm_drm_uninit()
284 dma_free_attrs(dev, priv->vram.size, NULL, in msm_drm_uninit()
285 priv->vram.paddr, attrs); in msm_drm_uninit()
362 DRM_INFO("using %s VRAM carveout\n", vram); in msm_init_vram()
363 size = memparse(vram, NULL); in msm_init_vram()
370 priv->vram.size = size; in msm_init_vram()
[all …]
Dmsm_gem.c29 priv->vram.paddr; in physaddr()
79 spin_lock(&priv->vram.lock); in get_pages_vram()
80 ret = drm_mm_insert_node(&priv->vram.mm, msm_obj->vram_node, npages); in get_pages_vram()
81 spin_unlock(&priv->vram.lock); in get_pages_vram()
142 spin_lock(&priv->vram.lock); in put_pages_vram()
144 spin_unlock(&priv->vram.lock); in put_pages_vram()
1051 else if ((flags & (MSM_BO_STOLEN | MSM_BO_SCANOUT)) && priv->vram.size) in _msm_gem_new()
1054 if (WARN_ON(use_vram && !priv->vram.size)) in _msm_gem_new()
/kernel/linux/linux-5.10/Documentation/fb/
Dintelfb.rst38 c. "vram=<value>"
99 append="video=intelfb:mode=800x600-32@75,accel,hwcursor,vram=8"
127 modprobe intelfb mode=800x600-32@75 vram=8 accel=1 hwcursor=1
131 options intelfb mode=800x600-32@75 vram=8 accel=1 hwcursor=1
/kernel/linux/linux-5.10/drivers/video/fbdev/geode/
Dgxfb_core.c36 static int vram; variable
251 info->fix.smem_len = vram ? vram : gx_frame_buffer_size(); in gxfb_map_video_memory()
529 module_param(vram, int, 0);
530 MODULE_PARM_DESC(vram, "video memory size");
Dlxfb_core.c28 static int vram; variable
355 info->fix.smem_len = vram ? vram : lx_framebuffer_size(); in lxfb_map_video_memory()
664 module_param(vram, int, 0);
665 MODULE_PARM_DESC(vram, "video memory size");
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Dcirrus.c58 void __iomem *vram; member
330 drm_fb_memcpy_dstclip(cirrus->vram, in cirrus_fb_blit_rect()
334 drm_fb_xrgb8888_to_rgb565_dstclip(cirrus->vram, in cirrus_fb_blit_rect()
339 drm_fb_xrgb8888_to_rgb888_dstclip(cirrus->vram, in cirrus_fb_blit_rect()
579 cirrus->vram = devm_ioremap(&pdev->dev, pci_resource_start(pdev, 0), in cirrus_pci_probe()
581 if (cirrus->vram == NULL) in cirrus_pci_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/
Detnaviv_dump.c197 struct etnaviv_vram_mapping *vram; in etnaviv_core_dump() local
202 vram = submit->bos[i].mapping; in etnaviv_core_dump()
216 iter.hdr->iova = cpu_to_le64(vram->iova); in etnaviv_core_dump()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_bo5039.c148 SET_CONTEXT_DMA_BUFFER_IN, chan->vram.handle, in nv50_bo_move_init()
149 SET_CONTEXT_DMA_BUFFER_OUT, chan->vram.handle); in nv50_bo_move_init()
Dnv50_fbcon.c209 PUSH_MTHD(push, NV502D, SET_DST_CONTEXT_DMA, chan->vram.handle, in nv50_fbcon_accel_init()
210 SET_SRC_CONTEXT_DMA, chan->vram.handle, in nv50_fbcon_accel_init()
211 SET_SEMAPHORE_CONTEXT_DMA, chan->vram.handle); in nv50_fbcon_accel_init()
Dnouveau_chan.h23 struct nvif_object vram; member
Dnv84_fence.c41 PUSH_MTHD(push, NV826F, SET_CONTEXT_DMA_SEMAPHORE, chan->vram.handle); in nv84_fence_emit32()
64 PUSH_MTHD(push, NV826F, SET_CONTEXT_DMA_SEMAPHORE, chan->vram.handle); in nv84_fence_sync32()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
Dvmm.c159 vmm->page[i].vram = args.vram; in nvif_vmm_ctor()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dif0008.h26 __u8 vram; member
Dvmm.h26 bool vram:1; member
Dif000c.h27 __u8 vram; member
/kernel/linux/linux-5.10/arch/arm64/boot/dts/arm/
Drtsm_ve-aemv8a.dts89 vram: vram@18000000 { label
Dvexpress-v2f-1xv7-ca53x2.dts74 vram: vram@18000000 { label
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
Domapfb_main.c1619 unsigned long vram; in omapfb_do_probe() local
1721 vram = 0; in omapfb_do_probe()
1729 vram += fbdev->mem_desc.region[i].size; in omapfb_do_probe()
1742 vram, fbdev->mem_desc.region_cnt); in omapfb_do_probe()
1849 unsigned long vram; in omapfb_setup() local
1850 vram = (simple_strtoul(this_opt + 5, &suffix, 0)); in omapfb_setup()
1856 vram *= 1024; in omapfb_setup()
1860 vram *= 1024; in omapfb_setup()
1867 def_vram[def_vram_cnt++] = vram; in omapfb_setup()
1915 module_param_array_named(vram, def_vram, ulong, &def_vram_cnt, 0664);
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dpriv.h23 int (*vram)(struct nvkm_mmu *, int type, u8 page, u64 size, member

1234