diff options
author | 2022-05-31 17:46:24 +0800 | |
---|---|---|
committer | 2022-07-13 11:25:17 -0400 | |
commit | 15c735e7990fdabb466a3341b6b2dfefd987127e (patch) | |
tree | 475ae30c83f972ad12ea39349ca90650ff05a689 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Re-implementing ARGB16161616 pixel format as 22 (diff) | |
download | linux-dev-15c735e7990fdabb466a3341b6b2dfefd987127e.tar.xz linux-dev-15c735e7990fdabb466a3341b6b2dfefd987127e.zip |
drm/amd/display: Grab dc_lock before detecting link
[Why & How]
There is chance we change dc state while calling dc_link_detect().
As the result of that, grab the dm.dc_lock before detecting link.
Reviewed-by: Hersen Wu <hersen.wu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions