diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:49 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:58 +0300 |
commit | 7f38db435cf703cc432810362d84ed8be59202ea (patch) | |
tree | e831554e8dee3c82137b76720b52af1bf558c368 /rust/helpers/rcu.c | |
parent | 11080a5ea877d7da163a93975559b9607f629d49 (diff) |
drm/i915/wm: 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 3
ms.
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/52c80860ea7b98e84f2386ed6cdd761f03190b1e.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