diff options
| author | 2025-02-28 13:30:01 -0600 | |
|---|---|---|
| committer | 2025-03-10 13:32:58 -0400 | |
| commit | 6b675ab8efbf2bcee25be29e865455c56e246401 (patch) | |
| tree | 90ec423ba4b996c9659ef634f308554a16519bd9 /scripts/Makefile.thinlto | |
| parent | drm/amd/display: Fix slab-use-after-free on hdcp_work (diff) | |
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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
