diff options
author | Thierry Reding <treding@nvidia.com> | 2019-10-21 17:34:30 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-10-23 19:18:47 +0300 |
commit | fc6b42045e51a8e2793751e03daa39dc99c25983 (patch) | |
tree | c830b1d68519bab4e3a38c3ca49ba22a96ea413d /include/drm | |
parent | 7624629d06b01d115e9a83c372f26ffd181c6aa5 (diff) | |
download | linux-fc6b42045e51a8e2793751e03daa39dc99c25983.tar.xz |
drm/dp: Do not busy-loop during link training
Use microsecond sleeps for the clock recovery and channel equalization
delays during link training. The duration of these delays can be from
100 us up to 16 ms. It is rude to busy-loop for that amount of time.
While at it, also convert to standard coding style by putting the
opening braces in a function definition on a new line. Also switch to
using an unsigned int for the AUX read interval to match the data type
of the parameters to usleep_range().
v2: use correct multiplier for training delays (Philipp Zabel)
v3: clarify data type change in commit message
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20191021143437.1477719-7-thierry.reding@gmail.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions