]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Refactor dp vendor parsing logic to a function
authorJohn Barberiz <John.Barberiz@amd.com>
Wed, 3 Apr 2019 23:22:55 +0000 (19:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Apr 2019 19:59:13 +0000 (14:59 -0500)
commitb5cc1c7b52fe2767163eb382feee93ae4be3ca04
tree61e44a6b6e3b556c8ccb8fea4812b6f1b4f481c4
parent13766660befefacc82b951c9b9d619a92c1b55f1
drm/amd/display: Refactor dp vendor parsing logic to a function

Refactor dp vendor parsing int to a new function, and call it before
get_active_converter_info().

Also, add a flag to skip parsing of Display ID 2.0. Some devices fail on
readind DID2, but we shouldn't fail EDID read because of it. Add this
flag to facilitate the logic.

Signed-off-by: John Barberiz <John.Barberiz@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc_link.h