diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:53 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:58 +0300 |
commit | e38e3c50a14c76bf130a688bffd130797b09dfe6 (patch) | |
tree | 84eace2f6f9ff1f11b27a861e35ca2507fbf1bb3 /rust/helpers/rcu.c | |
parent | a8eb4cdcedd836b22459b9f6e68b60001bd04bac (diff) |
drm/i915/power-well: use generic poll_timeout_us() instead of wait_for() for VLV/CHV
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/c644b7b5611a3c047ea5d3d52acd91830b2fa6b4.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