diff options
author | Hersen Wu <hersenxs.wu@amd.com> | 2024-02-13 22:26:06 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-01 04:36:17 +0300 |
commit | 892b41b16f6163e6556545835abba668fcab4eea (patch) | |
tree | 1a62a91725fff77bc5a79d5833d249f1d27974a8 /rust | |
parent | 9a35d205f466501dcfe5625ca313d944d0ac2d60 (diff) | |
download | linux-892b41b16f6163e6556545835abba668fcab4eea.tar.xz |
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>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions