]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Use scoped guard for dm_resume()
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 18 Feb 2025 04:58:33 +0000 (22:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:41:34 +0000 (10:41 -0500)
commitf24a74d59e147dad6eee7f132a9765c5fec22dea
treeceb742f7b4065d438bed964623470f08896abbab
parent180998bf307f78efff43f4067c09156e0f33c8fd
drm/amd/display: Use scoped guard for dm_resume()

Scoped guards will release the mutex when they go out of scope.
Adjust the code to use these instead.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c