drm/display/dp_mst: Correct the kref of port.
authorWayne Lin <Wayne.Lin@amd.com>
Wed, 28 Dec 2022 06:50:43 +0000 (14:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jan 2023 18:25:56 +0000 (13:25 -0500)
commit9b2d019144a00627ed95cc1f664fc681b6fe1c7d
tree50548e93d6dca736856591572741222e4e3bf9a0
parentd987150b539271b0394f24c1c648d2846662adb4
drm/display/dp_mst: Correct the kref of port.

[why & how]
We still need to refer to port while removing payload at commit_tail.
we should keep the kref till then to release.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2171
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Fixes: 4d07b0bc4034 ("drm/display/dp_mst: Move all payload info into the atomic state")
Cc: stable@vger.kernel.org # 6.1
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Tested-by: Didier Raboud <odyx@debian.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/display/drm_dp_mst_topology.c