OSDN Git Service

drm/amd/display: Add w/a to disable DP dual mode on certain ports
authorGeorge Shen <george.shen@amd.com>
Thu, 13 Apr 2023 23:03:59 +0000 (19:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:28:20 +0000 (09:28 -0400)
commit124155c0bd4a4ed822c1ba246bdf5123b42c3ad9
tree62cf3c5984660c5241ff0bc921f29b7ed3fd068a
parent029c85adccb2e23352f622394288ecd133449332
drm/amd/display: Add w/a to disable DP dual mode on certain ports

[Why]
Certain ports on DCN3.2 configs do not properly populate the BIOS
info table flag to indicate DP dual mode is unsupported.

[How]
Add a workaround to disable DP dual mode on the ports with the missing
BIOS info table flag.

Reviewed-by: Michael Strauss <Michael.Strauss@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/link/link_detection.c