projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef1e72
)
drm/i915: Always call to intel_display_set_init_power() in resume_early.
author
Maarten Lankhorst
<
[email protected]
>
Tue, 16 Jan 2018 15:53:24 +0000
(16:53 +0100)
committer
Maarten Lankhorst
<
[email protected]
>
Tue, 16 Jan 2018 17:50:55 +0000
(18:50 +0100)
intel_power_domains_init_hw() calls set_init_power, but when using
runtime power management this call is skipped. This prevents hw readout
from taking place.
Signed-off-by: Maarten Lankhorst <
[email protected]
>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104172
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
Fixes: bc87229f323e ("drm/i915/skl: enable PC9/10 power states during suspend-to-idle")
Cc: Nivedita Swaminathan <
[email protected]
>
Cc: Imre Deak <
[email protected]
>
Cc: Patrik Jakobsson <
[email protected]
>
Cc: Jani Nikula <
[email protected]
>
Cc: Joonas Lahtinen <
[email protected]
>
Cc: Rodrigo Vivi <
[email protected]
>
Cc: <
[email protected]
> # v4.5+
Reviewed-by: Imre Deak <
[email protected]
>
drivers/gpu/drm/i915/i915_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_drv.c
b/drivers/gpu/drm/i915/i915_drv.c
index 6c8da9d20c332204b030e9e2fac613213d87dc32..173d0095e3b2120e2bd2f4090cbe7da1e25c6619 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_drv.c
+++ b/
drivers/gpu/drm/i915/i915_drv.c
@@
-1842,6
+1842,8
@@
static int i915_drm_resume_early(struct drm_device *dev)
if (IS_GEN9_LP(dev_priv) ||
!(dev_priv->suspended_to_idle && dev_priv->csr.dmc_payload))
intel_power_domains_init_hw(dev_priv, true);
+ else
+ intel_display_set_init_power(dev_priv, true);
i915_gem_sanitize(dev_priv);