diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-28 13:30:01 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-10 13:32:58 -0400 |
commit | 6b675ab8efbf2bcee25be29e865455c56e246401 (patch) | |
tree | 90ec423ba4b996c9659ef634f308554a16519bd9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 725a04ba5a95e89c89633d4322430cfbca7ce128 (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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions