[oe-commits] Denys Dmytriyenko : Revert "libgles-omap3: Remove SGX Fixup for TI816x."

git version control git at git.openembedded.org
Thu Apr 21 20:02:36 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: db031074192115d3e0c7664eb052b78686d5cf9d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=db031074192115d3e0c7664eb052b78686d5cf9d

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Sun Apr 17 15:05:02 2011 -0400

Revert "libgles-omap3: Remove SGX Fixup for TI816x."

This reverts commit b326d2d7ffd8b286394c51ddbc8b5a033799db4f.

For more details please see:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/44582/focus=44639
http://thread.gmane.org/gmane.comp.handhelds.openembedded/44471/focus=44658

---

 recipes/powervr-drivers/libgles-omap3/rc.pvr |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr
index 1b141a0..395d085 100755
--- a/recipes/powervr-drivers/libgles-omap3/rc.pvr
+++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr
@@ -90,11 +90,15 @@ case $CPUTYPE in
 	devmem2 0x48180900 w 0x2
 	devmem2 0x48180920 w 0x2
 
-	sleep 2
-
 	ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
 
-	echo "${ES_REVISION}" > /etc/powervr-esrev
+	if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
+		echo -n "Starting SGX fixup for"
+		echo " ES${ES_REVISION}.x"
+		cp -a /usr/lib/ES${ES_REVISION}.0/* /usr/lib
+		cp -a /usr/bin/ES${ES_REVISION}.0/* /usr/bin	
+		echo "${ES_REVISION}" > /etc/powervr-esrev
+	fi
 	/usr/bin/pvrsrvinit
 
 	;;





More information about the Openembedded-commits mailing list