Home
last modified time | relevance | path

Searched refs:vram_size (Results 1 – 25 of 26) sorted by relevance

12

/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnv04_fb.c13 dev_priv->vram_size = ((boot0 >> 12) & 0xf) * 2 + 2; in nv04_fb_vram_init()
14 dev_priv->vram_size *= 1024 * 1024; in nv04_fb_vram_init()
18 dev_priv->vram_size = 32 * 1024 * 1024; in nv04_fb_vram_init()
21 dev_priv->vram_size = 16 * 1024 * 1024; in nv04_fb_vram_init()
24 dev_priv->vram_size = 8 * 1024 * 1024; in nv04_fb_vram_init()
27 dev_priv->vram_size = 4 * 1024 * 1024; in nv04_fb_vram_init()
Dnv50_vram.c170 if (predicted != dev_priv->vram_size) { in nv50_vram_rblock()
172 (u32)(dev_priv->vram_size >> 20)); in nv50_vram_rblock()
211 dev_priv->vram_size = nv_rd32(dev, 0x10020c); in nv50_vram_init()
212 dev_priv->vram_size |= (dev_priv->vram_size & 0xff) << 32; in nv50_vram_init()
213 dev_priv->vram_size &= 0xffffffff00ULL; in nv50_vram_init()
225 length = (dev_priv->vram_size >> 12) - rsvd_head - rsvd_tail; in nv50_vram_init()
Dnv50_evo.c303 0, dev_priv->vram_size, NULL); in nv50_evo_create()
308 0, dev_priv->vram_size, NULL); in nv50_evo_create()
314 0, dev_priv->vram_size, NULL); in nv50_evo_create()
320 0, dev_priv->vram_size, NULL); in nv50_evo_create()
355 0, dev_priv->vram_size, NULL); in nv50_evo_create()
362 0, dev_priv->vram_size, NULL); in nv50_evo_create()
369 0, dev_priv->vram_size, NULL); in nv50_evo_create()
Dnvc0_vram.c133 dev_priv->vram_size += (u64)psize << 20; in nvc0_vram_init()
140 length = (dev_priv->vram_size >> 12) - rsvd_head - rsvd_tail; in nvc0_vram_init()
151 length = (dev_priv->vram_size >> 12) - (bsize << 8) - rsvd_tail; in nvc0_vram_init()
Dnv10_fb.c59 dev_priv->vram_size = mib * 1024 * 1024; in nv1a_fb_vram_init()
70 dev_priv->vram_size = fifo_data & NV10_PFB_FIFO_DATA_RAM_AMOUNT_MB_MASK; in nv10_fb_vram_init()
Dnv40_fb.c115 dev_priv->vram_size = nv_rd32(dev, 0x10020c) & 0xff000000; in nv40_fb_vram_init()
Dnv20_fb.c106 dev_priv->vram_size = mem_size & 0xff000000; in nv20_fb_vram_init()
Dnouveau_debugfs.c144 seq_printf(m, "VRAM total: %dKiB\n", (int)(dev_priv->vram_size >> 10)); in nouveau_debugfs_memory_info()
Dnouveau_fbcon.c508 if (dev_priv->vram_size <= 32 * 1024 * 1024) in nouveau_fbcon_init()
510 else if (dev_priv->vram_size <= 64 * 1024 * 1024) in nouveau_fbcon_init()
Dnv40_fifo.c268 ((dev_priv->vram_size - 512 * 1024 + in nv40_fifo_init_ramxx()
Dnouveau_mem.c394 (int)(dev_priv->vram_size >> 20), vram_type->name); in nouveau_mem_vram_init()
400 dev_priv->fb_available_size = dev_priv->vram_size; in nouveau_mem_vram_init()
Dnvd0_display.c2078 nv_wo32(disp->mem, dmao + 0x28, (dev_priv->vram_size - 1) >> 8); in nvd0_display_create()
2088 nv_wo32(disp->mem, dmao + 0x48, (dev_priv->vram_size - 1) >> 8); in nvd0_display_create()
2098 nv_wo32(disp->mem, dmao + 0x68, (dev_priv->vram_size - 1) >> 8); in nvd0_display_create()
Dnouveau_bo.c152 int vram_pages = dev_priv->vram_size >> PAGE_SHIFT; in set_placement_range()
Dnouveau_drv.h813 uint64_t vram_size; member
/linux-3.4.99/arch/arm/mach-rpc/
Driscpc.c39 unsigned int vram_size; variable
50 vram_size += PAGE_SIZE * 256; in parse_tag_acorn()
52 vram_size += PAGE_SIZE * 256; in parse_tag_acorn()
57 if (vram_size) { in parse_tag_acorn()
59 desc->video_end = 0x02000000 + vram_size; in parse_tag_acorn()
/linux-3.4.99/drivers/video/omap/
Dlcdc.c80 unsigned long vram_size; member
621 kvma = get_vm_area(lcdc.vram_size, VM_IOREMAP); in mmap_kern()
630 vma.vm_end = vaddr + lcdc.vram_size; in mmap_kern()
635 lcdc.vram_size, pgprot) < 0) { in mmap_kern()
681 lcdc.vram_size = frame_size; in alloc_fbmem()
683 lcdc.vram_size, &lcdc.vram_phys, GFP_KERNEL); in alloc_fbmem()
693 memset(lcdc.vram_virt, 0, lcdc.vram_size); in alloc_fbmem()
700 dma_free_writecombine(lcdc.fbdev->dev, lcdc.vram_size, in free_fbmem()
726 lcdc.vram_size = req_md->region[0].size; in setup_fbmem()
732 lcdc.vram_phys, lcdc.vram_size, lcdc.vram_virt); in setup_fbmem()
/linux-3.4.99/drivers/video/
Dda8xx-fb.c150 unsigned long vram_size; member
930 dma_free_coherent(NULL, par->vram_size, par->vram_virt, in fb_remove()
1211 par->vram_size = lcdc_info->width * lcdc_info->height * lcd_cfg->bpp; in fb_probe()
1212 par->vram_size = PAGE_ALIGN(par->vram_size/8); in fb_probe()
1213 par->vram_size = par->vram_size * LCD_NUM_BUFFERS; in fb_probe()
1216 par->vram_size, in fb_probe()
1228 da8xx_fb_fix.smem_len = par->vram_size; in fb_probe()
1342 dma_free_coherent(NULL, par->vram_size, par->vram_virt, par->vram_phys); in fb_probe()
Dacornfb.c107 extern unsigned int vram_size; /* set by setup.c */
1274 if (vram_size && !current_par.dram_size) { in acornfb_probe()
1275 size = vram_size; in acornfb_probe()
1276 current_par.vram_half_sam = vram_size / 1024; in acornfb_probe()
/linux-3.4.99/drivers/video/aty/
Daty128fb.c406 u32 vram_size; /* onboard video ram */ member
1060 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { in aty128_var_to_crtc()
1894 if (par->vram_size % (1024 * 1024) == 0) in aty128_init()
1895 printk("%dM %s\n", par->vram_size / (1024*1024), par->mem->name); in aty128_init()
1897 printk("%dk %s\n", par->vram_size / 1024, par->mem->name); in aty128_init()
2071 par->vram_size = aty_ld_le32(CNFG_MEMSIZE) & 0x03FFFFFF; in aty128_probe()
2074 info->screen_base = ioremap(fb_addr, par->vram_size); in aty128_probe()
2081 info->fix.smem_len = par->vram_size; in aty128_probe()
2114 par->vram_size, MTRR_TYPE_WRCOMB, 1); in aty128_probe()
2156 par->vram_size); in aty128_remove()
/linux-3.4.99/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c482 dev_priv->vram_size = vmw_read(dev_priv, SVGA_REG_VRAM_SIZE); in vmw_driver_load()
501 dev_priv->memory_size -= dev_priv->vram_size; in vmw_driver_load()
527 dev_priv->vram_start, dev_priv->vram_size / 1024); in vmw_driver_load()
551 (dev_priv->vram_size >> PAGE_SHIFT)); in vmw_driver_load()
Dvmwgfx_ioctl.c56 param->value = dev_priv->vram_size; in vmw_getparam_ioctl()
Dvmwgfx_drv.h201 uint32_t vram_size; member
Dvmwgfx_fb.c524 info->apertures->ranges[0].size = vmw_priv->vram_size; in vmw_fb_init()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_gem.c171 args->vram_size = rdev->mc.real_vram_size; in radeon_gem_info_ioctl()
/linux-3.4.99/include/drm/
Dradeon_drm.h793 uint64_t vram_size; member

12