Searched refs:total_vram (Results 1 – 3 of 3) sorted by relevance
88 unsigned long total_vram; member292 || 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()
130 unsigned long total_vram; member334 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()
714 u64 free_vram, total_vram, used_vram; in amdgpu_cs_get_threshold_for_moves() local730 total_vram = adev->gmc.real_vram_size - atomic64_read(&adev->vram_pin_size); in amdgpu_cs_get_threshold_for_moves()732 free_vram = used_vram >= total_vram ? 0 : total_vram - used_vram; in amdgpu_cs_get_threshold_for_moves()755 if (free_vram >= 128 * 1024 * 1024 || free_vram >= total_vram / 8) { in amdgpu_cs_get_threshold_for_moves()