Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alan Cox and committed by
Dave Airlie
e2e022ec 5d3852dc

+2
+2
drivers/gpu/drm/gma500/oaktrail_lvds.c
··· 375 375 if (dev_priv->vbt_data.size != 0x00) 376 376 mode_dev->panel_wants_dither = (dev_priv->gct_data. 377 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 382 * LVDS discovery: