diff options
author | Wayne Lin <Wayne.Lin@amd.com> | 2022-05-31 12:46:24 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-13 18:25:17 +0300 |
commit | 15c735e7990fdabb466a3341b6b2dfefd987127e (patch) | |
tree | 475ae30c83f972ad12ea39349ca90650ff05a689 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3d4de925356177dad0fb5869d1ea537cfa033009 (diff) | |
download | linux-15c735e7990fdabb466a3341b6b2dfefd987127e.tar.xz |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions