]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/nvls: Attach MOCS table for NVL-S
authorDnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Fri, 17 Oct 2025 02:26:32 +0000 (19:26 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sun, 19 Oct 2025 02:45:12 +0000 (19:45 -0700)
The MOCS table for NVL-S is the same as that of
Xe2.

Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
Link: https://lore.kernel.org/r/20251016-xe3p-v3-13-3dd173a3097a@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_mocs.c

index 7b68c22ff7bbcaeed15e1fc7ee9deae164b73abb..e8ec4114302e59f501b0326ff7ecbf924679e153 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_NOVALAKE_S:
        case XE_PANTHERLAKE:
        case XE_LUNARLAKE:
        case XE_BATTLEMAGE: