From: Thomas Zimmermann <tzimmermann@suse.de>
To: alexander.deucher@amd.com, christian.koenig@amd.com,
airlied@gmail.com, simona@ffwll.ch
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 0/2] drm/radeon: Do not acquire console lock during suspend/resume
Date: Tue, 15 Jul 2025 11:50:52 +0200 [thread overview]
Message-ID: <20250715095536.58757-1-tzimmermann@suse.de> (raw)
Radeon is the only driver acquiring the console lock on suspend and
resume by itself. This creates cyclic locking dependencies with the
client-list mutex.
Drop the console locking from radeon and let fbdev client handle the
console locking as necessary. Adopts the behavior of all other DRM
drivers. Fixes the cyclic locking.
Tested by repeatedly suspeding/resuming on Radeon HD 6570.
Thomas Zimmermann (2):
drm/radeon: Do not hold console lock while suspending clients
drm/radeon: Do not hold console lock during resume
drivers/gpu/drm/radeon/radeon_device.c | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
--
2.50.0
next reply other threads:[~2025-07-15 9:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-15 9:50 Thomas Zimmermann [this message]
2025-07-15 9:50 ` [PATCH 1/2] drm/radeon: Do not hold console lock while suspending clients Thomas Zimmermann
2025-07-15 13:53 ` Alex Deucher
2025-07-15 9:50 ` [PATCH 2/2] drm/radeon: Do not hold console lock during resume Thomas Zimmermann
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=20250715095536.58757-1-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=simona@ffwll.ch \
/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.