gma500/oaktrail: panel display quality fix
authorAlan Cox <alan@linux.intel.com>
Tue, 20 Dec 2011 15:58:44 +0000 (15:58 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Dec 2011 15:50:13 +0000 (15:50 +0000)
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>
drivers/gpu/drm/gma500/oaktrail_lvds.c

index 7dc892ae7241d8cfb27e13995d6189a4ab31e23d..238bbe105304f80e5f5227a92b90847871f341b0 100644 (file)
@@ -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: