diff options
author | Francisco Jerez <[email protected]> | 2010-03-18 14:19:10 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-03-18 15:02:37 +0100 |
commit | 6193c41bcd8c50d3f4fb38690061029866c37667 (patch) | |
tree | a5543c3dff3b3fb4096e0f17ccc093415dd8fc5e /src/mesa | |
parent | c944fb5ffe7cf16154d6395001f43a6c965cab1f (diff) |
dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_state_fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state_fb.c b/src/mesa/drivers/dri/nouveau/nv10_state_fb.c index 6bd383ebcd3..f7c3d36e1cf 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_state_fb.c +++ b/src/mesa/drivers/dri/nouveau/nv10_state_fb.c @@ -71,6 +71,7 @@ setup_lma_buffer(GLcontext *ctx) nouveau_bo_markl(bctx, celsius, NV17TCL_LMA_DEPTH_BUFFER_OFFSET, nfb->lma_bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); + WAIT_RING(chan, 9); BEGIN_RING(chan, celsius, NV17TCL_LMA_DEPTH_WINDOW_X, 4); OUT_RINGf(chan, - 1792); OUT_RINGf(chan, - 2304 + fb->Height); |