]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/arl: Enable Wa_14019159160 for ARL
authorJohn Harrison <John.C.Harrison@Intel.com>
Sat, 22 Jun 2024 00:46:35 +0000 (17:46 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 18 Jul 2024 19:51:55 +0000 (12:51 -0700)
The context switch out workaround also applies to ARL.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240622004636.662081-2-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.c
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c

index 5e60a34692af80e45ba3adc06d8031d516de6b55..097fc6bd1285e40211b9b59c1d020671e68037d6 100644 (file)
@@ -296,7 +296,7 @@ static u32 guc_ctl_wa_flags(struct intel_guc *guc)
 
        /* Wa_16019325821 */
        /* Wa_14019159160 */
-       if (IS_GFX_GT_IP_RANGE(gt, IP_VER(12, 70), IP_VER(12, 71)))
+       if (IS_GFX_GT_IP_RANGE(gt, IP_VER(12, 70), IP_VER(12, 74)))
                flags |= GUC_WA_RCS_CCS_SWITCHOUT;
 
        /*
index 7995f059f30df91bbfff0e7fffd2714c2fb3d697..f1fe5f90545388ecc4f11086c16e7d5b6886048a 100644 (file)
@@ -850,7 +850,7 @@ static void guc_waklv_init(struct intel_guc *guc)
        remain = guc_ads_waklv_size(guc);
 
        /* Wa_14019159160 */
-       if (IS_GFX_GT_IP_RANGE(gt, IP_VER(12, 70), IP_VER(12, 71)))
+       if (IS_GFX_GT_IP_RANGE(gt, IP_VER(12, 70), IP_VER(12, 74)))
                guc_waklv_enable_simple(guc,
                                        GUC_WORKAROUND_KLV_SERIALIZED_RA_MODE,
                                        &offset, &remain);