summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_mocs.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-02-23 21:57:35 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:29:42 +0300
commit579a6546d33c92d810d19e971fd85ee4d0b9a5ce (patch)
tree86e5741c215bd3618abfb0024c58e05319eee535 /drivers/gpu/drm/xe/xe_mocs.c
parent7bc08d2f49b065cbabca8caad142df147b96dfff (diff)
downloadlinux-579a6546d33c92d810d19e971fd85ee4d0b9a5ce.tar.xz
drm/xe/mocs: Add missing RKL handling
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>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_mocs.c')
-rw-r--r--drivers/gpu/drm/xe/xe_mocs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
index 618b0069bcba..7f0dd7e7364d 100644
--- a/drivers/gpu/drm/xe/xe_mocs.c
+++ b/drivers/gpu/drm/xe/xe_mocs.c
@@ -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);