summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-02-28 22:30:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-09 10:56:10 +0300
commit5584c871fcaa12b810c45ad1673c535e5c9b8df4 (patch)
tree42be4cebab147c8ea809a25f718dc12218c9c437 /scripts/gdb/linux/xarray.py
parent30a339bece3a44ab0a821477139e84fb86af9761 (diff)
downloadlinux-5584c871fcaa12b810c45ad1673c535e5c9b8df4.tar.xz
drm/amd/display: Add scoped mutexes for amdgpu_dm_dhcp
[ Upstream commit 6b675ab8efbf2bcee25be29e865455c56e246401 ] [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> Stable-dep-of: be593d9d91c5 ("drm/amd/display: Fix slab-use-after-free in hdcp") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions