summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@igalia.com>2025-05-09 11:26:27 -0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-05-26 08:43:27 +0200
commitbf3197211022809d8b6a24c3aeec5f40404322b3 (patch)
tree3e96af78e45981177e83eff118e84630708cc990 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parent1f957fbb88b61eaf5ac9bf2db6bc2e54121a4359 (diff)
drm: drm_auth: Convert mutex usage to guard(mutex)
Replace open-coded mutex handling with cleanup.h guard(mutex). This simplifies the code and removes the "goto unlock" pattern. Tested with igt tests core_auth and core_setmaster. Signed-off-by: André Almeida <andrealmeid@igalia.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://lore.kernel.org/r/20250509142627.639419-1-andrealmeid@igalia.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions