From: bugzilla-daemon@kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 220553] New: Suspend to mem fails on rx5600xt (regression in 6.16.2)
Date: Mon, 08 Sep 2025 20:31:45 +0000 [thread overview]
Message-ID: <bug-220553-2300@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=220553
Bug ID: 220553
Summary: Suspend to mem fails on rx5600xt (regression in
6.16.2)
Product: Drivers
Version: 2.5
Hardware: AMD
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri@kernel-bugs.osdl.org
Reporter: rbmccav@gmail.com
Regression: No
Created attachment 308637
--> https://bugzilla.kernel.org/attachment.cgi?id=308637&action=edit
git diff that demonstrates what fixed it for me
The GPU reset fails when attempting to suspend. First noticed in 6.16.2 (on
arch) and it still occurs with 6.17.0-rc5. This in the dmesg:
[ 25.934105] amdgpu 0000:2d:00.0: amdgpu: MODE1 reset
[ 25.934111] amdgpu 0000:2d:00.0: amdgpu: GPU mode1 reset
[ 25.934172] amdgpu 0000:2d:00.0: amdgpu: GPU psp mode1 reset
[ 26.656776] amdgpu 0000:2d:00.0: amdgpu: psp reg (0x16061) wait timed out,
mask: 8000ffff, read: ffffffff exp: 80000000
[ 26.656780] [drm] psp mode 1 reset failed!
[ 26.656782] amdgpu 0000:2d:00.0: amdgpu: GPU mode1 reset failed
[ 26.656783] amdgpu 0000:2d:00.0: PM: pci_pm_suspend_noirq():
amdgpu_pmops_suspend_noirq [amdgpu] returns -22
[ 26.656944] amdgpu 0000:2d:00.0: PM: dpm_run_callback():
pci_pm_suspend_noirq returns -22
[ 26.656949] amdgpu 0000:2d:00.0: PM: failed to suspend async noirq: error
-22
[ 26.706582] PM: noirq suspend of devices failed
I tracked it down to commit 8345a71fc54b which replaces numbers with named
constants, but it has several errors in which named constant is used, and the
two introduced MASKs are the same when only one should include the STATUS_MASK.
Note that the preexisting comment on some of the psp_wait_for actually did not
reflect what the code was doing and that may have caused the error in this
commit.
Restoring the numbers back to the original values solves my problem. To help
out, I have attached the patch I used.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next reply other threads:[~2025-09-08 20:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 20:31 bugzilla-daemon [this message]
2025-09-08 20:32 ` [Bug 220553] Suspend to mem fails on rx5600xt (regression in 6.16.2) bugzilla-daemon
2025-09-09 18:16 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-220553-2300@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.