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

Simon Glass sjg at chromium.org
Tue Mar 19 01:24:37 UTC 2019


On Sat, 9 Mar 2019 at 04:11, Thierry Reding <thierry.reding at gmail.com> wrote:
>
> From: Thierry Reding <treding at 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 at 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 at chromium.org>


More information about the U-Boot mailing list