drm/nouveau: Simplify tile region handling.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 7 Sep 2010 16:24:52 +0000 (18:24 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:25:44 +0000 (16:25 +1000)
commit9f56b1265d66f6698e3155529e6c5d0c34b37afa
tree17e2e90a701ca4cd407dc134ce225e68d85a114b
parent4b5c152a79d512803ea525b0878ccef627cd1629
drm/nouveau: Simplify tile region handling.

Instead of emptying the caches to avoid a race with the PFIFO puller,
go straight ahead and try to recover from it when it happens. Also,
kill pfifo->cache_flush and tile->lock, we don't need them anymore.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/nouveau/nouveau_reg.h
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv04_fifo.c
drivers/gpu/drm/nouveau/nvc0_fifo.c