[Intel-xe] [PATCH 2/6] drm/xe/mocs: Add missing RKL handling

Lucas De Marchi lucas.demarchi at intel.com
Wed Feb 22 23:35:31 UTC 2023


On Thu, Feb 16, 2023 at 03:17:20PM -0800, Matt Roper wrote:
>RKL should use the same "gen12" MOCS handling as TGL/ADL-S/ADL-P.
>
>Bspec: 45101
>Signed-off-by: Matt Roper <matthew.d.roper at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>


Lucas De Marchi

>---
> drivers/gpu/drm/xe/xe_mocs.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
>index 09adb69d1545..ec89ff3ac29b 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);
>-- 
>2.39.1
>


More information about the Intel-xe mailing list