summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-02-07 17:23:46 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-02-07 17:23:46 +0000
commite20616c2f8811747efac89963c5c554461450031 (patch)
tree6b9eaae9dac0dc68cbf595ce0d61d05cc0a31a7f
parent9b892f2c5958a32990032c78e1759a8669dcd2db (diff)
Wait for idle properly again.
-rw-r--r--src/mesa/drivers/dri/unichrome/via_ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_ioctl.c b/src/mesa/drivers/dri/unichrome/via_ioctl.c
index a40d48620b..5643c5fca7 100644
--- a/src/mesa/drivers/dri/unichrome/via_ioctl.c
+++ b/src/mesa/drivers/dri/unichrome/via_ioctl.c
@@ -444,7 +444,8 @@ void viaWaitIdle( struct via_context *vmesa )
if (vmesa->lastDma >= vmesa->lastBreadcrumbRead)
viaWaitBreadcrumb( vmesa, vmesa->lastDma );
- viaCheckIdle(vmesa);
+ while(!viaCheckIdle(vmesa))
+ ;
}