diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:57 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:59 +0300 |
commit | 7987b7643312f1b63f70da433b23b32e2a85160c (patch) | |
tree | 83996d685a4b402bf4e5243f631afbf49b5f42c4 /rust/helpers/rcu.c | |
parent | 46013820f40220ca4ddcf4892401affe41d69747 (diff) |
drm/i915/tc: 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 200 us sleep for the 5 ms timeout, and 1000 us
sleep for the 500 ms timeout. The timeouts remain the same.
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/50cd06b61210f541d5bb52a36af2d8bf059dd3a1.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