diff options
| author | Mario Limonciello <[email protected]> | 2025-02-28 19:30:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-10 17:32:58 +0000 |
| commit | 6b675ab8efbf2bcee25be29e865455c56e246401 (patch) | |
| tree | 90ec423ba4b996c9659ef634f308554a16519bd9 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amd/display: Fix slab-use-after-free on hdcp_work (diff) | |
| download | kernel-6b675ab8efbf2bcee25be29e865455c56e246401.tar.gz kernel-6b675ab8efbf2bcee25be29e865455c56e246401.zip | |
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 <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
