Home
last modified time | relevance | path

Searched refs:video_mem_base (Results 1 – 2 of 2) sorted by relevance

/external/arm-trusted-firmware/plat/nvidia/tegra/common/drivers/memctrl/
Dmemctrl_v1.c21 static uint64_t video_mem_base; variable
64 (uint32_t)(video_mem_base >> 32)); in tegra_memctrl_setup()
65 tegra_mc_write_32(MC_VIDEO_PROTECT_BASE_LO, (uint32_t)video_mem_base); in tegra_memctrl_setup()
138 uintptr_t vmem_end_old = video_mem_base + (video_mem_size << 20); in tegra_memctrl_videomem_setup()
151 if (video_mem_base == 0) in tegra_memctrl_videomem_setup()
164 if (phys_base > vmem_end_old || video_mem_base > vmem_end_new) { in tegra_memctrl_videomem_setup()
165 tegra_clear_videomem(video_mem_base, video_mem_size << 20); in tegra_memctrl_videomem_setup()
167 if (video_mem_base < phys_base) { in tegra_memctrl_videomem_setup()
168 non_overlap_area_size = phys_base - video_mem_base; in tegra_memctrl_videomem_setup()
169 tegra_clear_videomem(video_mem_base, non_overlap_area_size); in tegra_memctrl_videomem_setup()
[all …]
Dmemctrl_v2.c26 static uint64_t video_mem_base; variable
135 if (video_mem_base != 0ULL) { in tegra_memctrl_restore_settings()
137 (uint32_t)video_mem_base); in tegra_memctrl_restore_settings()
139 (uint32_t)(video_mem_base >> 32)); in tegra_memctrl_restore_settings()
327 uintptr_t vmem_end_old = video_mem_base + (video_mem_size_mb << 20); in tegra_memctrl_videomem_setup()
340 if (video_mem_base == 0U) in tegra_memctrl_videomem_setup()
349 tegra_lock_videomem_nonoverlap(video_mem_base, in tegra_memctrl_videomem_setup()
362 if ((phys_base > vmem_end_old) || (video_mem_base > vmem_end_new)) { in tegra_memctrl_videomem_setup()
363 tegra_clear_videomem(video_mem_base, in tegra_memctrl_videomem_setup()
366 if (video_mem_base < phys_base) { in tegra_memctrl_videomem_setup()
[all …]