aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-07-15 09:50:54 +0000
committerAlex Deucher <[email protected]>2025-07-16 20:48:34 +0000
commit4c1a0fc2aeb8486956f37cad4433e4d18b45821d (patch)
tree7e7bb98dcd2668778e6f3f3d42efabbe3160ead9 /lib/crypto/mpi/mpi-sub-ui.c
parentdrm/radeon: Do not hold console lock while suspending clients (diff)
downloadkernel-4c1a0fc2aeb8486956f37cad4433e4d18b45821d.tar.gz
kernel-4c1a0fc2aeb8486956f37cad4433e4d18b45821d.zip
drm/radeon: Do not hold console lock during resume
The function radeon_resume_kms() acquires the console lock. It is inconsistent, as it depends on the notify_client argument. That lock then covers a number of suspend operations that are unrelated to the console. Remove the calls to console_lock() and console_unlock() from the radeon function. The console lock is only required by DRM's fbdev emulation, which acquires it as necessary. Also fixes a possible circular dependency between the console lock and the client-list mutex, where the mutex is supposed to be taken first. Signed-off-by: Thomas Zimmermann <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit fff8e0504499a929f26e2fb7cf7e2c9854e37b91)
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions