diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-10-28 01:10:54 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-10-28 21:38:24 +0100 |
commit | 66456f91426da900827f85de70d3ce700823ef16 (patch) | |
tree | b76c92e1f34312785ba07663f8978c6d57d69834 | |
parent | 15954340b4b7aaf6ab850c149c2f75c1555d9360 (diff) |
Reduce excessive waits when resetting engines
This reduces the pauses, which allow Glamo engines to settle after being reset, from one
second to 15 ms. This reduces the overall time taken for resume (in the non-KMS,
non-engine-ioctl case) by several seconds.
-rw-r--r-- | src/glamo-engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glamo-engine.c b/src/glamo-engine.c index a94d362..989f40f 100644 --- a/src/glamo-engine.c +++ b/src/glamo-engine.c @@ -66,9 +66,9 @@ GLAMOEngineReset(GlamoPtr pGlamo, enum GLAMOEngine engine) break; } MMIOSetBitMask(mmio, reg, mask, 0xffff); - sleep(1); + usleep(15000); MMIOSetBitMask(mmio, reg, mask, 0); - sleep(1); + usleep(15000); #endif } |