mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
Silence printout and nicer wait for IRQ when out of batchbuffer mem.
This commit is contained in:
parent
0c047b8847
commit
2560061cfe
1 changed files with 2 additions and 2 deletions
|
|
@ -494,7 +494,7 @@ static int move_buffers( struct bufmgr *bm,
|
|||
free_block(bm, newMem[i]);
|
||||
}
|
||||
|
||||
_mesa_printf("%s - fail\n", __FUNCTION__);
|
||||
DBG("%s - fail\n", __FUNCTION__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -1008,7 +1008,7 @@ int bmValidateBufferList( struct bufmgr *bm,
|
|||
while (!move_buffers(bm, bufs, list->nr, flags)) {
|
||||
delayed_free(bm);
|
||||
if (count++ > 10) {
|
||||
intelWaitIrq( bm->intel, bm->intel->sarea->last_dispatch + 1);
|
||||
intelWaitIrq( bm->intel, bm->intel->sarea->last_dispatch);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue