diff options
author | Kevin K Wong <kevin.k.wong@intel.com> | 2017-04-06 22:39:01 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-29 03:28:25 -0700 |
commit | 03a665939f8adef0f8fd5a170f859210f65d2c54 (patch) | |
tree | b9da51dc9bdecefebc13ffae238de8a895a60cf4 /board/fizz/build.mk | |
parent | 6bbcf5b3f8fac6c6d4f8ea9edef470cf4887f1a7 (diff) | |
download | chrome-ec-03a665939f8adef0f8fd5a170f859210f65d2c54.tar.gz |
pd: ensure tighter timings for IRQ_HPD pulse
In order to ensure we are always meeting the deadlines for the IRQ_HPD
pulse, increase the priority of the processing by moving the rising edge
from the low-priority HOOK task (in a deferred function) to the caller
task (which is the high-priority PD task).
The downside is we are now sleeping in the PD task blocking the
processing of the PD messages during this time.
Changed HPD_DSTREAM_DEBOUNCE_IRQ to 500us instead of 750us. According
to DP spec, the IRQ_HPD pulse width is between 500us and 1000us.
Ensure there is a minimum of 2ms delay in between each IRQ_HPD as specified
by the DP spec, by sleeping before sending the next pulse if needed.
(in practice, this should not wait if we are not too off processing the
messages)
BUG=chromium:711334
BRANCH=glados strago reef oak
TEST=manual, on SKL platform with kernel 3.18 and MST, verify display is
functional on USB-C dock.
Change-Id: Ib2e9dd608c5f1c671cc5a0fd979a5742101375ff
Signed-off-by: Kevin K Wong <kevin.k.wong@intel.com>
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/508629
Reviewed-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'board/fizz/build.mk')
0 files changed, 0 insertions, 0 deletions