From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Wed, 20 Jan 2016 15:53:58 +0100 Subject: [U-Boot] [PATCH 3/4] tegra: video: Always use write-through cache on LCD In-Reply-To: <569D45EE.4020700@wwwdotorg.org> References: <1452803219-16675-1-git-send-email-sjg@chromium.org> <1452803219-16675-4-git-send-email-sjg@chromium.org> <569D45EE.4020700@wwwdotorg.org> Message-ID: <20160120145358.GB31427@ulmo> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jan 18, 2016 at 01:07:10PM -0700, Stephen Warren wrote: > On 01/14/2016 01:26 PM, Simon Glass wrote: > >This seems to give the best performance, so let's use it always. > > I thought we chose the current cache mode due to display corruption issues > with other modes, but I tested a change that I believe does the same as this > change on Seaboard without any apparent issue so, > > Acked-by: Stephen Warren I think for framebuffers the best option is still write-combine, which would be something like: DCACHE_WRITECOMBINE = DCACHE_OFF | TTB_SECT_B_MASK on ARM v7. Did you ever benchmark that against DCACHE_WRITETHROUGH? It should be faster provided that you never read from the region. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: