mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 21:56:39 +07: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
@ -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 New Issue
Block a user