drm/amd/display: Workaround for some legacy DP-VGA dongles
authorTaimur Hassan <syed.hassan@amd.com>
Fri, 15 Jan 2021 22:34:34 +0000 (17:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:12:09 +0000 (12:12 -0500)
commitfd952d436446cffdf97a61bf456a0987011e42e0
tree8fd3a8b7c148f0246316aea94de4e82d379951be
parentc64b0d6bb5d0d40e399e11a3cab02f0f7759bf9f
drm/amd/display: Workaround for some legacy DP-VGA dongles

[Why]
Maximum resolution is 1440*900 when connecting to FHD monitor via some DP-VGA
dongles. The display EDID reading fails over AUX/I2C via DP->VGA dongle, and
this leads to the maximum resolution 1920*1080 cannot be obtained from EDID.

[How]
Provide a workaround for some legacy DP-VGA dongles with a longer aux delay.

Signed-off-by: Taimur Hassan <syed.hassan@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@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_link_ddc.c