drm/i915: fix unbalanced GT powersave enable / disable calls
authorImre Deak <imre.deak@intel.com>
Mon, 14 Apr 2014 17:24:34 +0000 (20:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:09:04 +0000 (09:09 +0200)
commit14dd0ea84d5bf4c8f1529777d16e7faf48700b62
tree45fb2b228f391d181bb4279cf834804bda3cdbe7
parentbb4932c4f17b68f34645ffbcf845e4c29d17290b
drm/i915: fix unbalanced GT powersave enable / disable calls

Atm, we call intel_gt_powersave_enable() for GEN6 and GEN7 but disable
it for everything starting from GEN6. This is a problem in case of BDW.
Since I don't have a BDW to test if RC6 works properly, just keep it
disabled for now and fix only the disable function.

Signed-off-by: Imre Deak <imre.deak@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_pm.c