All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/radeon: Do not acquire console lock during suspend/resume
@ 2025-07-15  9:50 Thomas Zimmermann
  2025-07-15  9:50 ` [PATCH 1/2] drm/radeon: Do not hold console lock while suspending clients Thomas Zimmermann
  2025-07-15  9:50 ` [PATCH 2/2] drm/radeon: Do not hold console lock during resume Thomas Zimmermann
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Zimmermann @ 2025-07-15  9:50 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, airlied, simona
  Cc: amd-gfx, dri-devel, Thomas Zimmermann

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


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

end of thread, other threads:[~2025-07-15 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15  9:50 [PATCH 0/2] drm/radeon: Do not acquire console lock during suspend/resume Thomas Zimmermann
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

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.