diff options
author | Ilya <[email protected]> | 2022-02-10 11:09:33 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-02-23 14:22:03 -0500 |
commit | 10a9accd4842e6098cc27d79d43d7542254003bc (patch) | |
tree | dd8197a1380d55be8e766a5c060ec40225b54c2e /lib/netdev-notifier-error-inject.c | |
parent | 3e6084aee08b108f5cc489be46c68ba56b13e52e (diff) |
drm/amd/display: Fix wrong resolution with DP/VGA adapter
[Why]
Hotplugging the VGA side of some DP/VGA adapters caused the display to
light up with the wrong (non-native) resolution.
This is caused by the adapter misbehaving by reporting the wrong number
of downstream ports when the VGA side is unplugged (reports 1 instead of
0), but only if the SINK_COUNT DPCD register is read more than once.
[How]
To work around the adapter behavior, remove the sink if link is
detected, but EDID cannot be read.
Reviewed-by: Wenjing Liu <[email protected]>
Acked-by: Solomon Chiu <[email protected]>
Signed-off-by: Ilya <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions