Hello community,

here is the log from the commit of package intel-gpu-tools for openSUSE:Factory 
checked in at 2019-01-21 10:07:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/intel-gpu-tools (Old)
 and      /work/SRC/openSUSE:Factory/.intel-gpu-tools.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "intel-gpu-tools"

Mon Jan 21 10:07:48 2019 rev:33 rq:664625 version:1.23

Changes:
--------
--- /work/SRC/openSUSE:Factory/intel-gpu-tools/intel-gpu-tools.changes  
2018-11-20 22:31:38.610625335 +0100
+++ 
/work/SRC/openSUSE:Factory/.intel-gpu-tools.new.28833/intel-gpu-tools.changes   
    2019-01-21 10:07:49.970832080 +0100
@@ -1,0 +2,14 @@
+Fri Jan 11 12:03:30 UTC 2019 - [email protected]
+
+- U_lib-fb-Fix-rgb24-to-nv12-conversion.patch
+  * official upstream patch
+  * supersedes gcc9-fix.patch
+- u_lib-fb-Fix-rgb24-to-nv12-conversion-once-more.patch
+  * supposed to fix patch right above (fdo#109257)
+
+-------------------------------------------------------------------
+Fri Jan 11 10:21:38 UTC 2019 - Martin Liška <[email protected]>
+
+- Add gcc9-fix.patch (boo#1121229).
+
+-------------------------------------------------------------------

New:
----
  U_lib-fb-Fix-rgb24-to-nv12-conversion.patch
  u_lib-fb-Fix-rgb24-to-nv12-conversion-once-more.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ intel-gpu-tools.spec ++++++
--- /var/tmp/diff_new_pack.tQndqC/_old  2019-01-21 10:07:50.550831494 +0100
+++ /var/tmp/diff_new_pack.tQndqC/_new  2019-01-21 10:07:50.554831490 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package intel-gpu-tools
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
 Patch1:         n_disable-build-of-gem_userptr_blits.patch
 Patch2:         u_%{name}-1.7-fix-bashisms.patch
 Patch3:         u_respect_cflags.diff
+Patch4:         U_lib-fb-Fix-rgb24-to-nv12-conversion.patch
+Patch5:         u_lib-fb-Fix-rgb24-to-nv12-conversion-once-more.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Intel GPU is only available on x86 and x86-64
 ExclusiveArch:  %ix86 x86_64
@@ -68,12 +70,14 @@
 %endif
 %patch2
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 %build
 ./autogen.sh
 autoreconf -fi
 %configure --enable-gtk-doc
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 %make_install

++++++ U_lib-fb-Fix-rgb24-to-nv12-conversion.patch ++++++
>From f01796214bbde31e37b0593e547ad9436fdd02ba Mon Sep 17 00:00:00 2001
From: Petri Latvala <[email protected]>
Date: Wed, 9 Jan 2019 14:28:29 +0200
Subject: [PATCH] lib/fb: Fix rgb24 to nv12 conversion
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

A typo fix in 1x2 pixel block conversion code, revealed by GCC 9

Fixes: 1c7ef3890045 ("lib: Use igt_matrix for ycbcr<->rgb conversion")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109257
Reported-by: Martin Liska <[email protected]>
Signed-off-by: Petri Latvala <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
---
 lib/igt_fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 8244e517..5cd1829a 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -1779,7 +1779,7 @@ static void convert_rgb24_to_nv12(struct fb_convert *cvt)
                        struct igt_vec4 yuv[2];
 
                        read_rgb(&rgb[0], &rgb24[j * 8 + 0]);
-                       read_rgb(&rgb[2], &rgb24[j * 8 + 0 + rgb24_stride]);
+                       read_rgb(&rgb[1], &rgb24[j * 8 + 0 + rgb24_stride]);
 
                        yuv[0] = igt_matrix_transform(&m, &rgb[0]);
                        yuv[1] = igt_matrix_transform(&m, &rgb[1]);
-- 
2.16.4


++++++ u_lib-fb-Fix-rgb24-to-nv12-conversion-once-more.patch ++++++
>From e2d6c53af0881e2429e3b2fd60a3fe5862642e25 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <[email protected]>
Date: Fri, 11 Jan 2019 12:49:56 +0100
Subject: [PATCH] lib/fb: Fix rgb24 to nv12 conversion (once more)

One more fix in 1x2 pixel block conversion code, originally revealed by GCC 9
Fixes: 1c7ef3890045 ("lib: Use igt_matrix for ycbcr<->rgb conversion")
Fixes: f01796214bbd ("lib/fb: Fix rgb24 to nv12 conversion")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109257
Reported-by: Martin Liska <[email protected]>
Signed-off-by: Stefan Dirsch <[email protected]>
---
 lib/igt_fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 5cd1829a..f3fe43fb 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -1779,7 +1779,7 @@ static void convert_rgb24_to_nv12(struct fb_convert *cvt)
                        struct igt_vec4 yuv[2];
 
                        read_rgb(&rgb[0], &rgb24[j * 8 + 0]);
-                       read_rgb(&rgb[1], &rgb24[j * 8 + 0 + rgb24_stride]);
+                       read_rgb(&rgb[1], &rgb24[j * 8 + 4]);
 
                        yuv[0] = igt_matrix_transform(&m, &rgb[0]);
                        yuv[1] = igt_matrix_transform(&m, &rgb[1]);
-- 
2.16.4


Reply via email to