drm/i915/skl: enable PC9/10 power states during suspend-to-idle
authorImre Deak <imre.deak@intel.com>
Wed, 18 Nov 2015 15:32:30 +0000 (17:32 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 23 Nov 2015 14:59:25 +0000 (16:59 +0200)
commitbc87229f323e6b5ee9ac57817463fb2ff65e6811
tree28a561a07bb9f251aa1e24e74e2012b21337027b
parent92907cbbef8625bb3998d1eb385fc88f23c97a3f
drm/i915/skl: enable PC9/10 power states during suspend-to-idle

During suspend-to-idle we need to keep the DMC firmware active and DC6
enabled, since otherwise we won't reach deep system power states like
PC9/10. The lead for this came from Nivedita who noticed that the
kernel's turbostat tool didn't report any PC9/10 residency change
across an 'echo freeze > /sys/power/state'.

Reported-by: Nivedita Swaminathan <nivedita.swaminathan@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/1447860750-18110-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h