projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f6ae8
)
[PATCH] i810fb: Stop LCD displays from flickering
author
Antonino A. Daplas
<adaplas@gmail.com>
Fri, 9 Sep 2005 20:10:05 +0000
(13:10 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 9 Sep 2005 21:03:41 +0000
(14:03 -0700)
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>
drivers/video/i810/i810_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/i810/i810_main.c
b/drivers/video/i810/i810_main.c
index 082ddd2089a5ebd9b70b76723958f64cd31cc253..7018ffffcbc4e391f8dbc8076a072ed59f865f82 100644
(file)
--- 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);
}
/**