Hello community,
here is the log from the commit of package xf86-video-amdgpu for
openSUSE:Factory checked in at 2020-05-09 19:49:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-amdgpu (Old)
and /work/SRC/openSUSE:Factory/.xf86-video-amdgpu.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-amdgpu"
Sat May 9 19:49:04 2020 rev:27 rq:801381 version:19.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-video-amdgpu/xf86-video-amdgpu.changes
2020-01-12 23:18:27.362684580 +0100
+++
/work/SRC/openSUSE:Factory/.xf86-video-amdgpu.new.2738/xf86-video-amdgpu.changes
2020-05-09 19:49:08.616424327 +0200
@@ -1,0 +2,6 @@
+Thu May 7 12:46:02 CEST 2020 - [email protected]
+
+- N_amdgpu-present-Check-tiling-for-newer-versions-too.patch:
+ * fix crash with external HDMI and DPMS change (bsc#1169222)
+
+-------------------------------------------------------------------
New:
----
N_amdgpu-present-Check-tiling-for-newer-versions-too.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-video-amdgpu.spec ++++++
--- /var/tmp/diff_new_pack.LxiFYK/_old 2020-05-09 19:49:09.632426508 +0200
+++ /var/tmp/diff_new_pack.LxiFYK/_new 2020-05-09 19:49:09.632426508 +0200
@@ -32,6 +32,7 @@
Source2: %{name}.keyring
Source3: amdgpu.ids
Patch0: u_fno-common.patch
+Patch1: N_amdgpu-present-Check-tiling-for-newer-versions-too.patch
BuildRequires: autoconf >= 2.6.0
BuildRequires: automake
BuildRequires: libtool
@@ -66,6 +67,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
autoreconf -fiv
++++++ N_amdgpu-present-Check-tiling-for-newer-versions-too.patch ++++++
From: Takashi Iwai <[email protected]>
Subject: present: Check tiling for newer versions, too
Patch-mainline: Never, temporary workaround
References: bsc#1169222
This is essentially a partial revert of the commit a2b32e72fdaf
present: Don't check tiling parameters with DC & DRM minor version >= 31
that caused a crash when DPMS is changed while an external HDMI
monitor is connected on the laptop.
Note that it's a temporary workaround until the actual cause gets
fixed in the kernel DRM side.
Signed-off-by: Takashi Iwai <[email protected]>
---
src/amdgpu_present.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/src/amdgpu_present.c
+++ b/src/amdgpu_present.c
@@ -305,7 +305,8 @@ amdgpu_present_check_flip(RRCrtcPtr crtc
return FALSE;
}
- if (!dc_enabled || info->dri2.pKernelDRMVersion->version_minor < 31) {
+ /* FIXME: reverted the DRM minor version check below (bsc#1169222) */
+ if (1 /*!dc_enabled || info->dri2.pKernelDRMVersion->version_minor <
31*/) {
/* The kernel driver doesn't handle flipping between BOs with
* different tiling parameters correctly
*/