drm/i915: Use msleep instead of mdelay during wait_vblank_off
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Sep 2010 12:34:08 +0000 (13:34 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Sep 2010 12:34:08 +0000 (13:34 +0100)
commitec5da01e23eec303dd313aa62b8ed4712c488437
tree7f5a6c4a606133e787cf9f052caad319bae35cd5
parentc9f9ccc150e119bab6a1003e7762b024623011d8
drm/i915: Use msleep instead of mdelay during wait_vblank_off

Avoid a potentially long busy-wait if we not in the process of
atomically switching to the kdb console.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h