From 03c0b880ae4b1a936b6182c25dfa42ee8a05d401 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Mon, 22 Jun 2020 10:53:42 +0800 Subject: intel-vaapi-driver: upgrade 2.4.0 -> 2.4.1 Drop the backported patches as the fixes are in this release. Signed-off-by: Anuj Mittal --- ...1-Fix-HEVCe-kernel-compile-error-on-gcc10.patch | 35 -------------------- ...cast-VA_STATSUS_ERROR_UNKNOWN-to-VAStatus.patch | 33 ------------------- .../libva/intel-vaapi-driver_2.4.0.bb | 37 ---------------------- .../libva/intel-vaapi-driver_2.4.1.bb | 34 ++++++++++++++++++++ 4 files changed, 34 insertions(+), 105 deletions(-) delete mode 100644 recipes-multimedia/libva/intel-vaapi-driver/0001-Fix-HEVCe-kernel-compile-error-on-gcc10.patch delete mode 100644 recipes-multimedia/libva/intel-vaapi-driver/0002-test-cast-VA_STATSUS_ERROR_UNKNOWN-to-VAStatus.patch delete mode 100644 recipes-multimedia/libva/intel-vaapi-driver_2.4.0.bb create mode 100644 recipes-multimedia/libva/intel-vaapi-driver_2.4.1.bb (limited to 'recipes-multimedia') diff --git a/recipes-multimedia/libva/intel-vaapi-driver/0001-Fix-HEVCe-kernel-compile-error-on-gcc10.patch b/recipes-multimedia/libva/intel-vaapi-driver/0001-Fix-HEVCe-kernel-compile-error-on-gcc10.patch deleted file mode 100644 index f7af3c4f..00000000 --- a/recipes-multimedia/libva/intel-vaapi-driver/0001-Fix-HEVCe-kernel-compile-error-on-gcc10.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b39e160d3974613328c570f46ecbcbcb70a5101b Mon Sep 17 00:00:00 2001 -From: "U. Artie Eoff" -Date: Tue, 12 May 2020 11:01:30 -0700 -Subject: [PATCH 1/2] Fix HEVCe kernel compile error on gcc10 - -This fixes a "multiple definition" compiler error on -gcc10 which defaults to -fno-common. - -https://gcc.gnu.org/gcc-10/porting_to.html#common - -Fixes #503 - -Signed-off-by: U. Artie Eoff - -Upstream-Status: Backport [https://github.com/intel/intel-vaapi-driver/commit/b39e160d3974613328c570f46ecbcbcb70a5101b] -Signed-off-by: Anuj Mittal ---- - src/gen9_hevc_enc_kernels_binary.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gen9_hevc_enc_kernels_binary.h b/src/gen9_hevc_enc_kernels_binary.h -index 29659fa..ff7d0af 100644 ---- a/src/gen9_hevc_enc_kernels_binary.h -+++ b/src/gen9_hevc_enc_kernels_binary.h -@@ -31,6 +31,6 @@ - - #define GEN9_HEVC_ENC_KERNEL_SIZE 149296 - --const unsigned int gen9_hevc_encoder_kernels[GEN9_HEVC_ENC_KERNEL_SIZE]; -+extern const unsigned int gen9_hevc_encoder_kernels[GEN9_HEVC_ENC_KERNEL_SIZE]; - - #endif --- -2.25.4 - diff --git a/recipes-multimedia/libva/intel-vaapi-driver/0002-test-cast-VA_STATSUS_ERROR_UNKNOWN-to-VAStatus.patch b/recipes-multimedia/libva/intel-vaapi-driver/0002-test-cast-VA_STATSUS_ERROR_UNKNOWN-to-VAStatus.patch deleted file mode 100644 index d17d901c..00000000 --- a/recipes-multimedia/libva/intel-vaapi-driver/0002-test-cast-VA_STATSUS_ERROR_UNKNOWN-to-VAStatus.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 625d2651258db881d92eb5ffc97cb4f4f1fda239 Mon Sep 17 00:00:00 2001 -From: "U. Artie Eoff" -Date: Tue, 12 May 2020 11:03:26 -0700 -Subject: [PATCH 2/2] test: cast VA_STATSUS_ERROR_UNKNOWN to VAStatus - -This fixes a gcc10 compiler error for the -VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF conversion from -unsigned int to int. - -Signed-off-by: U. Artie Eoff - -Upstream-Status: Backport [https://github.com/intel/intel-vaapi-driver/commit/625d2651258db881d92eb5ffc97cb4f4f1fda239] -Signed-off-by: Anuj Mittal ---- - test/test.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/test/test.h b/test/test.h -index 5d3fdc8..fc23ad1 100644 ---- a/test/test.h -+++ b/test/test.h -@@ -147,7 +147,7 @@ public: - status = "VA_STATUS_ERROR_HW_BUSY"; break; - case VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE: - status = "VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE"; break; -- case VA_STATUS_ERROR_UNKNOWN: -+ case VAStatus(VA_STATUS_ERROR_UNKNOWN): - status = "VA_STATUS_ERROR_UNKNOWN"; break; - default: - status = "Unknown VAStatus"; --- -2.25.4 - diff --git a/recipes-multimedia/libva/intel-vaapi-driver_2.4.0.bb b/recipes-multimedia/libva/intel-vaapi-driver_2.4.0.bb deleted file mode 100644 index 48e53f95..00000000 --- a/recipes-multimedia/libva/intel-vaapi-driver_2.4.0.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "VA driver for Intel G45 & HD Graphics family" -DESCRIPTION = "intel-vaapi-driver is the VA-API implementation \ -for Intel G45 chipsets and Intel HD Graphics for Intel Core \ -processor family." - -HOMEPAGE = "https://github.com/intel/intel-vaapi-driver" -BUGTRACKER = "https://github.com/intel/intel-vaapi-driver/issues" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" - -COMPATIBLE_HOST = '(i.86|x86_64).*-linux' - -DEPENDS = "libva libdrm" - -SRC_URI = "https://github.com/intel/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.bz2 \ - file://0001-Fix-HEVCe-kernel-compile-error-on-gcc10.patch \ - file://0002-test-cast-VA_STATSUS_ERROR_UNKNOWN-to-VAStatus.patch \ - " - -SRC_URI[md5sum] = "731dd9aaf9f5ef1b9c906ce82ef0220b" -SRC_URI[sha256sum] = "71e2ddd985af6b221389db1018c4e8ca27a7f939fb51dcdf49d0efcb5ff3d089" - -UPSTREAM_CHECK_URI = "https://github.com/intel/intel-vaapi-driver/releases" - -inherit meson pkgconfig ${COMPAT_DISTRO_FEATURE_CHECK} - -REQUIRED_DISTRO_FEATURES = "opengl" - -PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)} \ - ${@bb.utils.contains("DISTRO_FEATURES", "opengl wayland", "wayland", "", d)}" -PACKAGECONFIG[x11] = "-Dwith_x11=yes, -Dwith_x11=no" -PACKAGECONFIG[wayland] = "-Dwith_wayland=yes, -Dwith_wayland=no, wayland wayland-native virtual/egl" - -FILES_${PN} += "${libdir}/dri/*.so" -FILES_${PN}-dev += "${libdir}/dri/*.la" -FILES_${PN}-dbg += "${libdir}/dri/.debug" diff --git a/recipes-multimedia/libva/intel-vaapi-driver_2.4.1.bb b/recipes-multimedia/libva/intel-vaapi-driver_2.4.1.bb new file mode 100644 index 00000000..2112af2c --- /dev/null +++ b/recipes-multimedia/libva/intel-vaapi-driver_2.4.1.bb @@ -0,0 +1,34 @@ +SUMMARY = "VA driver for Intel G45 & HD Graphics family" +DESCRIPTION = "intel-vaapi-driver is the VA-API implementation \ +for Intel G45 chipsets and Intel HD Graphics for Intel Core \ +processor family." + +HOMEPAGE = "https://github.com/intel/intel-vaapi-driver" +BUGTRACKER = "https://github.com/intel/intel-vaapi-driver/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" + +COMPATIBLE_HOST = '(i.86|x86_64).*-linux' + +DEPENDS = "libva libdrm" + +SRC_URI = "https://github.com/intel/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.bz2 \ + " + +SRC_URI[sha256sum] = "0081fce08eb3a83f7d99c3b853c8fdfa0af437b8f5b0fb7c66faeb83bcbe0c19" + +UPSTREAM_CHECK_URI = "https://github.com/intel/intel-vaapi-driver/releases" + +inherit meson pkgconfig ${COMPAT_DISTRO_FEATURE_CHECK} + +REQUIRED_DISTRO_FEATURES = "opengl" + +PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "opengl wayland", "wayland", "", d)}" +PACKAGECONFIG[x11] = "-Dwith_x11=yes, -Dwith_x11=no" +PACKAGECONFIG[wayland] = "-Dwith_wayland=yes, -Dwith_wayland=no, wayland wayland-native virtual/egl" + +FILES_${PN} += "${libdir}/dri/*.so" +FILES_${PN}-dev += "${libdir}/dri/*.la" +FILES_${PN}-dbg += "${libdir}/dri/.debug" -- cgit v1.2.3-54-g00ecf