[PATCH 4/6] drm/xe/ptl: PTL re-uses Xe2 MOCS table
Matt Atwood
matthew.s.atwood at intel.com
Fri Oct 4 22:05:48 UTC 2024
From: Haridhar Kalvala <haridhar.kalvala at intel.com>
PTL is Xe3 architecture but there is no difference between LNL and PTL
in MOCS table. So, PTL uses the same MOCS table as LNL.
Bpsec: 71582
Cc: Matt Roper <matthew.d.roper at intel.com>
Cc: Shekhar Chauhan <shekhar.chauhan at intel.com>
Signed-off-by: Haridhar Kalvala <haridhar.kalvala at intel.com>
Signed-off-by: Matt Atwood <matthew.s.atwood at intel.com>
Reviewed-by: Shekhar Chauhan <shekhar.chauhan at intel.com>
---
drivers/gpu/drm/xe/xe_mocs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
index 8df41cd12d51..231d0e86ed83 100644
--- a/drivers/gpu/drm/xe/xe_mocs.c
+++ b/drivers/gpu/drm/xe/xe_mocs.c
@@ -576,6 +576,7 @@ static unsigned int get_mocs_settings(struct xe_device *xe,
memset(info, 0, sizeof(struct xe_mocs_info));
switch (xe->info.platform) {
+ case XE_PANTHERLAKE:
case XE_LUNARLAKE:
case XE_BATTLEMAGE:
info->ops = &xe2_mocs_ops;
--
2.45.0
More information about the Intel-xe
mailing list