summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/viamode.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-04-23 22:24:52 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-04-23 22:24:52 +0000
commitc5a4e6d725654045e548b1a1f33059a44a06910f (patch)
tree6b22672f07fe004f71137abad8308c8e0673a638 /drivers/video/via/viamode.c
parent32fab7bcc79ee0b97277627f456c94202858d851 (diff)
downloadblackbird-op-linux-c5a4e6d725654045e548b1a1f33059a44a06910f.tar.gz
blackbird-op-linux-c5a4e6d725654045e548b1a1f33059a44a06910f.zip
viafb: reduce OLPC refresh a bit
When allowing some PLL calculation we get a frequency that seems to be a bit higher than what the OLPC DCON likes resulting in a still readable but not so good image. We don't really know whether this is a problem with the calculation formula or the OLPC but as other displays seem to be happy with the other modes adjusting the OLPC refresh looks like the better thing. This patch prevents a regression when dynamic PLL calculation is allowed. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/viamode.c')
-rw-r--r--drivers/video/via/viamode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/viamode.c b/drivers/video/via/viamode.c
index 260d339b236c..ccb5eec63248 100644
--- a/drivers/video/via/viamode.c
+++ b/drivers/video/via/viamode.c
@@ -606,7 +606,7 @@ static struct crt_mode_table CRTM1200x720[] = {
/* 1200x900 (DCON) */
static struct crt_mode_table DCON1200x900[] = {
/* r_rate, hsp, vsp */
- {REFRESH_50, M1200X900_R60_HSP, M1200X900_R60_VSP,
+ {REFRESH_49, M1200X900_R60_HSP, M1200X900_R60_VSP,
/* The correct htotal is 1240, but this doesn't raster on VX855. */
/* Via suggested changing to a multiple of 16, hence 1264. */
/* HT, HA, HBS, HBE, HSS, HSE, VT, VA, VBS, VBE, VSS, VSE */
OpenPOWER on IntegriCloud