Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/ast/
Dast_mm.c40 u32 vram_size; in ast_get_vram_size() local
44 vram_size = AST_VIDMEM_DEFAULT_SIZE; in ast_get_vram_size()
48 vram_size = AST_VIDMEM_SIZE_8M; in ast_get_vram_size()
51 vram_size = AST_VIDMEM_SIZE_16M; in ast_get_vram_size()
54 vram_size = AST_VIDMEM_SIZE_32M; in ast_get_vram_size()
57 vram_size = AST_VIDMEM_SIZE_64M; in ast_get_vram_size()
64 vram_size -= 0x100000; in ast_get_vram_size()
67 vram_size -= 0x200000; in ast_get_vram_size()
70 vram_size -= 0x400000; in ast_get_vram_size()
74 return vram_size; in ast_get_vram_size()
[all …]
Dast_main.c451 if (dev->vram_mm->vram_size < pci_resource_len(dev->pdev, 0)) { in ast_device_create()
452 ast->dp501_fw_buf = pci_iomap_range(dev->pdev, 0, dev->vram_mm->vram_size, 0); in ast_device_create()
Dast_post.c403 u32 vram_size; member
1083 switch (param->vram_size) { in get_ddr3_info()
1454 switch (param->vram_size) { in get_ddr2_info()
1646 param.vram_size = AST_VIDMEM_SIZE_8M; in ast_post_chip_2300()
1650 param.vram_size = AST_VIDMEM_SIZE_16M; in ast_post_chip_2300()
1654 param.vram_size = AST_VIDMEM_SIZE_32M; in ast_post_chip_2300()
1658 param.vram_size = AST_VIDMEM_SIZE_64M; in ast_post_chip_2300()
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/
Dmgag200_mm.c42 size_t vram_size; in mgag200_probe_vram() local
48 vram_size = size; in mgag200_probe_vram()
50 if ((mdev->type == G200_EW3) && (vram_size >= 0x1000000)) in mgag200_probe_vram()
51 vram_size = vram_size - 0x400000; in mgag200_probe_vram()
53 for (offset = 0x100000; offset < vram_size; offset += 0x4000) { in mgag200_probe_vram()
123 mdev->mc.vram_size = mgag200_probe_vram(mdev, mdev->vram, len); in mgag200_mm_init()
127 mdev->vram_fb_available = mdev->mc.vram_size; in mgag200_mm_init()
Dmgag200_drv.h144 resource_size_t vram_size; member
/kernel/linux/linux-5.10/arch/arm/mach-rpc/
Driscpc.c37 unsigned int vram_size; variable
48 vram_size += PAGE_SIZE * 256; in parse_tag_acorn()
51 vram_size += PAGE_SIZE * 256; in parse_tag_acorn()
56 if (vram_size) { in parse_tag_acorn()
58 desc->video_end = 0x02000000 + vram_size; in parse_tag_acorn()
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem_vram_helper.h176 size_t vram_size; member
202 struct drm_device *dev, uint64_t vram_base, size_t vram_size);
206 size_t vram_size);
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_vram_helper.c1046 uint64_t vram_base, size_t vram_size) in drm_vram_mm_init() argument
1051 vmm->vram_size = vram_size; in drm_vram_mm_init()
1061 false, vram_size >> PAGE_SHIFT); in drm_vram_mm_init()
1080 struct drm_device *dev, uint64_t vram_base, size_t vram_size) in drm_vram_helper_alloc_mm() argument
1091 ret = drm_vram_mm_init(dev->vram_mm, dev, vram_base, vram_size); in drm_vram_helper_alloc_mm()
1136 size_t vram_size) in drmm_vram_helper_init() argument
1143 vram_mm = drm_vram_helper_alloc_mm(dev, vram_base, vram_size); in drmm_vram_helper_init()
1165 max_fbpages = (vmm->vram_size / 2) >> PAGE_SHIFT; in drm_vram_helper_mode_valid_internal()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
Dlcdc.c66 unsigned long vram_size; member
631 lcdc.vram_size = frame_size; in alloc_fbmem()
632 lcdc.vram_virt = dma_alloc_wc(lcdc.fbdev->dev, lcdc.vram_size, in alloc_fbmem()
643 memset(lcdc.vram_virt, 0, lcdc.vram_size); in alloc_fbmem()
650 dma_free_wc(lcdc.fbdev->dev, lcdc.vram_size, lcdc.vram_virt, in free_fbmem()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dda8xx-fb.c146 unsigned long vram_size; member
1013 if (line_size * var->yres_virtual > par->vram_size) in fb_check_var()
1014 var->yres_virtual = par->vram_size / line_size; in fb_check_var()
1421 par->vram_size = lcdc_info->xres * lcdc_info->yres * lcd_cfg->bpp; in fb_probe()
1423 par->vram_size = roundup(par->vram_size/8, ulcm); in fb_probe()
1424 par->vram_size = par->vram_size * LCD_NUM_BUFFERS; in fb_probe()
1427 par->vram_size, in fb_probe()
1439 da8xx_fb_fix.smem_len = par->vram_size; in fb_probe()
Dacornfb.c95 extern unsigned int vram_size; /* set by setup.c */
1013 if (vram_size && !current_par.dram_size) { in acornfb_probe()
1014 size = vram_size; in acornfb_probe()
1015 current_par.vram_half_sam = vram_size / 1024; in acornfb_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Daty128fb.c442 u32 vram_size; /* onboard video ram */ member
1092 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { in aty128_var_to_crtc()
1921 if (par->vram_size % (1024 * 1024) == 0) in aty128_init()
1922 printk("%dM %s\n", par->vram_size / (1024*1024), par->mem->name); in aty128_init()
1924 printk("%dk %s\n", par->vram_size / 1024, par->mem->name); in aty128_init()
2096 par->vram_size = aty_ld_le32(CNFG_MEMSIZE) & 0x03FFFFFF; in aty128_probe()
2099 info->screen_base = ioremap_wc(fb_addr, par->vram_size); in aty128_probe()
2106 info->fix.smem_len = par->vram_size; in aty128_probe()
2138 par->vram_size); in aty128_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c630 dev_priv->vram_size >> PAGE_SHIFT); in vmw_vram_manager_init()
720 dev_priv->vram_size = vmw_read(dev_priv, SVGA_REG_VRAM_SIZE); in vmw_driver_load()
734 dev_priv->memory_size -= dev_priv->vram_size; in vmw_driver_load()
784 dev_priv->prim_bb_mem = dev_priv->vram_size; in vmw_driver_load()
809 dev_priv->vram_start, dev_priv->vram_size / 1024); in vmw_driver_load()
Dvmwgfx_thp.c135 dev_priv->vram_size >> PAGE_SHIFT); in vmw_thp_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c135 uint64_t vram_size = (uint64_t)RREG32(mmRCC_CONFIG_MEMSIZE) << 20; in amdgpu_discovery_read_binary() local
136 uint64_t pos = vram_size - DISCOVERY_TMR_OFFSET; in amdgpu_discovery_read_binary()
Damdgpu_kms.c622 vram_gtt.vram_size = adev->gmc.real_vram_size - in amdgpu_info_ioctl()
628 vram_gtt.vram_size); in amdgpu_info_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_ttm.c238 (unsigned int)qdev->vram_size / (1024 * 1024)); in qxl_ttm_init()
Dqxl_kms.c55 qdev->vram_size = rom->surface0_area_size; in qxl_check_device()
Dqxl_drv.h197 resource_size_t vram_base, vram_size; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Damdgpu_drm.h580 __u64 vram_size; member
Dradeon_drm.h605 __u64 vram_size; member
/kernel/linux/linux-5.10/include/uapi/drm/
Damdgpu_drm.h901 __u64 vram_size; member
Dradeon_drm.h801 __u64 vram_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Damdgpu_drm.h532 __u64 vram_size; member
Dradeon_drm.h605 __u64 vram_size; member

12