]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/tuning: Stop applying CCCHKNREG1 tuning from Xe3p onward
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 10 Apr 2026 22:50:28 +0000 (15:50 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 13 Apr 2026 19:41:56 +0000 (12:41 -0700)
Whereas the tuning guide gave guidance on adjusting various CCCHKNREG1
on past platforms, starting from Xe3p the guidance is "Leave register at
HW default settings."  Set a version range upper bound of "34.99" so
that the current programming will stop being applied on any Xe3p
platforms that have graphics version 35.

Bspec: 72161
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20260410-xe3p_tuning-v1-1-e206a62ee38f@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_tuning.c

index f8de6a4bf1897b13dd7e100ca1fae7773e50a169..ea48e2a60fcde062cf0efbbfcc61d86bd4c164a1 100644 (file)
@@ -43,7 +43,7 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
                                   REG_FIELD_PREP(L3_PWM_TIMER_INIT_VAL_MASK, 0x7f)))
        },
        { XE_RTP_NAME("Tuning: Compression Overfetch"),
-         XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED),
+         XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, 3499),
                       FUNC(xe_rtp_match_has_flat_ccs)),
          XE_RTP_ACTIONS(CLR(CCCHKNREG1, ENCOMPPERFFIX),
                         SET(CCCHKNREG1, L3CMPCTRL))