[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#768971: unblock: intel-vaapi-driver/1.4.1-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package intel-vaapi-driver. It fixes a segmentation fault on
unsupported platforms (Intel graphics chip without VA-API support) as reported
on the upstream mailing list [1].

unblock intel-vaapi-driver/1.4.1-2

Cheers

[1] http://lists.freedesktop.org/archives/libva/2014-October/002799.html
-- 
Sebastian Ramacher
diff -Nru intel-vaapi-driver-1.4.1/debian/changelog intel-vaapi-driver-1.4.1/debian/changelog
--- intel-vaapi-driver-1.4.1/debian/changelog	2014-10-24 13:49:05.000000000 +0200
+++ intel-vaapi-driver-1.4.1/debian/changelog	2014-11-10 13:59:50.000000000 +0100
@@ -1,3 +1,10 @@
+intel-vaapi-driver (1.4.1-2) unstable; urgency=medium
+
+  * debian/patches/0002-avoid_segfault_on_unsupported_platforms.patch: Apply
+    upstream patch to avoid segmentation faults on unsupported platforms.
+
+ -- Sebastian Ramacher <sramacher@debian.org>  Mon, 10 Nov 2014 13:59:29 +0100
+
 intel-vaapi-driver (1.4.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru intel-vaapi-driver-1.4.1/debian/patches/0002-avoid_segfault_on_unsupported_platforms.patch intel-vaapi-driver-1.4.1/debian/patches/0002-avoid_segfault_on_unsupported_platforms.patch
--- intel-vaapi-driver-1.4.1/debian/patches/0002-avoid_segfault_on_unsupported_platforms.patch	1970-01-01 01:00:00.000000000 +0100
+++ intel-vaapi-driver-1.4.1/debian/patches/0002-avoid_segfault_on_unsupported_platforms.patch	2014-11-10 13:47:53.000000000 +0100
@@ -0,0 +1,31 @@
+Description: Avoid segfailt on unsupported platforms
+ Call preinit_hw_codec callback after successful initialization to avoid segment
+ fault issue on unsupported platforms.
+Origin: upstream,
+ http://cgit.freedesktop.org/vaapi/intel-driver/commit/?h=v1.4-branch&id=eb097b1a39b69af76b5575835255cb4653195c1c
+Last-Update: 2014-11-10
+
+diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
+index ba7c7be..e768537 100644
+--- a/src/i965_drv_video.c
++++ b/src/i965_drv_video.c
+@@ -5669,9 +5669,6 @@ i965_Init(VADriverContextP ctx)
+             break;
+     }
+ 
+-    if (i965->codec_info->preinit_hw_codec)
+-        i965->codec_info->preinit_hw_codec(ctx, i965->codec_info);
+-
+     if (i == ARRAY_ELEMS(i965_sub_ops)) {
+         switch (i965->intel.device_id) {
+ #undef CHIPSET
+@@ -5697,6 +5694,9 @@ i965_Init(VADriverContextP ctx)
+ 
+         i965->current_context_id = VA_INVALID_ID;
+ 
++        if (i965->codec_info && i965->codec_info->preinit_hw_codec)
++            i965->codec_info->preinit_hw_codec(ctx, i965->codec_info);
++
+         return VA_STATUS_SUCCESS;
+     } else {
+         i--;
diff -Nru intel-vaapi-driver-1.4.1/debian/patches/series intel-vaapi-driver-1.4.1/debian/patches/series
--- intel-vaapi-driver-1.4.1/debian/patches/series	2014-06-16 10:28:59.000000000 +0200
+++ intel-vaapi-driver-1.4.1/debian/patches/series	2014-11-10 13:48:20.000000000 +0100
@@ -1 +1,2 @@
 0001-Fix_FTBFS_on_kFreeBSD.patch
+0002-avoid_segfault_on_unsupported_platforms.patch

Attachment: signature.asc
Description: Digital signature


Reply to: