projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc77dbd
)
drm/i915/skl: Fix power domain suspend sequence
author
Imre Deak
<imre.deak@intel.com>
Mon, 29 Feb 2016 20:49:02 +0000
(22:49 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Wed, 2 Mar 2016 12:38:43 +0000
(14:38 +0200)
During system suspend we need to first disable power wells then
unitialize the display core. In case power well support is disabled we
did this in the wrong order, so fix this up.
Fixes:
d314cd43
("drm/i915: fix handling of the disable_power_well module option")
CC: stable@vger.kernel.org
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-1-git-send-email-imre.deak@intel.com
(cherry picked from commit
2622d79bd9d18fd04b650234e6a218c5f95cf308
)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_runtime_pm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_runtime_pm.c
b/drivers/gpu/drm/i915/intel_runtime_pm.c
index 678ed3475d7eca57a512e41d872e9ba9fd5f52b0..ef8d24d9a50f08fd264369cbce42c204a85ab672 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_runtime_pm.c
+++ b/
drivers/gpu/drm/i915/intel_runtime_pm.c
@@
-2303,15
+2303,15
@@
void intel_power_domains_init_hw(struct drm_i915_private *dev_priv, bool resume)
*/
void intel_power_domains_suspend(struct drm_i915_private *dev_priv)
{
- if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv))
- skl_display_core_uninit(dev_priv);
-
/*
* Even if power well support was disabled we still want to disable
* power wells while we are system suspended.
*/
if (!i915.disable_power_well)
intel_display_power_put(dev_priv, POWER_DOMAIN_INIT);
+
+ if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv))
+ skl_display_core_uninit(dev_priv);
}
/**