linux/drivers/gpu/drm/amd/display
WenTao Liang a6e14b976b drm/amd/display: detect_link_and_local_sink: DP alt mode timeout path leaks prev_sink reference
prev_sink is unconditionally retained via dc_sink_retain at function
  entry, but the DP alt mode timeout path inside SIGNAL_TYPE_DISPLAY_PORT
  returns false without releasing prev_sink. All other return paths in the
  function correctly call dc_sink_release(prev_sink), making this the only
  missing cleanup.

Fixes: 54618888d1 ("drm/amd/display: break down dc_link.c")
Signed-off-by: WenTao Liang <vulab@iscas.ac.cn>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/20260626124555.36910-1-vulab@iscas.ac.cn
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 45510cf662)
Cc: stable@vger.kernel.org
2026-07-01 13:02:23 -04:00
..
amdgpu_dm drm/amd/display: Handle struct drm_plane_state.ignore_damage_clips 2026-07-01 13:00:04 -04:00
dc drm/amd/display: detect_link_and_local_sink: DP alt mode timeout path leaks prev_sink reference 2026-07-01 13:02:23 -04:00
dmub drm/amd/display: Add support for FRL to DC core 2026-06-03 13:44:46 -04:00
include drm/amd/display: Fix DCN42B version detection 2026-06-04 15:24:15 -04:00
modules drm/amd/display: guard against overflow in HDCP message dump 2026-07-01 13:00:40 -04:00
Kconfig drm/amd/display: Add KUnit tests for amdgpu_dm_colorop 2026-06-03 13:41:32 -04:00
Makefile drm/amd/display: Add Component To Handle Bounding Box Values and IP Caps 2025-08-29 10:14:02 -04:00