summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-07-15 12:50:54 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-07-16 23:48:34 +0300
commit4c1a0fc2aeb8486956f37cad4433e4d18b45821d (patch)
tree7e7bb98dcd2668778e6f3f3d42efabbe3160ead9 /scripts/gdb/linux/utils.py
parent5dd0b96118e09a3725e3f83543e133b1fd02c18c (diff)
downloadlinux-4c1a0fc2aeb8486956f37cad4433e4d18b45821d.tar.xz
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 <tzimmermann@suse.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit fff8e0504499a929f26e2fb7cf7e2c9854e37b91)
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions