drm/amd/display: Fix Mismatch between pipe and stream
authorGabe Teeger <gabe.teeger@amd.com>
Fri, 15 Dec 2023 01:56:58 +0000 (20:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jan 2024 15:47:42 +0000 (10:47 -0500)
commit9ade4870b87b09e1f132ba92c1ab13a6769d1b0f
tree95e694af8a04f1f80890c61cd8f577912cedcc47
parentf6154d8babbb8a98f0d3ea325aafae2e33bfd8be
drm/amd/display: Fix Mismatch between pipe and stream

[Why]
Failing mode validation during dc_commit, leading to blackscreen with an
8k DP2 display during mode change.

[What]
Fix mixmatch between pipe and stream, which prevented us from
recognizing the link as DP2.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c