commit | 82d7c9e7da9fa11b8ed968c94a19c7732e11c1ad | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sat Aug 07 12:16:25 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Sep 08 10:13:30 2010 +0100 |
tree | fc7ba0aea076628adb0bb78cda0ab8da91cda743 | |
parent | 481b6af3d1f36d4a19bd36321c1e9f713db49aad [diff] |
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: Chris Wilson <chris@chris-wilson.co.uk>