mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.
This commit is contained in:
parent
c944fb5ffe
commit
6193c41bcd
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue