Silence printout and nicer wait for IRQ when out of batchbuffer mem.

This commit is contained in:
Thomas Hellström 2006-02-27 16:50:17 +00:00
parent 0c047b8847
commit 2560061cfe

View file

@ -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);
}
}