diff --git a/packages/multimedia/libva/patches/libva-999.01-PR547-crocus.patch b/packages/multimedia/libva/patches/libva-999.01-PR547-crocus.patch new file mode 100644 index 0000000000..325a894686 --- /dev/null +++ b/packages/multimedia/libva/patches/libva-999.01-PR547-crocus.patch @@ -0,0 +1,22 @@ +From ae7174b3dbaefac0723a51c1c9f5f7cc004ca7cc Mon Sep 17 00:00:00 2001 +From: Jan Beich +Date: Sun, 31 Oct 2021 07:32:18 +0000 +Subject: [PATCH] VA/X11: VAAPI driver mapping for crocus DRI driver + +crocus supports Gen4 to Gen7.5, so only i965 can be used. +--- + va/x11/va_x11.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/va/x11/va_x11.c b/va/x11/va_x11.c +index 4d06acd2..9687afaf 100644 +--- a/va/x11/va_x11.c ++++ b/va/x11/va_x11.c +@@ -55,6 +55,7 @@ static const struct driver_name_map g_dri2_driver_name_map[] = { + { "i965", 4, "i965" }, // Intel i965 VAAPI driver with i965 DRI driver + { "iris", 4, "iHD" }, // Intel iHD VAAPI driver with iris DRI driver + { "iris", 4, "i965" }, // Intel i965 VAAPI driver with iris DRI driver ++ { "crocus", 6, "i965" }, // Intel i965 VAAPI driver with crocus DRI driver + { NULL, 0, NULL } + }; +