commit | 311089d3d372c6f2b01a6d8a5ed7fcbcd9ad7621 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Thu Nov 26 14:22:41 2009 +0800 |
committer | Eric Anholt <eric@anholt.net> | Mon Nov 30 09:39:57 2009 -0800 |
tree | ef370ce461ca29a3d40d6d821d2ae26ef52cf776 | |
parent | 1991bdfaf5897b6fbfdc7dce81508f7cbc044768 [diff] |
drm/i915: use msleep for intel_wait_for_vblank 20ms delay is quite big and the routine isn't called in atomic context. better use msleep to let other tasks run. This can reduce cpu time used by Xorg, so potentially boost boot. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>