diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-08-28 15:20:58 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-04 14:02:59 +0300 |
commit | bcd23d8ee01c2abcea782aaf40c74d54a3fdab82 (patch) | |
tree | 515f0fc721ba219dab3c4443cbfe53a7bd44931c /rust/helpers/err.c | |
parent | 7987b7643312f1b63f70da433b23b32e2a85160c (diff) |
drm/i915/dsb: 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 100 us sleep instead. The timeout remains at 1
ms.
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/979eae02af1184b3756746ace61379dd1947a79b.1756383233.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions