]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix incorrect DSC instance for MST
authorHersen Wu <hersenxs.wu@amd.com>
Tue, 13 Feb 2024 19:26:06 +0000 (14:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:46:55 +0000 (09:46 -0400)
commit81f3d3c9a03705328f5368d19e23796ed077610a
treeb129bd9d62796e895372977be314b70830fcb78d
parent98b912c50e449b921d71456312289229c4a5661c
drm/amd/display: Fix incorrect DSC instance for MST

[Why] DSC debugfs, such as dp_dsc_clock_en_read,
use aconnector->dc_link to find pipe_ctx for display.
Displays connected to MST hub share the same dc_link.
DSC instance is from pipe_ctx. This causes incorrect
DSC instance for display connected to MST hub.

[How] Add aconnector->sink check to find pipe_ctx.

CC: stable@vger.kernel.org
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c