From: Antonino A. Daplas Date: Fri, 9 Sep 2005 20:10:05 +0000 (-0700) Subject: [PATCH] i810fb: Stop LCD displays from flickering X-Git-Tag: v2.6.14-rc1~302 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=63edceac69889e48b1b39f40ca0a4c00fdc3bbb0;p=linux-2.6-omap-h63xx.git [PATCH] i810fb: Stop LCD displays from flickering Stop LCD displays from flickering during high loads. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index 082ddd2089a..7018ffffcbc 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c @@ -311,6 +311,8 @@ static void i810_hires(u8 __iomem *mmio) val = i810_readb(CR_DATA_CGA, mmio); i810_writeb(CR_INDEX_CGA, mmio, CR80); i810_writeb(CR_DATA_CGA, mmio, val | 1); + /* Stop LCD displays from flickering */ + i810_writel(MEM_MODE, mmio, i810_readl(MEM_MODE, mmio) | 4); } /**