drm/i915/gen9: Remove state asserts when disabling DC states
authorImre Deak <imre.deak@intel.com>
Mon, 29 Feb 2016 20:49:05 +0000 (22:49 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 1 Mar 2016 17:12:19 +0000 (19:12 +0200)
commit5b773eb422f1671852f78548b18ec7c7de34b3cb
treebdff0419fb0ff7ff6cad24dfabe769c30387d103
parent66e2c4c39cc37beaccc24c9d14c75d627fce9cf4
drm/i915/gen9: Remove state asserts when disabling DC states

Disabling the DC states when it's already disabled is a valid scenario,
for example during HW state sanitization during driver loading and
resuming or when DC states are disabled via the i915.enable_dc or
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-4-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c