summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis/sis_tris.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2003-12-09 00:00:40 +0000
committerEric Anholt <[email protected]>2003-12-09 00:00:40 +0000
commite8bec8832b50b8c2310e40951bea8bd78f89715c (patch)
treed6d4559ce999337a1e0a4e63bbfedc1457ba0aa4 /src/mesa/drivers/dri/sis/sis_tris.c
parent73c3c397e4c07b48dcc845add9d80df025e1f0cd (diff)
Remove usleeps from sis driver. We probably aren't doing anyone a service
sleeping with the lock held. Also, rename cEngineState to engineState since it isn't a char any more.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_tris.c')
-rw-r--r--src/mesa/drivers/dri/sis/sis_tris.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_tris.c b/src/mesa/drivers/dri/sis/sis_tris.c
index 4877e346503..abe6a3fb075 100644
--- a/src/mesa/drivers/dri/sis/sis_tris.c
+++ b/src/mesa/drivers/dri/sis/sis_tris.c
@@ -870,7 +870,6 @@ sisMakeRoomAGP( sisContextPtr smesa, GLint num )
sisUpdateAGP( smesa );
while (size > AGP_SpaceLeft) {
/* Spin until space is available. */
- usleep(1);
AGP_ReadPtr = (GLfloat *)((long)MMIO_READ(REG_3D_AGPCmBase) -
(long)smesa->AGPCmdBufAddr + (long)smesa->AGPCmdBufBase);
sisUpdateAGP( smesa );