[PATCH 2/2] drm/xe/bmg: Apply Wa_22019338487
Vinay Belgaumkar
vinay.belgaumkar at intel.com
Fri May 24 23:41:09 UTC 2024
Extend this WA to BMG GT as well. In this case media GT is
not affected.
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
---
drivers/gpu/drm/xe/xe_guc_pc.c | 3 +++
drivers/gpu/drm/xe/xe_wa_oob.rules | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_guc_pc.c b/drivers/gpu/drm/xe/xe_guc_pc.c
index 3ecfbaa75495..82de2e198974 100644
--- a/drivers/gpu/drm/xe/xe_guc_pc.c
+++ b/drivers/gpu/drm/xe/xe_guc_pc.c
@@ -44,6 +44,7 @@
#define GT_FREQUENCY_SCALER 3
#define LNL_MERT_FREQ_CAP 800
+#define BMG_MERT_FREQ_CAP 2133
/**
* DOC: GuC Power Conservation (PC)
@@ -682,6 +683,8 @@ u32 xe_guc_pc_mert_freq_cap(struct xe_guc_pc *pc)
{
if (MEDIA_VERx100(pc_to_xe(pc)) == 2000)
return LNL_MERT_FREQ_CAP;
+ else if (GRAPHICS_VERx100(pc_to_xe(pc)) == 2001)
+ return BMG_MERT_FREQ_CAP;
else
return 0;
}
diff --git a/drivers/gpu/drm/xe/xe_wa_oob.rules b/drivers/gpu/drm/xe/xe_wa_oob.rules
index a6b897030fde..26066beb4f6f 100644
--- a/drivers/gpu/drm/xe/xe_wa_oob.rules
+++ b/drivers/gpu/drm/xe/xe_wa_oob.rules
@@ -28,3 +28,4 @@
GRAPHICS_VERSION(2004)
13011645652 GRAPHICS_VERSION(2004)
22019338487 MEDIA_VERSION(2000)
+ GRAPHICS_VERSION(2001)
--
2.38.1
More information about the Intel-xe
mailing list