OSDN Git Service

drm/amd/display: Fix dual eDP abnormal display issue
authorBrandon Syu <Brandon.Syu@amd.com>
Thu, 18 Nov 2021 11:01:40 +0000 (19:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Dec 2021 21:06:09 +0000 (16:06 -0500)
commitb995747511f6d9f6d6f55bd094e3a5adeb36b55b
treeb3d55feeccb6573a5a99b794860df7f3f0802b10
parentab644ea6921a2cee9282bc96c35b29b17a8026f0
drm/amd/display: Fix dual eDP abnormal display issue

[WHY]
Driver use primary eDP link stream as the condition
to enable fastboot or not.
In dual eDP case, set second screen only,
this would cause slave eDP timing to be used on primary one.

[HOW]
Add a check for unmatched eDP link stream.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Brandon Syu <Brandon.Syu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c