diff options
| author | Fangzhi Zuo <jerry.zuo@amd.com> | 2026-10-24 00:51:40 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-11-18 01:46:10 -0500 |
| commit | 449141afc84a4434db864abf9051dc8beb3b7c81 (patch) | |
| tree | d75c0d61e0d2dccffa68f241654af41ebeb2e582 /tools/perf/scripts/python | |
| parent | 406a850b0dd28d969bdbff726d7841d25d770cb3 (diff) | |
drm/amd/display: Stop HDMI FRL status polling on fini
[Why]
The HDMI FRL status polling work re-queues itself and its workqueue was not
stopped during amdgpu_dm_fini(). During unbind or unload, the worker could
access freed DC state, and the workqueue was leaked. This fixes the FRL
polling teardown introduced by the HDMI FRL support change.
[How]
Cancel the delayed polling work synchronously and destroy the workqueue in
amdgpu_dm_fini() before the remaining display state is torn down.
Cc: Harry Wentland <harry.wentland@amd.com>
Reported-by: Eren Özen <erenozen@protonmail.com>
Link: https://lore.kernel.org/all/20261110-frl-polling-wq-teardown-v1-0-0ff028d5c35b@protonmail.com/
Reviewed-by: ChiaHsuan Chung <chiahsuan.chung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 709b7a5aff3addf2288dedf42bc62c45ae1ab163)
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
