From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 14 Jun 2012 17:49:12 -0600 Subject: [U-Boot] [PATCH v2 12/19] arm: Add control over cachability of memory regions In-Reply-To: <1339604395-6621-13-git-send-email-sjg@chromium.org> References: <1339604395-6621-1-git-send-email-sjg@chromium.org> <1339604395-6621-13-git-send-email-sjg@chromium.org> Message-ID: <4FDA7878.1090700@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/13/2012 10:19 AM, Simon Glass wrote: > Add support for adjusting the cachability of an L1 section by updating > the MMU. The mmu_set_region_dcache() function allows drivers to make > these changes after the MMU is set up. > > It is implemented only for ARMv7 at present. > > This is needed for LCD support, where we want to make the LCD frame buffer > write-through (or off) rather than write-back. Wouldn't performance be significantly better if the region was fully cached, but flushed after each display surface update?