Home
last modified time | relevance | path

Searched refs:total_vram (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/video/fbdev/
A Dplatinumfb.c66 unsigned long total_vram; member
284 out_be32(&platinum_regs->reg[26+32].r, (pinfo->total_vram == 0x100000 ? in platinum_set_hardware()
289 out_be32(&platinum_regs->reg[19].r, (pinfo->total_vram == 0x100000 ? in platinum_set_hardware()
292 out_be32(&platinum_regs->reg[20].r, (pinfo->total_vram == 0x100000 ? 0x11 : 0x1011)); in platinum_set_hardware()
300 STORE_D2(0, (pinfo->total_vram == 0x100000 ? in platinum_set_hardware()
331 info->fix.smem_len = pinfo->total_vram - 0x20; in platinum_init_info()
366 platinum_vram_reqd(default_vmode, default_cmode) > pinfo->total_vram) in platinum_init_fb()
462 if (platinum_vram_reqd(vmode, cmode) > pinfo->total_vram) { in platinum_var_to_par()
602 pinfo->total_vram = (bank0 + bank1 + bank2 + bank3) * 0x100000; in platinumfb_probe()
604 (unsigned int) (pinfo->total_vram / 1024 / 1024), in platinumfb_probe()
A Dvalkyriefb.c88 unsigned long total_vram; member
294 || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) in valkyrie_choose_mode()
351 p->total_vram = 0x100000; in valkyriefb_init()
354 p->frame_buffer = ioremap(frame_buffer_phys, p->total_vram); in valkyriefb_init()
356 p->frame_buffer = ioremap_wt(frame_buffer_phys, p->total_vram); in valkyriefb_init()
488 if (valkyrie_vram_reqd(vmode, cmode) > p->total_vram) { in valkyrie_var_to_par()
513 fix->smem_len = p->total_vram; in valkyrie_init_fix()
A Dcontrolfb.c130 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()
789 info->fix.smem_len = p->total_vram - CTRLFB_OFF; in control_init_info()
846 full = p->total_vram == 0x400000; in init_control()
886 vyres = (p->total_vram - CTRLFB_OFF) / (var.xres << cmode); in init_control()
988 if (!p->total_vram) in control_of_init()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_cs.c664 u64 free_vram, total_vram, used_vram; in amdgpu_cs_get_threshold_for_moves() local
680 total_vram = adev->gmc.real_vram_size - atomic64_read(&adev->vram_pin_size); in amdgpu_cs_get_threshold_for_moves()
682 free_vram = used_vram >= total_vram ? 0 : total_vram - used_vram; in amdgpu_cs_get_threshold_for_moves()
705 if (free_vram >= 128 * 1024 * 1024 || free_vram >= total_vram / 8) { in amdgpu_cs_get_threshold_for_moves()

Completed in 12 milliseconds