]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915: Tweaked Wa_14010685332 for all PCHs
authorAnshuman Gupta <anshuman.gupta@intel.com>
Tue, 10 Aug 2021 11:31:12 +0000 (17:01 +0530)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:35:10 +0000 (08:35 -0400)
commite0f2d91e08690a85872c1c021fc49132a1f9c31b
treec6057f4dc57066d181d6a4e748a9ab05e9c80263
parent678b67771cefd32ff595d3d04cfbce915ed7bccd
drm/i915: Tweaked Wa_14010685332 for all PCHs

[ Upstream commit b8441b288d6031eac21390891ba36487b2cb398b ]

dispcnlunit1_cp_xosc_clkreq clock observed to be active on TGL-H platform
despite Wa_14010685332 original sequence,
thus blocks entry to deeper s0ix state.

The Tweaked Wa_14010685332 sequence fixes this issue, therefore use tweaked
Wa_14010685332 sequence for every PCH since PCH_CNP.

v2:
- removed RKL from comment and simplified condition. [Rodrigo]

Fixes: b896898c7369 ("drm/i915: Tweaked Wa_14010685332 for PCHs used on gen11 platforms")
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210810113112.31739-2-anshuman.gupta@intel.com
(cherry picked from commit 8b46cc6577f4bbef7e5909bb926da31d705f350f)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/i915_irq.c