In the kernel, it is possible for the DisplayPort Alt Mode driver to queue an Enter Mode message to the tcpm and have that message be interupted by a Power Role or Vconn swap, which results in the Port Partner never entering Alt Mode. Add a debounce that checks to make sure that the port partner enters Alt Mode when DisplayPort Alt Mode is active on the port. On trigger, reattempt to send Enter Mode through the tcpm up to 2 times. Test: Manual test on device - put device into Preferred Source role, test to see if Alt Mode reentry triggers when original entry is interrupted by PR Swap from monitor. Bug: 308383356 (cherry picked from commit 04d1e94d10515f03e66cdfe16a23924e561cb3f3) Change-Id: I96563c9900a01e428850e4873371bcdb0225aa07 Signed-off-by: RD Babiera <rdbabiera@google.com> |
||
---|---|---|
.. | ||
gadget | ||
usb |