aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/oaktrail_lvds.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-12-20 10:58:44 -0500
committerDave Airlie <airlied@redhat.com>2011-12-20 10:50:13 -0500
commite2e022ec51a7e85ce4352a53fde1cd11d58e151a (patch)
treedc884a4f0c66122a043aa91c09a81bf81485fcb8 /drivers/gpu/drm/gma500/oaktrail_lvds.c
parent5d3852dcabacc918f8c1428171513b6d618221fd (diff)
gma500/oaktrail: panel display quality fix
The GCT setup was used on Moorestown. The Oaktrail version uses a normal PC interface. That means we must also honour the dither info from the BIOS data. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/oaktrail_lvds.c')
-rw-r--r--drivers/gpu/drm/gma500/oaktrail_lvds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c
index 7dc892ae7241..238bbe105304 100644
--- a/drivers/gpu/drm/gma500/oaktrail_lvds.c
+++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c
@@ -375,6 +375,8 @@ void oaktrail_lvds_init(struct drm_device *dev,
375 if (dev_priv->vbt_data.size != 0x00) 375 if (dev_priv->vbt_data.size != 0x00)
376 mode_dev->panel_wants_dither = (dev_priv->gct_data. 376 mode_dev->panel_wants_dither = (dev_priv->gct_data.
377 Panel_Port_Control & MRST_PANEL_8TO6_DITHER_ENABLE); 377 Panel_Port_Control & MRST_PANEL_8TO6_DITHER_ENABLE);
378 if (dev_priv->lvds_dither)
379 mode_dev->panel_wants_dither = 1;
378 380
379 /* 381 /*
380 * LVDS discovery: 382 * LVDS discovery: