[pkg-fso-commits] [SCM] xf86-video-glamo, SMedia Glamo video driver for X.Org branch, master, updated. upstream/0.0.0+20090707.git98c012f7-57-g9918e08

Thomas White taw at bitwiz.org.uk
Fri Jan 8 13:25:13 UTC 2010


The following commit has been merged in the master branch:
commit 66456f91426da900827f85de70d3ce700823ef16
Author: Thomas White <taw at bitwiz.org.uk>
Date:   Wed Oct 28 01:10:54 2009 +0100

    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.

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
 }
 

-- 
xf86-video-glamo, SMedia Glamo video driver for X.Org



More information about the pkg-fso-commits mailing list