mirror of https://gitee.com/openkylin/linux.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 <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
5d3852dcab
commit
e2e022ec51
|
@ -375,6 +375,8 @@ void oaktrail_lvds_init(struct drm_device *dev,
|
||||||
if (dev_priv->vbt_data.size != 0x00)
|
if (dev_priv->vbt_data.size != 0x00)
|
||||||
mode_dev->panel_wants_dither = (dev_priv->gct_data.
|
mode_dev->panel_wants_dither = (dev_priv->gct_data.
|
||||||
Panel_Port_Control & MRST_PANEL_8TO6_DITHER_ENABLE);
|
Panel_Port_Control & MRST_PANEL_8TO6_DITHER_ENABLE);
|
||||||
|
if (dev_priv->lvds_dither)
|
||||||
|
mode_dev->panel_wants_dither = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* LVDS discovery:
|
* LVDS discovery:
|
||||||
|
|
Loading…
Reference in New Issue