mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
[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>
This commit is contained in:
parent
74f6ae84b2
commit
63edceac69
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue