[PATCH 7/9] drm/xe/ptl: PTL re-uses Xe2 MOCS table

Matt Atwood matthew.s.atwood at intel.com
Fri Sep 6 21:51:51 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>
---
 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 7ff0ac5b799a..51c192f3fdfd 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.44.0



More information about the Intel-xe mailing list