]> www.infradead.org Git - linux.git/commitdiff
drm/xe/ptl: PTL re-uses Xe2 MOCS table
authorHaridhar Kalvala <haridhar.kalvala@intel.com>
Tue, 8 Oct 2024 01:35:07 +0000 (18:35 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 8 Oct 2024 16:18:35 +0000 (09:18 -0700)
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 <matthew.d.roper@intel.com>
Cc: Shekhar Chauhan <shekhar.chauhan@intel.com>
Signed-off-by: Haridhar Kalvala <haridhar.kalvala@intel.com>
Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241008013509.61233-5-matthew.s.atwood@intel.com
drivers/gpu/drm/xe/xe_mocs.c

index 8df41cd12d513cbeefeaf17b20c89f2267b1d62a..231d0e86ed8359e3f96dff197f394217fd6bfd73 100644 (file)
@@ -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;