added checking for engine idle: which is actually the case over here :-)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10666 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2005-01-11 14:32:46 +00:00
parent 95e5262abe
commit daaa769853
@@ -31,7 +31,12 @@ blit
status_t nv_acc_wait_idle_dma() status_t nv_acc_wait_idle_dma()
{ {
/* wait until engine completely idle */ /* wait until engine completely idle */
//fixme: implement. //fixme: add dma buffer state checking stuff here..
while (ACCR(STATUS))
{
/* snooze a bit so I do not hammer the bus */
snooze (100);
}
return B_OK; return B_OK;
} }