Commit a6b44302 authored by Umesh Nerlige Ramappa's avatar Umesh Nerlige Ramappa Committed by John Harrison
Browse files

drm/i915/mtl: Add Wa_14015846243 to fix OA vs CS timestamp mismatch



Similar to ACM, OA timestamp that is part of the OA report is shifted
when compared to the CS timestamp. Add MTL to the WA.

Signed-off-by: default avatarUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: default avatarAshutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221212220902.1819159-3-umesh.nerlige.ramappa@intel.com
parent a4b6e74c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -3139,8 +3139,11 @@ get_sseu_config(struct intel_sseu *out_sseu,
 */
u32 i915_perf_oa_timestamp_frequency(struct drm_i915_private *i915)
{
	/* Wa_18013179988:dg2 */
	if (IS_DG2(i915)) {
	/*
	 * Wa_18013179988:dg2
	 * Wa_14015846243:mtl
	 */
	if (IS_DG2(i915) || IS_METEORLAKE(i915)) {
		intel_wakeref_t wakeref;
		u32 reg, shift;