]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: set up PIPECONF explicitly on ilk-ivb
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Jun 2013 22:54:57 +0000 (00:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 18 Jun 2013 12:05:19 +0000 (14:05 +0200)
commit78114071ff9e3c2f6c1715bfb01ac8c0b3618e72
tree616a9ec3b0259c71bd98889ca5196824225d3a7d
parentaa60c664e6df502578454621c3a9b1f087ff8d25
drm/i915: set up PIPECONF explicitly on ilk-ivb

Dragging random garbage along from the BIOS isn't a good idea, since
we really only support exactly what we've set up.

In the specific case for the bug reporter the BIOS used the 10bit
gamma table, but since we only support an 8bit table the dark colors
ended up all wrong and the light ones all unadjusted.

Note that this has a nice implication for fastboot, it essentially
means that we have quite a bit more state to check and compare before
we can decide whether fastboot is possible.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65593
Reported-and-Tested-by: Thomas Hebb <tommyhebb@gmail.com>
Cc: stable@vger.kernel.org
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c