mirror of
https://github.com/X11Libre/xf86-video-chips.git
synced 2026-03-24 01:24:44 +00:00
Use usleep instead of xf86UDelay
Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
committed by
Alan Coopersmith
parent
49be03ad08
commit
ccbc6669cd
@@ -82,7 +82,7 @@
|
||||
ErrorF("timeout\n"); \
|
||||
tmp = cPtr->readXR(cPtr, 0x20); \
|
||||
cPtr->writeXR(cPtr, 0x20, ((tmp & 0xFD) | 0x2)); \
|
||||
xf86UDelay(10000); \
|
||||
usleep(10000); \
|
||||
cPtr->writeXR(cPtr, 0x20, (tmp & 0xFD)); \
|
||||
break; \
|
||||
} \
|
||||
|
||||
@@ -3725,12 +3725,12 @@ CHIPSEnterVT(int scrnIndex, int flags)
|
||||
&& (cPtr->Flags & ChipsLinearSupport))
|
||||
CHIPSResetVideo(pScrn);
|
||||
|
||||
/*xf86UDelay(50000);*/
|
||||
/*usleep(50000);*/
|
||||
chipsHWCursorOn(cPtr, pScrn);
|
||||
/* cursor settle delay */
|
||||
xf86UDelay(50000);
|
||||
usleep(50000);
|
||||
CHIPSAdjustFrame(pScrn->scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
|
||||
xf86UDelay(50000);
|
||||
usleep(50000);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user