Commit 6509dd11 authored by Radhakrishna Sripada's avatar Radhakrishna Sripada

drm/i915: Skip Bit12 fw domain reset for gen12+

Bit12 of the Forcewake request register should not be cleared post
gen12. Do not touch this bit while clearing during fw domain reset.

v2: Tweak the comment to drop older platforms(MattR)

Bspec: 52542
Signed-off-by: default avatarSushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
Signed-off-by: default avatarRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220817224304.255767-1-radhakrishna.sripada@intel.com
parent 95ccf312
...@@ -112,8 +112,11 @@ fw_domain_reset(const struct intel_uncore_forcewake_domain *d) ...@@ -112,8 +112,11 @@ fw_domain_reset(const struct intel_uncore_forcewake_domain *d)
* trying to reset here does exist at this point (engines could be fused * trying to reset here does exist at this point (engines could be fused
* off in ICL+), so no waiting for acks * off in ICL+), so no waiting for acks
*/ */
/* WaRsClearFWBitsAtReset:bdw,skl */ /* WaRsClearFWBitsAtReset */
fw_clear(d, 0xffff); if (GRAPHICS_VER(d->uncore->i915) >= 12)
fw_clear(d, 0xefff);
else
fw_clear(d, 0xffff);
} }
static inline void static inline void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment