Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 82d7c9e7 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Avoid using msleep under kdb and wait_for()



wait_for() uses msleep() to yield the cpu whilst spinning waiting for a
register to change. kdb asserts that mode changes are atomic and so
prohibits msleep. The alternative would be to use mdelay or to simply
probe the register more often instead of busy waiting.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 481b6af3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment