drm/radeon/kms: use udelay for short delays
authorDave Airlie <airlied@redhat.com>
Sat, 30 Jan 2010 21:07:14 +0000 (07:07 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Feb 2010 05:00:08 +0000 (15:00 +1000)
commit01d4503968f471f876fb44335800d2cf8dc5a2ce
tree5a3334b66f4725765f0812400ebbe6a388b7afdc
parente803e8b2628f3e9a42f45c5b7bb1f9821b08352c
drm/radeon/kms: use udelay for short delays

For usec delays use udelay instead of scheduling, this should
allow reclocking to happen faster. This also was the cause
of reported 33s delays at bootup on certain systems.

fixes: freedesktop.org bug 25506

Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atom.c