All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 212333] New: Bisected: 5.11.7 breaks amdgpu resume from S3
@ 2021-03-18 16:48 bugzilla-daemon
  2021-03-18 16:50 ` [Bug 212333] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2021-03-18 16:48 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=212333

            Bug ID: 212333
           Summary: Bisected: 5.11.7 breaks amdgpu resume from S3
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.11.7
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: timo.valtoaho@gmail.com
        Regression: No

Created attachment 295921
  --> https://bugzilla.kernel.org/attachment.cgi?id=295921&action=edit
Working kernel config with CONFIG_AMD_PMC is not set

After upgrading kernel 5.11.6 => 5.11.7 my Asus Vivobook S14 (Model M433I,
Ryzen 5 4500U), resume from S3 suspend is broken.

Asus has disabled S3 completely, it is not shown in BIOS/UEFI at all. I have
modified DSDT table which works fine providing working S3.

Now, after upgrade, suspend seems to happen just fine but resume gives me
scrambled screen for few seconds, then screen goes completely black and mouse
cursor shows up and is fully alive.I have to do a hard reboot to get away.

Bisecting led to this:

# first bad commit: [084b4f3304f923e39e64216a818a8bbf398dd896] drm/amdgpu: fix
S0ix handling when the CONFIG_AMD_PMC=m

When I change "CONFIG_AMD_PMC is not set" all is working again.
CONFIG_AMD_PMC=y also breaks resume. All of this applies also to 5.12-rc3 which
I tested too.

Also, removing modified DSDT and using S2idle instead of deep, is broken too.
It has never worked on this laptop. Now s2idle suspends, but resume scrambles
screen for few seconds, then it works fine on first round. Suspending second
time will end up on black screen on resume and I have to hard reboot.

OS is Kubuntu 20.10 and firmware is the latest (linux-firmware package v1.195)
taken from next release.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 212333] Bisected: 5.11.7 breaks amdgpu resume from S3
  2021-03-18 16:48 [Bug 212333] New: Bisected: 5.11.7 breaks amdgpu resume from S3 bugzilla-daemon
@ 2021-03-18 16:50 ` bugzilla-daemon
  2021-03-18 16:51 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2021-03-18 16:50 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=212333

--- Comment #1 from Timo Valtoaho (timo.valtoaho@gmail.com) ---
Created attachment 295923
  --> https://bugzilla.kernel.org/attachment.cgi?id=295923&action=edit
git bisect log

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 212333] Bisected: 5.11.7 breaks amdgpu resume from S3
  2021-03-18 16:48 [Bug 212333] New: Bisected: 5.11.7 breaks amdgpu resume from S3 bugzilla-daemon
  2021-03-18 16:50 ` [Bug 212333] " bugzilla-daemon
@ 2021-03-18 16:51 ` bugzilla-daemon
  2021-03-18 16:54 ` bugzilla-daemon
  2021-06-04 18:56 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2021-03-18 16:51 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=212333

--- Comment #2 from Timo Valtoaho (timo.valtoaho@gmail.com) ---
Created attachment 295927
  --> https://bugzilla.kernel.org/attachment.cgi?id=295927&action=edit
lspci

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 212333] Bisected: 5.11.7 breaks amdgpu resume from S3
  2021-03-18 16:48 [Bug 212333] New: Bisected: 5.11.7 breaks amdgpu resume from S3 bugzilla-daemon
  2021-03-18 16:50 ` [Bug 212333] " bugzilla-daemon
  2021-03-18 16:51 ` bugzilla-daemon
@ 2021-03-18 16:54 ` bugzilla-daemon
  2021-06-04 18:56 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2021-03-18 16:54 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=212333

Alex Deucher (alexdeucher@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #3 from Alex Deucher (alexdeucher@gmail.com) ---
See this page for more info on getting S0ix working:
https://gitlab.freedesktop.org/drm/amd/-/issues/1230

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 212333] Bisected: 5.11.7 breaks amdgpu resume from S3
  2021-03-18 16:48 [Bug 212333] New: Bisected: 5.11.7 breaks amdgpu resume from S3 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2021-03-18 16:54 ` bugzilla-daemon
@ 2021-06-04 18:56 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2021-06-04 18:56 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=212333

Timo Valtoaho (timo.valtoaho@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #4 from Timo Valtoaho (timo.valtoaho@gmail.com) ---
The link above helps. Suspend (S0ix) seems to work fine. Every now and then I
need to hard reboot my laptop, I can't find any logic for that.

One minor issue left. When ACPI events (charging and battery gets full) occur
while suspended, I need to close and reopen the lid on resume if I have
suspended using power button.

Vanilla kernels 5.12.x work like described with these 6 patches applied:

https://gitlab.freedesktop.org/agd5f/linux/-/commits/s0ix-8

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-04 18:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 16:48 [Bug 212333] New: Bisected: 5.11.7 breaks amdgpu resume from S3 bugzilla-daemon
2021-03-18 16:50 ` [Bug 212333] " bugzilla-daemon
2021-03-18 16:51 ` bugzilla-daemon
2021-03-18 16:54 ` bugzilla-daemon
2021-06-04 18:56 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.