summaryrefslogtreecommitdiffstats
path: root/drivers/video/i810
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2005-09-09 22:10:05 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 23:03:41 +0200
commit63edceac69889e48b1b39f40ca0a4c00fdc3bbb0 (patch)
treead391111f0b7b28f25ebc30800b3500b39fa290f /drivers/video/i810
parent[PATCH] i810fb: Add i2c/DDC support (diff)
downloadlinux-63edceac69889e48b1b39f40ca0a4c00fdc3bbb0.tar.xz
linux-63edceac69889e48b1b39f40ca0a4c00fdc3bbb0.zip
[PATCH] i810fb: Stop LCD displays from flickering
Stop LCD displays from flickering during high loads. Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/i810')
-rw-r--r--drivers/video/i810/i810_main.c2
1 files changed, 2 insertions, 0 deletions
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);
}
/**