diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-09-07 12:24:52 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 02:25:44 -0400 |
commit | 9f56b1265d66f6698e3155529e6c5d0c34b37afa (patch) | |
tree | 17e2e90a701ca4cd407dc134ce225e68d85a114b /drivers/gpu/drm/nouveau/nvc0_fifo.c | |
parent | 4b5c152a79d512803ea525b0878ccef627cd1629 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_fifo.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_fifo.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_fifo.c b/drivers/gpu/drm/nouveau/nvc0_fifo.c index d64375871979..890c2b95fbc1 100644 --- a/drivers/gpu/drm/nouveau/nvc0_fifo.c +++ b/drivers/gpu/drm/nouveau/nvc0_fifo.c | |||
@@ -43,12 +43,6 @@ nvc0_fifo_reassign(struct drm_device *dev, bool enable) | |||
43 | } | 43 | } |
44 | 44 | ||
45 | bool | 45 | bool |
46 | nvc0_fifo_cache_flush(struct drm_device *dev) | ||
47 | { | ||
48 | return true; | ||
49 | } | ||
50 | |||
51 | bool | ||
52 | nvc0_fifo_cache_pull(struct drm_device *dev, bool enable) | 46 | nvc0_fifo_cache_pull(struct drm_device *dev, bool enable) |
53 | { | 47 | { |
54 | return false; | 48 | return false; |