From: Alan Cox Date: Tue, 20 Dec 2011 15:58:44 +0000 (+0000) Subject: gma500/oaktrail: panel display quality fix X-Git-Tag: upstream/snapshot3+hdmi~8389^2~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2e022ec51a7e85ce4352a53fde1cd11d58e151a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c index 7dc892a..238bbe1 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, if (dev_priv->vbt_data.size != 0x00) mode_dev->panel_wants_dither = (dev_priv->gct_data. Panel_Port_Control & MRST_PANEL_8TO6_DITHER_ENABLE); + if (dev_priv->lvds_dither) + mode_dev->panel_wants_dither = 1; /* * LVDS discovery: