diff options
author | jinlong zhang <jinlong.zhang@amd.com> | 2020-06-17 23:20:56 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-02 12:02:53 -0400 |
commit | 5aedc7bc40708fe84695e1584b82c081785fd5a7 (patch) | |
tree | 6772c036fb0f58b6c21ea65bf00ccd59317c5ea8 /drivers/gpu/drm/amd/display/modules/freesync | |
parent | 2705297c1a5fa4a5460a119fd103e08efc39db95 (diff) | |
download | linux-5aedc7bc40708fe84695e1584b82c081785fd5a7.tar.bz2 |
drm/amd/display: check dpcd read status of DP_DOWNSTREAM_PORT_0
[Why]
For special DP convert VGA dongle, core_link_read_dpcd for
DP_DOWNSTREAM_PORT_0 always return fail, then dongle_type will be set to
DISPLAY_DONGLE_NONE, which will cause desktop resolution abnormal.
[How]
If dpcd for DP_DOWNSTREAM_PORT_0 read fail, skip set dongle_type =
DISPLAY_DONGLE_NONE.
Signed-off-by: jinlong zhang <jinlong.zhang@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync')
0 files changed, 0 insertions, 0 deletions