diff options
author | Matt Turner <mattst88@gmail.com> | 2009-11-07 00:34:00 -0500 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-11-06 22:26:49 -0800 |
commit | f480933cfcc683aba19b679a6d532828eeb2eaa9 (patch) | |
tree | 73c30143428666834f49dd3e211e0671d3c50d40 | |
parent | db962650a038c48b7113eedfebf011cdc4829946 (diff) |
Use usleep instead of xf86UDelay
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/vmodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vmodes.c b/src/vmodes.c index 5faf257..c0bd0df 100644 --- a/src/vmodes.c +++ b/src/vmodes.c @@ -395,14 +395,14 @@ verite_restore(ScrnInfoPtr pScreenInfo, RenditionRegPtr reg) if (pRendition->board.chip == V1000_DEVICE) { /* fixme */ set_PLL(iob, reg->pclkpll); - xf86UDelay(10000); + usleep(10000); } else { verite_out32(iob+PCLKPLL,reg->pclkpll); /* * Need to wait 200uS for PLL to stabilize -- * let's play it safe with 500 */ - xf86UDelay(10000); + usleep(10000); /* wait until VBLANK */ while ((verite_in32(iob+CRTCSTATUS)&CRTCSTATUS_VERT_MASK) != CRTCSTATUS_VERT_ACTIVE); |