linux/drivers/gpu/drm/amd
Mario Limonciello 6b675ab8ef drm/amd/display: Add scoped mutexes for amdgpu_dm_dhcp
[Why]
Guards automatically release mutex when it goes out of scope making
code easier to follow.

[How]
Replace all use of mutex_lock()/mutex_unlock() with guard(mutex).

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
History 2025-03-10 13:32:58 -04:00
..
acp drivers/gpu: Fix misalignment in comment block 2024-05-29 14:48:30 -04:00
amdgpu drm/amdgpu/vcn: fix idle work handler for VCN 2.5 2025-03-10 13:22:05 -04:00
amdkfd drm/amdkfd: Add pm_config_dequeue_wait_counts API 2025-03-10 13:23:12 -04:00
amdxcp drm/amd/amdxcp: Fix warnings 2024-05-08 15:17:05 -04:00
display drm/amd/display: Add scoped mutexes for amdgpu_dm_dhcp 2025-03-10 13:32:58 -04:00
include drm/amdkfd: Add support for more per-process flag 2025-03-07 15:33:49 -05:00
pm drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create() 2025-03-07 12:55:56 -05:00