diff options
author | 2022-12-21 19:28:16 +0800 | |
---|---|---|
committer | 2023-01-24 12:25:28 -0500 | |
commit | 53f4da731bf36afc32e46c3b7a5f3bd563c93e83 (patch) | |
tree | 5bb6f65c5c52e536bef03e5295e4623bafb64967 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | |
parent | drm/amd/display: Speed up DML fast_validate path (diff) | |
download | linux-rng-53f4da731bf36afc32e46c3b7a5f3bd563c93e83.tar.xz linux-rng-53f4da731bf36afc32e46c3b7a5f3bd563c93e83.zip |
drm/amd/display: Guard Freesync HDMI parsing with dc_lock
[Why]
All calls into DC must be guarded by dc_lock because DC code
is not safe against multi-thread or re-entry.
[How]
Hold dc_lock when calling DC interfaces to parse Freesync HDMI.
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c')
0 files changed, 0 insertions, 0 deletions