]> git.itanic.dy.fi Git - linux-stable/commit
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>
Wed, 25 Jan 2023 18:54:44 +0000 (13:54 -0500)
commitd8bf2df715bb8ac964f91fe8bf67c37c5d916463
tree15780cdf913b8bb51525ad02a59a3ea4251968b5
parentf85c5e25fd28fe0bf6d6d0563cf83758a4e05c8f
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