From: Luis R. Rodriguez Date: Tue, 21 Apr 2015 20:16:37 +0000 (-0700) Subject: video: fbdev: atmel_lcdfb: use ioremap_wc() for framebuffer X-Git-Tag: omap-for-v4.2/fixes-rc1^2~148^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e43a20396ee34a6b0305fc155cb59af13a89435;p=pandora-kernel.git video: fbdev: atmel_lcdfb: use ioremap_wc() for framebuffer The driver doesn't use mtrr_add() or arch_phys_wc_add() but since we know the framebuffer is isolated already on an ioremap() we can take advantage of write combining for performance where possible. In this case there are a few motivations for this: a) Take advantage of PAT when available b) Help with the goal of eventually using _PAGE_CACHE_UC over _PAGE_CACHE_UC_MINUS on x86 on ioremap_nocache() (see commit de33c442e titled "x86 PAT: fix performance drop for glx, use UC minus for ioremap(), ioremap_nocache() and pci_mmap_page_range()") Cc: Nicolas Ferre Cc: Suresh Siddha Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Juergen Gross Cc: Daniel Vetter Cc: Andy Lutomirski Cc: Dave Airlie Cc: Antonino Daplas Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Luis R. Rodriguez Acked-by: Nicolas Ferre Reviewed-by: Dave Airlie Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed