drm/i915: Use pipe config state to control gmch pfit enable/disable
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 May 2013 08:36:31 +0000 (10:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 May 2013 23:22:15 +0000 (01:22 +0200)
commit328d8e829b9a05814af4722c1091d62c5533c4f8
tree4942ce82db1108e727cfa22b704af5d388adbd14
parent3f8dce3ade6ae025a8a77e7b74ec58a5c26b17e2
drm/i915: Use pipe config state to control gmch pfit enable/disable

Allows us to rip out a few fragile checks (which are duplicated in the
hw state readout now, too). Also prepares us a bit for more than one
panel/pfit.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c