diff options
author | Scott Collyer <scollyer@google.com> | 2021-07-16 11:44:28 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-17 02:27:04 +0000 |
commit | cf5974650d6da4bf88678ea673ea839d475dcd10 (patch) | |
tree | 9d8749d421ee88fee1f0a8ed484f05c86a76be69 | |
parent | 15babbb6461de00403b148dbdb40207a8220e78f (diff) | |
download | chrome-ec-cf5974650d6da4bf88678ea673ea839d475dcd10.tar.gz |
honeybuns: Notify hpd->pd converter of DP_CONFIG messages
This CL is part of a fix to delay sending DP_ATTENTION messages until
after at least one DP CONFIG message has been received. Sending
DP_ATTENTION messages priot to DP_CONFIG can cauase some port partners
to abort alt-dp mode.
BRANCH=quiche
BUG=b:192051705
TEST=verifed on kasumi (grunt) that the display is extended correctly
following usbc hotplug events. Previously, this case was failing 1 out
of 3-4 times.
Signed-off-by: Scott Collyer <scollyer@google.com>
Change-Id: I84a962b2f315df28eda290ebae452e41fd6e0b32
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3035786
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
-rw-r--r-- | baseboard/honeybuns/usb_pd_policy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/honeybuns/usb_pd_policy.c b/baseboard/honeybuns/usb_pd_policy.c index 7be84ccf31..473003256b 100644 --- a/baseboard/honeybuns/usb_pd_policy.c +++ b/baseboard/honeybuns/usb_pd_policy.c @@ -567,6 +567,8 @@ static int amode_dp_config(int port, uint32_t *payload) mf = ((dp_config >> 8) & 0xff) == MODE_DP_PIN_D ? 1 : 0; /* Configure demux for DP mode */ svdm_configure_demux(port, 1, mf); + /* Notify hpd->pd conv that a DP_CONFIG message has been received */ + pd_ufp_enable_hpd_send(port); return 1; } |