diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:56 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:59 +0300 |
commit | 46013820f40220ca4ddcf4892401affe41d69747 (patch) | |
tree | 85bffc2f875fe48a368f2238db19b3e8c20e0ee6 /rust/helpers/rcu.c | |
parent | 476721f28ee8f97abc89103c89279766167ef95a (diff) |
drm/i915/vblank: use generic poll_timeout_us() instead of wait_for()
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
100 ms.
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/162dff5862d3213304491a6d2eb31a57346b523e.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