drm/nv50: drop explicit yields in favour of smaller PFIFO timeslice
authorBen Skeggs <bskeggs@redhat.com>
Wed, 2 Feb 2011 04:57:05 +0000 (14:57 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 Feb 2011 20:44:30 +0000 (06:44 +1000)
commitec23802d616f4e33476cca5c7a975ce1682ad2d7
treef712a215c8ca5aa69f61fd6d30b990b101bf68b3
parente3b7ed5e9972dd4878a5390fd3147a973cbe2d05
drm/nv50: drop explicit yields in favour of smaller PFIFO timeslice

This gives a small, but noticeable performance gain at lower performance
levels, and unchanged at the higher ones.

With this commit, we're now using the same timeslice size as the NVIDIA
binary driver currently does, and dropping an unknown bit that NVIDIA
no longer appear to set.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/nouveau/nv50_fifo.c