mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
nv50: avoid excessive FIRE_RING
- And reduce RING_SPACE to 2, instead of 3.
This commit is contained in:
parent
db37279e0b
commit
26860a6e2f
1 changed files with 3 additions and 2 deletions
|
|
@ -37,11 +37,12 @@ nv50_flush(struct pipe_context *pipe, unsigned flags,
|
|||
|
||||
/* We need this in the ddx for reliable composite, not sure what we're
|
||||
* actually flushing. We generate all our own flushes with flags = 0. */
|
||||
WAIT_RING(chan, 3);
|
||||
WAIT_RING(chan, 2);
|
||||
BEGIN_RING(chan, eng2d, 0x0110, 1);
|
||||
OUT_RING (chan, 0);
|
||||
|
||||
FIRE_RING(chan);
|
||||
if (flags & PIPE_FLUSH_FRAME)
|
||||
FIRE_RING(chan);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue