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>
Showing
- drivers/gpu/drm/nouveau/nouveau_drv.h 1 addition, 7 deletionsdrivers/gpu/drm/nouveau/nouveau_drv.h
- drivers/gpu/drm/nouveau/nouveau_mem.c 13 additions, 17 deletionsdrivers/gpu/drm/nouveau/nouveau_mem.c
- drivers/gpu/drm/nouveau/nouveau_reg.h 2 additions, 0 deletionsdrivers/gpu/drm/nouveau/nouveau_reg.h
- drivers/gpu/drm/nouveau/nouveau_state.c 0 additions, 5 deletionsdrivers/gpu/drm/nouveau/nouveau_state.c
- drivers/gpu/drm/nouveau/nv04_fifo.c 20 additions, 25 deletionsdrivers/gpu/drm/nouveau/nv04_fifo.c
- drivers/gpu/drm/nouveau/nvc0_fifo.c 0 additions, 6 deletionsdrivers/gpu/drm/nouveau/nvc0_fifo.c
Loading
Please register or sign in to comment