diff options
author | Imre Deak <imre.deak@intel.com> | 2019-05-09 20:34:38 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2019-05-14 13:56:11 +0300 |
commit | ee70080a52f19251a58212925dfaf6c9b0a07316 (patch) | |
tree | 4f2fc7c8b1f8f4eaa9abe92cb6b217a04b87137f /drivers/gpu/drm/i915/intel_runtime_pm.c | |
parent | dbf99c1f8c7ec32ece0584497832a53a7acc4936 (diff) | |
download | linux-ee70080a52f19251a58212925dfaf6c9b0a07316.tar.gz linux-ee70080a52f19251a58212925dfaf6c9b0a07316.tar.bz2 linux-ee70080a52f19251a58212925dfaf6c9b0a07316.zip |
drm/i915: Verify power domains state during suspend in all cases
There is no reason why we couldn't verify the power domains state during
suspend in all cases, so do that. I overlooked this when originally
adding the check.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190509173446.31095-4-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_runtime_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_runtime_pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c index 18152978375a..2cf4943df2e7 100644 --- a/drivers/gpu/drm/i915/intel_runtime_pm.c +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c @@ -4528,10 +4528,10 @@ void intel_power_domains_suspend(struct drm_i915_private *i915, * Even if power well support was disabled we still want to disable * power wells if power domains must be deinitialized for suspend. */ - if (!i915_modparams.disable_power_well) { + if (!i915_modparams.disable_power_well) intel_display_power_put_unchecked(i915, POWER_DOMAIN_INIT); - intel_power_domains_verify_state(i915); - } + + intel_power_domains_verify_state(i915); if (INTEL_GEN(i915) >= 11) icl_display_core_uninit(i915); |