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 <anuj.mittal@intel.com>
This commit is contained in:
Anuj Mittal 2020-06-22 10:53:42 +08:00
parent d7c8cc9f47
commit 03c0b880ae
3 changed files with 1 additions and 72 deletions

View File

@ -1,35 +0,0 @@
From b39e160d3974613328c570f46ecbcbcb70a5101b Mon Sep 17 00:00:00 2001
From: "U. Artie Eoff" <ullysses.a.eoff@intel.com>
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 <ullysses.a.eoff@intel.com>
Upstream-Status: Backport [https://github.com/intel/intel-vaapi-driver/commit/b39e160d3974613328c570f46ecbcbcb70a5101b]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
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

View File

@ -1,33 +0,0 @@
From 625d2651258db881d92eb5ffc97cb4f4f1fda239 Mon Sep 17 00:00:00 2001
From: "U. Artie Eoff" <ullysses.a.eoff@intel.com>
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 <ullysses.a.eoff@intel.com>
Upstream-Status: Backport [https://github.com/intel/intel-vaapi-driver/commit/625d2651258db881d92eb5ffc97cb4f4f1fda239]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
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

View File

@ -14,12 +14,9 @@ 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"
SRC_URI[sha256sum] = "0081fce08eb3a83f7d99c3b853c8fdfa0af437b8f5b0fb7c66faeb83bcbe0c19"
UPSTREAM_CHECK_URI = "https://github.com/intel/intel-vaapi-driver/releases"