From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 103277] [bisected] Systems hangs on resume from S3 sleep due to "Match actual state during S3 resume" commit Date: Sat, 14 Oct 2017 16:06:04 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1142679855==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E32F6E0AF for ; Sat, 14 Oct 2017 16:06:04 +0000 (UTC) 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 --===============1142679855== Content-Type: multipart/alternative; boundary="15079971630.eF70F4.411"; charset="UTF-8" --15079971630.eF70F4.411 Date: Sat, 14 Oct 2017 16:06:03 +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=3D103277 Bug ID: 103277 Summary: [bisected] Systems hangs on resume from S3 sleep due to "Match actual state during S3 resume" commit Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: jb5sgc1n.nya@20mm.eu After I updated my kernel to https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm-next as = of today (latest commit at this time:=20=20=20=20 1c630e83443a0f271c192ecfa0d94023661a0000) I noticed that my computer would = no longer wake up from S3 sleep - power LED goes on, but apart from that no display and no reaction to any input (other than Num-Lock still switchable). The difference to the ~2 weeks older kernel was 100% reproducable by just doing: - boot to console (no start of X11 required) and login as root - echo "mem" >/sys/power/state - wait till power LED blinks - press some key to wake up the system - observe no display output and no reaction to anything GPU is a RX 460, CPU a Ryzen R7 1800X, board Asus X370 Pro, connected is on= e 4k display via HDMI 2.0. I bisected the git commits, and the one that causes the bug is: > 7ae4acd21e9e264afb079e23d43bcf2238c7dbea > drm/amd/display: Match actual state during S3 resume. After this, I went back to the current HEAD of amd-staging-drm-next and (manually) reverted only commit 7ae4acd21e9e264afb079e23d43bcf2238c7dbea, a= nd this indeed results in a kernel that works fine with regards to resuming fr= om S3 sleep. There are no noteworthy "dmesg"-emissions that accompany going to S3 sleep,= but the dmesg-output that I can collect ends slightly before the system actually sleeps, so wether anything is emitted upon the wake-up attempt, I have no w= ay to know. --=20 You are receiving this mail because: You are the assignee for the bug.= --15079971630.eF70F4.411 Date: Sat, 14 Oct 2017 16:06:03 +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
Bug ID 103277
Summary [bisected] Systems hangs on resume from S3 sleep due to "= ;Match actual state during S3 resume" commit
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity blocker
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter jb5sgc1n.nya@20mm.eu

After I updated my kernel to
https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm=
-next as of
today (latest commit at this time:=20=20=20=20
1c630e83443a0f271c192ecfa0d94023661a0000) I noticed that my computer would =
no
longer wake up from S3 sleep - power LED goes on, but apart from that no
display and no reaction to any input (other than Num-Lock still switchable).

The difference to the ~2 weeks older kernel was 100% reproducable by just
doing:

- boot to console (no start of X11 required) and login as root
- echo "mem" >/sys/power/state
- wait till power LED blinks
- press some key to wake up the system
- observe no display output and no reaction to anything

GPU is a RX 460, CPU a Ryzen R7 1800X, board Asus X370 Pro, connected is on=
e 4k
display via HDMI 2.0.

I bisected the git commits, and the one that causes the bug is:

>  7ae4acd21e9e264afb079e23d43bcf2238c7dbea
>  drm/amd/display: Match actual state during S3 resume.

After this, I went back to the current HEAD of amd-staging-drm-next and
(manually) reverted only commit 7ae4acd21e9e264afb079e23d43bcf2238c7dbea, a=
nd
this indeed results in a kernel that works fine with regards to resuming fr=
om
S3 sleep.

There are no noteworthy "dmesg"-emissions that accompany going to=
 S3 sleep, but
the dmesg-output that I can collect ends slightly before the system actually
sleeps, so wether anything is emitted upon the wake-up attempt, I have no w=
ay
to know.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15079971630.eF70F4.411-- --===============1142679855== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1142679855==--