diff options
author | Hersen Wu <hersenxs.wu@amd.com> | 2024-02-13 14:26:06 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 09:46:55 -0400 |
commit | 81f3d3c9a03705328f5368d19e23796ed077610a (patch) | |
tree | b129bd9d62796e895372977be314b70830fcb78d /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | 98b912c50e449b921d71456312289229c4a5661c (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions