sh: LCDC dcache flush for deferred io
authorPaul Mundt <lethal@linux-sh.org>
Wed, 1 Jul 2009 06:50:31 +0000 (06:50 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 1 Jul 2009 18:34:37 +0000 (03:34 +0900)
commit1c6a307a54668eda556f499c94e75086aaf8f80f
treeb6f18afc78d0c252df9e1e6f1dce4867b53ea26e
parent34e19ada994fb9cb3d11873f2b734602e2135f3a
sh: LCDC dcache flush for deferred io

Since writenotify on uncached vmas is unsupported in 2.6.31,
live with cached framebuffer memory in the deferred io
case for now and flush the dcache before forcing refresh.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Magnus damm <damm@igel.co.jp>
drivers/video/sh_mobile_lcdcfb.c