From 865eb07c862d839bdab9ef3fd036b02c69569acd Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Nov 10 2021 20:28:06 +0000 Subject: Add crocus remapping --- diff --git a/0001-VA-X11-add-mapping-for-crocus-DRI-driver.patch b/0001-VA-X11-add-mapping-for-crocus-DRI-driver.patch new file mode 100644 index 0000000..4602653 --- /dev/null +++ b/0001-VA-X11-add-mapping-for-crocus-DRI-driver.patch @@ -0,0 +1,25 @@ +From 22ec5745feb5b2d9b0d789f2e5a70cd210ce54f8 Mon Sep 17 00:00:00 2001 +From: Dave Airlie +Date: Thu, 11 Nov 2021 06:23:31 +1000 +Subject: [PATCH] VA/X11: add mapping for crocus DRI driver + +Signed-off-by: Dave Airlie +--- + 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 4d06acd..7fc6f50 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", 4, "i965" }, // Intel i965 VAAPI driver with crocus DRI driver + { NULL, 0, NULL } + }; + +-- +2.33.1 + diff --git a/libva.spec b/libva.spec index 1a91385..a686991 100644 --- a/libva.spec +++ b/libva.spec @@ -2,12 +2,14 @@ Name: libva Version: 2.13.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video Acceleration (VA) API for Linux License: MIT URL: https://github.com/intel/libva Source0: %{url}/archive/%{version}%{?pre_release}/%{name}-%{version}%{?pre_release}.tar.gz +Patch0: 0001-VA-X11-add-mapping-for-crocus-DRI-driver.patch + BuildRequires: libtool BuildRequires: make BuildRequires: gcc @@ -83,6 +85,9 @@ find %{buildroot} -regex ".*\.la$" | xargs rm -f -- %{_libdir}/pkgconfig/libva*.pc %changelog +* Thu Nov 11 2021 Dave Airlie - 2.13.0-2 +- Add crocus remapping + * Sun Oct 03 2021 Nicolas Chauvet - 2.13.0-1 - Update to 2.13.0