drm/nouveau: Spin for a bit in nouveau_fence_wait() before yielding the CPU.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 25 Nov 2010 15:37:17 +0000 (16:37 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 8 Dec 2010 02:00:33 +0000 (03:00 +0100)
commit395a31ec7ed9b02c5412f4405acbd6fceacca0fc
tree4c423c5a98aa6b361bb6b6022d0d03f3c6e71438
parenta3d487ea5463a9c091b7f9b836b860cf3d82e641
drm/nouveau: Spin for a bit in nouveau_fence_wait() before yielding the CPU.

Sleeping doesn't pay off for very short delays in comparison with the
minimum granularity of schedule_timeout().

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_fence.c