drm/amd/display: Change EDID fallback condition
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Tue, 13 Sep 2022 18:56:13 +0000 (14:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:44 +0000 (09:41 -0400)
commit7712b0a7df76447515752afcf8ec470b17ea30ef
tree012eee0729ee7b14dc529e47aa44e1c67dc6e65a
parentd3d61281edc0ab0c3d566e760d5bd4db5a9c217a
drm/amd/display: Change EDID fallback condition

[Why]
Partially valid EDIDs on MST sinks are treated the same way as broken
EDIDs or read failures and result in a fallback EDID being used instead.

[How]
If edid_status is EDID_PARTIAL_VALID, prefer to use the valid EDID
blocks instead of using a fallback EDID.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@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/core/dc.c