drm/i915: Clean up the extra RPM ref on CHV with i915.enable_rc6=0
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 2 Aug 2016 11:07:33 +0000 (14:07 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 10 Aug 2016 21:56:58 +0000 (00:56 +0300)
commitd8b6161f7294b63180da443c9ff48c7efce182eb
treedf352548ed330dbfa402f8c4c8e35a287d8431d1
parent7ff9a55614712adf13ce7990565be0263e620f5e
drm/i915: Clean up the extra RPM ref on CHV with i915.enable_rc6=0

Remove the CHV early bail out from intel_cleanup_gt_powersave() so that
we'll clean up the extra RPM reference held due to i915.enable_rc6=0.

Cc: Imre Deak <imre.deak@intel.com>
Fixes: b268c699aca5 ("drm/i915: refactor RPM disabling due to RC6 being disabled")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470136053-23276-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
(cherry picked from commit 8dac1e1f2068321fb4b7062d3c5408971f7a7e35)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_pm.c