Message ID | 20090701050405.2252.48329.sendpatchset@rx1.opensource.se (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
--- 0001/drivers/video/sh_mobile_lcdcfb.c +++ work/drivers/video/sh_mobile_lcdcfb.c 2009-07-01 13:26:36.000000000 +0900 @@ -211,6 +211,12 @@ static void sh_mobile_lcdc_deferred_io(s { struct sh_mobile_lcdc_chan *ch = info->par; + /* framebuffer memory is cached if deferred io is enabled. + * the LCDC is located behind the caches so we must flush the + * dcache before forcing a LCD refresh. + */ + flush_dcache_all(); + /* enable clocks before accessing hardware */ sh_mobile_lcdc_clk_on(ch->lcdc);