Hello community, here is the log from the commit of package xf86-video-intel for openSUSE:Factory checked in at 2016-02-22 08:56:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-video-intel (Old) and /work/SRC/openSUSE:Factory/.xf86-video-intel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-intel" Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-video-intel/xf86-video-intel.changes 2015-09-24 06:12:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-intel.new/xf86-video-intel.changes 2016-02-22 08:56:30.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Feb 9 14:46:37 UTC 2016 - e...@suse.com + +- U_gen8-Fix-the-YUV-RGB-shader.patch + Fix video playback using XV (boo#950666). + +------------------------------------------------------------------- New: ---- U_gen8-Fix-the-YUV-RGB-shader.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-video-intel.spec ++++++ --- /var/tmp/diff_new_pack.31Lf3q/_old 2016-02-22 08:56:31.000000000 +0100 +++ /var/tmp/diff_new_pack.31Lf3q/_new 2016-02-22 08:56:31.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package xf86-video-intel # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -36,6 +36,7 @@ Patch1: u_sna-fix-missing-includes-for-fstat.patch Patch2: u_uxa-fix-missing-includes-for-fstat.patch Patch10: U_uxa_fix_the_call_to_PixmapSyncDirtyHelper_broken_by_xservers_90db5ed.patch +Patch11: U_gen8-Fix-the-YUV-RGB-shader.patch %if %glamor Requires: glamor %endif @@ -110,6 +111,7 @@ %patch1 -p1 %patch2 -p1 %patch10 -p1 +%patch11 -p1 %build ### --enable-dri3 \ ++++++ U_gen8-Fix-the-YUV-RGB-shader.patch ++++++ From: Ville Syrjälä <ville.syrj...@linux.intel.com> Date: Thu Apr 16 20:40:39 2015 +0300 Subject: [PATCH]gen8: Fix the YUV->RGB shader Patch-mainline: Upstream Git-commit: c43617b739e358064396912c7a7a8028ca91d201 Git-repo: git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel References: boo#950666 Signed-off-by: Egbert Eich <e...@suse.com> Use the correct register (Yn_01) with first half of the Y samples instead of using the register (Yn_23) with the second half twice when computing the green channel. Also use the Yn_01 register name instead of Yn for the red channel as well, just for a bit of extra consistency. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89807 Signed-off-by: Ville Syrjälä <ville.syrj...@linux.intel.com> Tested-by: Chris Wilson <ch...@chris-wilson.co.uk> --- src/render_program/exa_wm_yuv_rgb.g8a | 4 ++-- src/render_program/exa_wm_yuv_rgb.g8b | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/render_program/exa_wm_yuv_rgb.g8a b/src/render_program/exa_wm_yuv_rgb.g8a index 7def093..34973ba 100644 --- a/src/render_program/exa_wm_yuv_rgb.g8a +++ b/src/render_program/exa_wm_yuv_rgb.g8a @@ -76,7 +76,7 @@ add (16) Cbn<1>F Cb<8,8,1>F -0.501961F { compr align1 }; /* * R = Y + Cr * 1.596 */ -mov (8) acc0<1>F Yn<8,8,1>F { compr align1 }; +mov (8) acc0<1>F Yn_01<8,8,1>F { compr align1 }; mac.sat(8) src_sample_r_01<1>F Crn_01<8,8,1>F 1.596F { compr align1 }; mov (8) acc0<1>F Yn_23<8,8,1>F { compr align1 }; @@ -84,7 +84,7 @@ mac.sat(8) src_sample_r_23<1>F Crn_23<8,8,1>F 1.596F { compr align1 }; /* * G = Crn * -0.813 + Cbn * -0.392 + Y */ -mov (8) acc0<1>F Yn_23<8,8,1>F { compr align1 }; +mov (8) acc0<1>F Yn_01<8,8,1>F { compr align1 }; mac (8) acc0<1>F Crn_01<8,8,1>F -0.813F { compr align1 }; mac.sat(8) src_sample_g_01<1>F Cbn_01<8,8,1>F -0.392F { compr align1 }; diff --git a/src/render_program/exa_wm_yuv_rgb.g8b b/src/render_program/exa_wm_yuv_rgb.g8b index 4494953..2cd6fc4 100644 --- a/src/render_program/exa_wm_yuv_rgb.g8b +++ b/src/render_program/exa_wm_yuv_rgb.g8b @@ -6,7 +6,7 @@ { 0x80600048, 0x21c03ae8, 0x3e8d02c0, 0x3fcc49ba }, { 0x00600001, 0x24003ae0, 0x008d0320, 0x00000000 }, { 0x80600048, 0x21e03ae8, 0x3e8d02e0, 0x3fcc49ba }, - { 0x00600001, 0x24003ae0, 0x008d0320, 0x00000000 }, + { 0x00600001, 0x24003ae0, 0x008d0300, 0x00000000 }, { 0x00600048, 0x24003ae0, 0x3e8d02c0, 0xbf5020c5 }, { 0x80600048, 0x22003ae8, 0x3e8d0340, 0xbec8b439 }, { 0x00600001, 0x24003ae0, 0x008d0320, 0x00000000 },