diff options
author | Stylon Wang <stylon.wang@amd.com> | 2022-12-21 14:28:16 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-24 20:25:28 +0300 |
commit | 53f4da731bf36afc32e46c3b7a5f3bd563c93e83 (patch) | |
tree | 5bb6f65c5c52e536bef03e5295e4623bafb64967 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3a9c6f9a6159d8ecdf715f7eda0777ead96bcdc0 (diff) | |
download | linux-53f4da731bf36afc32e46c3b7a5f3bd563c93e83.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions