]> git.baikalelectronics.ru Git - kernel.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)
commitd660a1b0afa95d20aa84aeb79f2cfff12d10eb5b
tree616a9ec3b0259c71bd98889ca5196824225d3a7d
parentc80682a3934a980219e6b2b40bb1e5c4a645c391
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