drm/i915/gen9: Disable DC states if power well support is disabled
authorImre Deak <imre.deak@intel.com>
Mon, 29 Feb 2016 20:49:04 +0000 (22:49 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 1 Mar 2016 17:12:04 +0000 (19:12 +0200)
commit66e2c4c39cc37beaccc24c9d14c75d627fce9cf4
tree41b7a7b295180a1d68b5690d0686a8a5f43d45f0
parenta37baf3b832b862d09e10067b7d2065b3b42a729
drm/i915/gen9: Disable DC states if power well support is disabled

If power well support is disabled via the i915.disable_power_well module
option we should never enable DC states. Currently we would enable DC
states even in this case during system suspend, where we need to disable
all power wells regardless of the disable_power_well option.

CC: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456778945-5411-3-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c