Type-C Display Port Mode Intermittent on SKL |
|||
Issue descriptionWe have had reports of SKL systems not identifying a display connected to a DP based docks, e.g. https://www.startech.com/Cards-Adapters/Laptop-docking-stations/usb-c-laptop-dock~MST30C2DPPD This seems to have started in R55 based on dogfooder feedback. With some local testing this appears to be intermittent. Shawn was taking the first look at this, and so far we appear to be switching the high speed muxes, so we should be exposing DP to the SoC, however more debug needs to be done. In the failure case modetest shows the DP interfaces disconnected.
,
Nov 17 2016
I can figure this out this myself, but it would save me time if someone could point out how 'modetest' determines whether a display is connected and point out the (display driver?) code. Does it rely on the HPD input signal or some other method?
,
Nov 17 2016
Yes it uses the HPD pin. But for type-C the HPD signal is generated by the EC because there is some muxing that has to happen first.
,
Nov 17 2016
A cursory check of our mux regs shows that we're consistently configured to USB + DP when the dock is attached, and our HPD output GPIO is getting asserted. I updated to a fresh test image (8996.0.0) on my lars unit and things seem to be working consistently now. I'm not yet completely convinced that updating the image was the actual fix, there may be something else going on. I will try a few more tests.
,
Nov 18 2016
I rolled back to some earlier R55 OS images and DP is still functioning, so I don't think updating my image caused my device to become fixed. Maybe an EC reset fixed things, or maybe the dock itself is in a different state. The HS mux part here is very simple and hard to misconfigure (unless we get polarity wrong, somehow) - there is a single register that configures USB3 / DP / polarity settings, and we're reading it back + decoding it correctly when we do "typec 0" on the EC console. HPD generation is done through a simple GPIO, and I verified it was in the proper state previously (and even tried toggling it by hand, to see if it would help). I no longer have a unit that doesn't work with this dock, so please ping me if you have a (preferably lars, but I'll take anything) device that doesn't work.
,
Nov 18 2016
,
Aug 1
|
|||
►
Sign in to add a comment |
|||
Comment 1 by marc...@chromium.org
, Nov 17 2016