]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915: Always call to intel_display_set_init_power() in resume_early.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 16 Jan 2018 15:53:24 +0000 (16:53 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 16 Jan 2018 17:50:55 +0000 (18:50 +0100)
commitac25dfed15d470d7f23dd817e965b54aa3f94a1e
treee244113d84ad4ef3d1b611a70bc434ce4799cb9a
parent2ef1e729c7f0fbad9706848f5fe5cff84f5b6d24
drm/i915: Always call to intel_display_set_init_power() in resume_early.

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 <maarten.lankhorst@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104172
Link: https://patchwork.freedesktop.org/patch/msgid/20180116155324.75120-1-maarten.lankhorst@linux.intel.com
Fixes: bc87229f323e ("drm/i915/skl: enable PC9/10 power states during suspend-to-idle")
Cc: Nivedita Swaminathan <nivedita.swaminathan@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: <stable@vger.kernel.org> # v4.5+
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/i915_drv.c