[U-Boot] [PATCH 6/6] p2371-2180: Add support for framebuffer carveouts

Simon Glass
2019-03-19T01:24:37Z

On Sat, 9 Mar 2019 at 04:11, Thierry Reding <thierry.reding@gmail.com> wrote:
>
> From: Thierry Reding <treding@nvidia.com>
>
> If early firmware initialized the display hardware and the display
> controllers are scanning out a framebuffer (e.g. a splash screen), make
> sure to pass information about the memory location of that framebuffer
> to the kernel before booting to avoid the kernel from using that memory
> for the buddy allocator.
>
> This same mechanism can also be used in the kernel to set up early SMMU
> mappings and avoid SMMU faults caused by the display controller reading
> from memory for which it has no mapping.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> board/nvidia/p2371-2180/p2371-2180.c | 50 ++++++++++++++++++++++++++++
> configs/p2371-2180_defconfig | 1 +
> 2 files changed, 51 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>