diff options
author | Qingqing Zhuo <qingqing.zhuo@amd.com> | 2021-02-09 16:36:41 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-24 09:48:46 -0500 |
commit | ea3b4242bc9ca197762119382b37e125815bd67f (patch) | |
tree | 204dec819ae22e4b4fc6b5e7378bcd61df00ca78 /drivers/gpu/drm/via | |
parent | b092b19602cfd47de1eeeb3a1b03822afd86b136 (diff) | |
download | linux-ea3b4242bc9ca197762119382b37e125815bd67f.tar.bz2 |
drm/amd/display: Fix system hang after multiple hotplugs (v3)
[Why]
mutex_lock() was introduced in dm_disable_vblank(), which could
be called in an IRQ context. Waiting in IRQ would cause issues
like kernel lockup, etc.
[How]
Handle code that requires mutex lock on a different thread.
v2: squash in compilation fix without CONFIG_DRM_AMD_DC_DCN (Alex)
v3: squash in warning fix (Wei)
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/via')
0 files changed, 0 insertions, 0 deletions