Skip to content

Commit

Permalink
drm/i915/mtl: Add Wa_14015846243 to fix OA vs CS timestamp mismatch
Browse files Browse the repository at this point in the history
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: Umesh Nerlige Ramappa <[email protected]>
Reviewed-by: Ashutosh Dixit <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
unerlige authored and johnharr-intel committed Dec 17, 2022
1 parent a4b6e74 commit a6b4430
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/gpu/drm/i915/i915_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a6b4430

Please sign in to comment.