Skip to content

Commit 8612bad

Browse files
superm1alexdeucher
authored andcommitted
drm/amd/display: Increase DPCD read retries
[Why] Empirical measurement of some monitors that fail to read EDID while booting shows that the number of retries with a 30ms delay between tries is as high as 16. [How] Increase number of retries to 20. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4672 Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit ad1c59a) Cc: stable@vger.kernel.org
1 parent 71ad905 commit 8612bad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ static bool retrieve_link_cap(struct dc_link *link)
16911691
union edp_configuration_cap edp_config_cap;
16921692
union dp_downstream_port_present ds_port = { 0 };
16931693
enum dc_status status = DC_ERROR_UNEXPECTED;
1694-
uint32_t read_dpcd_retry_cnt = 3;
1694+
uint32_t read_dpcd_retry_cnt = 20;
16951695
int i;
16961696
struct dp_sink_hw_fw_revision dp_hw_fw_revision;
16971697
const uint32_t post_oui_delay = 30; // 30ms

0 commit comments

Comments
 (0)