drm/xe/mocs: Add missing RKL handling
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 23 Feb 2023 18:57:35 +0000 (10:57 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:29:42 +0000 (18:29 -0500)
RKL should use the same "gen12" MOCS handling as TGL/ADL-S/ADL-P.

Bspec: 45101
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_mocs.c

index 618b0069bcbae3e5e846c940df8ec956cdcd7852..7f0dd7e7364d52c0db013bcb3a86b6e61cdc355e 100644 (file)
@@ -381,6 +381,7 @@ static unsigned int get_mocs_settings(struct xe_device *xe,
                info->unused_entries_index = 5;
                break;
        case XE_TIGERLAKE:
+       case XE_ROCKETLAKE:
        case XE_ALDERLAKE_S:
        case XE_ALDERLAKE_P:
                info->size  = ARRAY_SIZE(gen12_mocs_desc);