[U-Boot] [PATCH v3 12/13] p2371-2180: Add support for framebuffer carveouts

Simon Glass sjg at chromium.org
Fri Mar 22 07:53:10 UTC 2019


On Fri, 22 Mar 2019 at 02:10, 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 | 47 ++++++++++++++++++++++++++++
>  1 file changed, 47 insertions(+)

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


More information about the U-Boot mailing list