drm/i915: conditionally disable pch resources in ilk_crtc_disable
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Jun 2013 11:34:04 +0000 (13:34 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Jun 2013 17:45:26 +0000 (19:45 +0200)
commitd925c59a8174c8c150da7e0a38e35d89a8e7149c
tree599293da20ec65ad3aa303bd59afad5208b6342b
parentcdbd2316a03f68b25a135a34d1d24f01ddef0c53
drm/i915: conditionally disable pch resources in ilk_crtc_disable

Simlar to how disable already works on haswell. This is possible
since we now carefully track the pch state in the pipe config.

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