From: Antonino A. Daplas Date: Fri, 9 Sep 2005 20:10:05 +0000 (-0700) Subject: [PATCH] i810fb: Stop LCD displays from flickering X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=63edceac69889e48b1b39f40ca0a4c00fdc3bbb0;p=linux-beck.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 082ddd2089a5..7018ffffcbc4 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); } /**