From: Haridhar Kalvala Date: Tue, 8 Oct 2024 01:35:07 +0000 (-0700) Subject: drm/xe/ptl: PTL re-uses Xe2 MOCS table X-Git-Tag: v6.13-rc1~122^2~20^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37466119ff12c40ecf42b916f755ba4b0a5f8b1a;p=thirdparty%2Fkernel%2Flinux.git drm/xe/ptl: PTL re-uses Xe2 MOCS table 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. Bspec: 71582 Cc: Matt Roper Cc: Shekhar Chauhan Signed-off-by: Haridhar Kalvala Signed-off-by: Matt Atwood Reviewed-by: Shekhar Chauhan Signed-off-by: Matt Roper Link: https://patchwork.freedesktop.org/patch/msgid/20241008013509.61233-5-matthew.s.atwood@intel.com --- diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c index 8df41cd12d513..231d0e86ed835 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;