]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Use scoped guard for amdgpu_dm_update_connector_after_detect()
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 18 Feb 2025 04:58:37 +0000 (22:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:42:14 +0000 (10:42 -0500)
commitaca9ec9b050c0900c3657ea4aba63d6d95073b22
tree3f61f0c085ca17b395fce62c18aca30f0c9db515
parentd13fbeb74b7c22e2a22c3d2b8e39a9b8142128a9
drm/amd/display: Use scoped guard for amdgpu_dm_update_connector_after_detect()

A scoped guard will release the mutex when it goes out of scope.

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