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:28:54 -0500 |
commit | d7faf6f5347baec5cc774f3d46557f8782d87ee9 (patch) | |
tree | acff2d40429525841c059e521cd3cf0377c74d1c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 1e3489136968a55be364f49633636030cc53860a (diff) |
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/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions