From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 103102] Cannot wake-up with an AMD RX 480 on Linux 4.13 and
Linux 4.14
Date: Fri, 13 Oct 2017 20:11:51 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0427291001=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id C1B326E249
for ; Fri, 13 Oct 2017 20:11:50 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0427291001==
Content-Type: multipart/alternative; boundary="15079255100.CF84AeE.22307";
charset="UTF-8"
--15079255100.CF84AeE.22307
Date: Fri, 13 Oct 2017 20:11:50 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D103102
--- Comment #10 from Hadrien ---
I built v4.12.5 from
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git inste=
ad
of using a prebuilt kernel from
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/ and I unexpectedly f=
aced
the problem.
I wonder why I cannot reproduce the problem with Ubuntu's version of kernel
4.12.5. Maybe there are some Ubuntu specific patches that hide the problem?
Anyway, I rebuilt v4.2.5 again but this time I removed the code from the co=
mmit
referenced on kernel.org Bugzilla:
---------------------------------------------------------------------------=
---------------------------
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
index c0a806280257..f862e3d9cd93 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
@@ -838,9 +838,10 @@ static int amdgpu_cgs_get_active_displays_info(struct
cgs_device *cgs_device,
return -EINVAL;
mode_info =3D info->mode_info;
+
if (mode_info) {
/* if the displays are off, vblank time is max */
- mode_info->vblank_time_us =3D 0xffffffff;
+ /*mode_info->vblank_time_us =3D 0xffffffff;*/
/* always set the reference clock */
mode_info->ref_clock =3D adev->clock.spll.reference_freq;
}
---------------------------------------------------------------------------=
---------------------------
And I cannot reproduce the problem anymore. So I guess this is actually the
same problem than https://bugzilla.kernel.org/show_bug.cgi?id=3D196615
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15079255100.CF84AeE.22307
Date: Fri, 13 Oct 2017 20:11:50 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comme=
nt # 10
on bug 10310=
2
from Hadrien
I built v4.12.5 from
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git inste=
ad
of using a prebuilt kernel from
http://k=
ernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/ and I unexpectedly faced
the problem.
I wonder why I cannot reproduce the problem with Ubuntu's version of kernel
4.12.5. Maybe there are some Ubuntu specific patches that hide the problem?
Anyway, I rebuilt v4.2.5 again but this time I removed the code from the co=
mmit
referenced on kernel.org Bugzilla:
---------------------------------------------------------------------------=
---------------------------
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
index c0a806280257..f862e3d9cd93 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
@@ -838,9 +838,10 @@ static int amdgpu_cgs_get_active_displ=
ays_info(struct
cgs_device *cgs_device,
return -EINVAL;
mode_info =3D info->mode_info;
+
if (mode_info) {
/* if the displays are off, vblank time is max */
- mode_info->vblank_time_us =3D 0xffffffff;
+ /*mode_info->vblank_time_us =3D 0xffffffff;*/
/* always set the reference clock */
mode_info->ref_clock =3D adev->clock.spll.reference_f=
req;
}
---------------------------------------------------------------------------=
---------------------------
And I cannot reproduce the problem anymore. So I guess this is actually the
same problem than https://bugzilla.kernel.org/show_bug.cgi?id=3D196615
You are receiving this mail because:
- You are the assignee for the bug.
=
--15079255100.CF84AeE.22307--
--===============0427291001==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0427291001==--