diff options
author | Lyude Paul <lyude@redhat.com> | 2022-11-15 01:17:55 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-17 08:23:00 +0300 |
commit | 14b651b22224251b35618259da714adb0b5f10ee (patch) | |
tree | 625a46b7fc6914e01285a080179b92512dce53c9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | |
parent | d3e2c664ec9a3b16a28b558d6d1acde6d997ac04 (diff) | |
download | linux-14b651b22224251b35618259da714adb0b5f10ee.tar.xz |
drm/amdgpu/dm/dp_mst: Don't grab mst_mgr->lock when computing DSC state
Now that we've fixed the issue with using the incorrect topology manager,
we're actually grabbing the topology manager's lock - and consequently
deadlocking. Luckily for us though, there's actually nothing in AMD's DSC
state computation code that really should need this lock. The one exception
is the mutex_lock() in dm_dp_mst_is_port_support_mode(), however we grab no
locks beneath &mgr->lock there so that should be fine to leave be.
Gitlab issue: https://gitlab.freedesktop.org/drm/amd/-/issues/2171
Signed-off-by: Lyude Paul <lyude@redhat.com>
Fixes: 8c20a1ed9b4f ("drm/amd/display: MST DSC compute fair share")
Cc: <stable@vger.kernel.org> # v5.6+
Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h')
0 files changed, 0 insertions, 0 deletions