drm/i915: check the power well on i915_pipe_enabled
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 3 May 2013 15:15:39 +0000 (12:15 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:32 +0000 (21:56 +0200)
commit71f8ba6b7e44fc525fb15a60997c0c5064c160e6
treeae47c24b963e03069f76fd1f607ebac0c0585316
parent12d217c795071bfee483158e1397c57e8dc3cb76
drm/i915: check the power well on i915_pipe_enabled

This fixes "unclaimed register" messages when the power well is
disabled and there's a GPU hang.

v2: Use the new intel_display_power_enabled().
v3: Use the new domains for intel_display_power_enabled().

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c