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

Reply via email to