diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-09-09 13:10:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 14:03:41 -0700 |
commit | 63edceac69889e48b1b39f40ca0a4c00fdc3bbb0 (patch) | |
tree | ad391111f0b7b28f25ebc30800b3500b39fa290f /drivers/video | |
parent | 74f6ae84b2315c2fa8a4110b09a1c0f3dca92674 (diff) |
[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')
-rw-r--r-- | drivers/video/i810/i810_main.c | 2 |
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); } /** |