[U-Boot] [PATCH 3/4] tegra: video: Always use write-through cache on LCD

Thierry Reding thierry.reding at gmail.com
Wed Jan 20 15:53:58 CET 2016


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 <swarren at nvidia.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20160120/d383d45b/attachment.sig>


More information about the U-Boot mailing list