]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add workaround flag for EDID read on certain docks
authorJimmy Kizito <Jimmy.Kizito@amd.com>
Tue, 14 Sep 2021 15:37:04 +0000 (11:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Oct 2021 18:26:17 +0000 (14:26 -0400)
commitfb1a797a695c59f06508db4eb1cae15534706414
treefb9aa2131c00d5b9cc63eeeed1852d25e70605c1
parentdeddb0c88f2a07ae596755c1acc5fb0ac5495685
drm/amd/display: Add workaround flag for EDID read on certain docks

[Why]
Certain docks appear to NAK I2C writes to the segment pointer with the
MOT (middle of transaction) bit clear. This behaviour can cause EDID
reads from higher segments to fail.

[How]
Add workaround flag for links which connect to docks exhibiting this
issue.

Cc: Wayne Lin <wayne.lin@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc_link.h