diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:50 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:58 +0300 |
commit | 032a3bd4d673a3efb2575914bd96ea60c9124993 (patch) | |
tree | 0a9fc54de74b0aab5b2a409635559a98897913a9 /rust/helpers/rcu.c | |
parent | 7f38db435cf703cc432810362d84ed8be59202ea (diff) |
drm/i915/cdclk: 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
50 ms.
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/6d50031411d5517508867d4b595ce90a2b44073b.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