Skip to contentSkip to conversation

i810fb: Stop LCD displays from flickering

PATCH In review Antonino A. Daplas 1 participant 1 message Sep 1, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 10/10 i810fb: Stop LCD displays from flickering

Stop LCD displays from flickering during high loads.

---
 i810_main.c |    2 ++
 1 files changed, 2 insertions(+)
drivers/video/i810/i810_main.c +2 -0
@@ -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);
 }
 
 /**

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf