diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:55 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:58 +0300 |
commit | 476721f28ee8f97abc89103c89279766167ef95a (patch) | |
tree | 9bca735a52f244827bbc743ec9dd63e80cf322ff /rust/helpers/rcu.c | |
parent | 39b555b3eab503a47396d5ef1dcc7e22de2c2e94 (diff) |
drm/i915/dp: use generic poll_timeout_us() instead of wait_for() in link training
Prefer generic poll helpers over i915 custom helpers.
The functional change is losing the exponentially growing sleep of
wait_for(), which used to be 10, 20, 40, ..., 640, and 1280 us.
Use an arbitrary constant 500 us sleep instead. The timeout remains at
500 ms.
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/29ab4738758fe844dc1323c4a59d5d6bdcf87308.1756383233.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions