]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c20893c07cb3e691224e9d82f287a42498ebed5
tree7f5a6c4a606133e787cf9f052caad319bae35cd5
parentf4293116a46d049b6c88969c039776a7c5f7380f
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