From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 22 Mar 2019 15:53:11 +0800 Subject: [U-Boot] [PATCH v3 13/13] p2771-0000: Add support for framebuffer carveouts In-Reply-To: <20190321181010.27005-14-thierry.reding@gmail.com> References: <20190321181010.27005-1-thierry.reding@gmail.com> <20190321181010.27005-14-thierry.reding@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 22 Mar 2019 at 02:10, Thierry Reding wrote: > > From: Thierry Reding > > 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 > --- > board/nvidia/p2771-0000/p2771-0000.c | 66 ++++++++++++++++++++++++++-- > 1 file changed, 62 insertions(+), 4 deletions(-) > Reviewed-by: Simon Glass