diff options
author | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2023-10-05 18:35:53 -0700 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2023-10-09 16:35:04 -0700 |
commit | ca1e2a83394abcd1ee091b4e048a180aa58c96e6 (patch) | |
tree | 5219861882943237385fed11990db34e7a408f5d /drivers/gpu/drm/i915/gt/uc/intel_guc.c | |
parent | 3e78f7712115e352a8af5db8d91f8febddf41595 (diff) | |
download | linux-stable-ca1e2a83394abcd1ee091b4e048a180aa58c96e6.tar.gz linux-stable-ca1e2a83394abcd1ee091b4e048a180aa58c96e6.tar.bz2 linux-stable-ca1e2a83394abcd1ee091b4e048a180aa58c96e6.zip |
drm/i915/guc: Enable WA 14018913170
The GuC handles the WA, the KMD just needs to set the flag to enable
it on the appropriate platforms.
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231006013553.1339418-1-John.C.Harrison@Intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/uc/intel_guc.c')
-rw-r--r-- | drivers/gpu/drm/i915/gt/uc/intel_guc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc.c b/drivers/gpu/drm/i915/gt/uc/intel_guc.c index 27df41c53b89..3f3df1166b86 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc.c @@ -319,6 +319,12 @@ static u32 guc_ctl_wa_flags(struct intel_guc *guc) if (!RCS_MASK(gt)) flags |= GUC_WA_RCS_REGS_IN_CCS_REGS_LIST; + /* Wa_14018913170 */ + if (GUC_FIRMWARE_VER(guc) >= MAKE_GUC_VER(70, 7, 0)) { + if (IS_DG2(gt->i915) || IS_METEORLAKE(gt->i915) || IS_PONTEVECCHIO(gt->i915)) + flags |= GUC_WA_ENABLE_TSC_CHECK_ON_RC6; + } + return flags; } |