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:
@@ -31,7 +31,12 @@ blit
|
||||
status_t nv_acc_wait_idle_dma()
|
||||
{
|
||||
/* 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user