Searched refs:total_vram (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/video/fbdev/ |
D | platinumfb.c | 66 unsigned long total_vram; member 282 out_be32(&platinum_regs->reg[26+32].r, (pinfo->total_vram == 0x100000 ? in platinum_set_hardware() 287 out_be32(&platinum_regs->reg[19].r, (pinfo->total_vram == 0x100000 ? in platinum_set_hardware() 290 out_be32(&platinum_regs->reg[20].r, (pinfo->total_vram == 0x100000 ? 0x11 : 0x1011)); in platinum_set_hardware() 298 STORE_D2(0, (pinfo->total_vram == 0x100000 ? in platinum_set_hardware() 328 info->fix.smem_len = pinfo->total_vram - 0x20; in platinum_init_info() 363 platinum_vram_reqd(default_vmode, default_cmode) > pinfo->total_vram) in platinum_init_fb() 459 if (platinum_vram_reqd(vmode, cmode) > pinfo->total_vram) { in platinum_var_to_par() 599 pinfo->total_vram = (bank0 + bank1 + bank2 + bank3) * 0x100000; in platinumfb_probe() 601 (unsigned int) (pinfo->total_vram / 1024 / 1024), in platinumfb_probe()
|
D | valkyriefb.c | 88 unsigned long total_vram; member 292 || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) in valkyrie_choose_mode() 349 p->total_vram = 0x100000; in valkyriefb_init() 352 p->frame_buffer = ioremap(frame_buffer_phys, p->total_vram); in valkyriefb_init() 354 p->frame_buffer = ioremap_wt(frame_buffer_phys, p->total_vram); in valkyriefb_init() 486 if (valkyrie_vram_reqd(vmode, cmode) > p->total_vram) { in valkyrie_var_to_par() 511 fix->smem_len = p->total_vram; in valkyrie_init_fix()
|
D | controlfb.c | 130 unsigned long total_vram; member 334 p->total_vram = (bank1 + bank2) * 0x200000; in find_vram_size() 435 if (p->total_vram > 0x200000) { in control_var_to_par() 448 if (p->total_vram > 0x200000) { in control_var_to_par() 460 if (p->total_vram > 0x200000) { in control_var_to_par() 493 if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram) in control_var_to_par() 788 info->fix.smem_len = p->total_vram - CTRLFB_OFF; in control_init_info() 845 full = p->total_vram == 0x400000; in init_control() 885 vyres = (p->total_vram - CTRLFB_OFF) / (var.xres << cmode); in init_control() 987 if (!p->total_vram) in control_of_init()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cs.c | 684 u64 free_vram, total_vram, used_vram; in amdgpu_cs_get_threshold_for_moves() local 700 total_vram = adev->gmc.real_vram_size - atomic64_read(&adev->vram_pin_size); in amdgpu_cs_get_threshold_for_moves() 702 free_vram = used_vram >= total_vram ? 0 : total_vram - used_vram; in amdgpu_cs_get_threshold_for_moves() 725 if (free_vram >= 128 * 1024 * 1024 || free_vram >= total_vram / 8) { in amdgpu_cs_get_threshold_for_moves()
|