summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-02-27 05:18:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-02-27 05:18:37 +0000
commit1fc1c74c81e5204c5c46733ed8d751942fe6117b (patch)
treeb3766d81e76c5f06f7b9d017825eb35b43dd6c8a
parentc2d044c3476733ce2d192d0e5ca6fe4e4c2ce278 (diff)
drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zero
From Harry Wentland ff19c8c6eab246a5011ce5d8f97ce826352f5fe6 in linux 4.19.y/4.19.106 3eb6d7aca53d81ce888624f09cd44dc0302161e8 in mainline linux
-rw-r--r--sys/dev/pci/drm/amd/display/dc/core/dc_link.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/amd/display/dc/core/dc_link.c b/sys/dev/pci/drm/amd/display/dc/core/dc_link.c
index 2dfda1a0726..358ec8646a5 100644
--- a/sys/dev/pci/drm/amd/display/dc/core/dc_link.c
+++ b/sys/dev/pci/drm/amd/display/dc/core/dc_link.c
@@ -780,8 +780,7 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason)
same_edid = is_same_edid(&prev_sink->dc_edid, &sink->dc_edid);
if (link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT &&
- sink_caps.transaction_type == DDC_TRANSACTION_TYPE_I2C_OVER_AUX &&
- reason != DETECT_REASON_HPDRX) {
+ sink_caps.transaction_type == DDC_TRANSACTION_TYPE_I2C_OVER_AUX) {
/*
* TODO debug why Dell 2413 doesn't like
* two link trainings