From: Matt Roper Date: Thu, 23 Feb 2023 18:57:35 +0000 (-0800) Subject: drm/xe/mocs: Add missing RKL handling X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=579a6546d33c92d810d19e971fd85ee4d0b9a5ce;p=linux.git 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 Reviewed-by: Lucas De Marchi Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c index 618b0069bcbae..7f0dd7e7364d5 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);