drm/i915: explicitly set up PIPECONF (and gamma table) on haswell
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Jun 2013 22:54:59 +0000 (00:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 18 Jun 2013 12:05:20 +0000 (14:05 +0200)
commit3eff4faa9f59c581538663e3f42b9e16210cafd0
tree7f2b87ba186124797e52af8bc5d0ecfff6cfa30a
parent9f11a9e4e50006b615ba94722dfc33ced89664cf
drm/i915: explicitly set up PIPECONF (and gamma table) on haswell

Again we don't really support different settings, so don't let the
BIOS sneak stuff through.

Since the motivation for this patch series is to ensure we have the
correct gamma table mode selected also add the required write to the
GAMMA_MODE register to select the 8bit legacy table.

And since I find lowercase letters in #defines offensive, also
bikeshed those.

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/i915_reg.h
drivers/gpu/drm/i915/intel_display.c