drm/i915: only run hsw_power_well_post_enable when really needed
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 7 Oct 2014 19:11:11 +0000 (16:11 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:13 +0000 (16:34 +0200)
commit6d729bff304f3b81062e21cd333a639fda4244b3
treeb2f822603e9cece2fa441ab502b906f83a123be6
parent5e56ba45053ab5d7a77b60924e7a15cbbb11dcad
drm/i915: only run hsw_power_well_post_enable when really needed

Only run it after we actually enable the power well. When we're
booting the machine there are cases where we run
hsw_power_well_post_enable without really needing, and even though
this is not causing any real bugs, it is unneeded and causes confusion
to people debugging interrupts.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c