diff options
author | Edward Hill <ecgh@chromium.org> | 2020-10-28 16:26:31 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-30 03:05:13 +0000 |
commit | e70ecea5d6101bc6af159c5f7790f3111bd6e393 (patch) | |
tree | efc52f90f938bebb93fc2b63b33caeb04feb8b05 /baseboard/trogdor | |
parent | 77647ae24a7118aac93449bc88f601a6c09290b1 (diff) | |
download | chrome-ec-e70ecea5d6101bc6af159c5f7790f3111bd6e393.tar.gz |
morphius: Wait 500ms before allowing DP event to cause resume.
Turning off the MST hub in S3 (via IOEX_HDMI_DATA_EN_DB) causes a
VDM:Attention that immediately wakes us back up from S3.
Wait 500ms after S3 entry before setting EC_MKBP_EVENT_DP_ALT_MODE_ENTERED
in pd_notify_dp_alt_mode_entry().
BUG=b:167949458
BRANCH=zork
TEST=powerd_dbus_suspend with display connected to MST hub DB
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I0d90d0a5130403b9aca1057725509814cac0d545
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2506424
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard/trogdor')
-rw-r--r-- | baseboard/trogdor/usb_pd_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/trogdor/usb_pd_policy.c b/baseboard/trogdor/usb_pd_policy.c index b3f4b9877e..56332a3205 100644 --- a/baseboard/trogdor/usb_pd_policy.c +++ b/baseboard/trogdor/usb_pd_policy.c @@ -215,7 +215,7 @@ __override int svdm_dp_attention(int port, uint32_t *payload) * Wake up the AP. IRQ or level high indicates a DP sink is now * present. */ - pd_notify_dp_alt_mode_entry(); + pd_notify_dp_alt_mode_entry(port); /* Configure TCPC for the HPD event, for proper muxing */ usb_mux_hpd_update(port, lvl, irq); |