linux-stable/drivers/gpu
Hersen Wu a841b00295 drm/amd/display: Fix incorrect DSC instance for MST
commit 892b41b16f upstream.

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-17 12:15:07 +02:00
..
drm drm/amd/display: Fix incorrect DSC instance for MST 2024-05-17 12:15:07 +02:00
host1x gpu: host1x: Do not setup DMA for virtual devices 2024-05-17 12:14:44 +02:00
ipu-v3
trace
vga
Makefile