search for: nouveau_usleep

Displaying 1 result from an estimated 1 matches for "nouveau_usleep".

2009 Jun 10
0
[PATCH] Use nanosleep instead of usleep when waiting the hardware.
..._hw.c b/src/nouveau_hw.c index 7d210d7..c2cad37 100644 --- a/src/nouveau_hw.c +++ b/src/nouveau_hw.c @@ -208,7 +208,7 @@ static void setPLL_single(ScrnInfoPtr pScrn, uint32_t reg, if (chip_version < 0x17 && chip_version != 0x11) /* wait a bit on older chips */ - usleep(64000); + nouveau_usleep(64000); NVReadRAMDAC(pNv, 0, reg); /* then write the other half as well */ diff --git a/src/nouveau_local.h b/src/nouveau_local.h index d44e2dc..3a8bdf7 100644 --- a/src/nouveau_local.h +++ b/src/nouveau_local.h @@ -43,4 +43,10 @@ #define NOUVEAU_ALIGN(x,bytes) (((x) + ((bytes) - 1)) &...