libgles-omap3: add some power related hack
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 13 Feb 2012 15:26:35 +0000 (17:26 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 13 Feb 2012 15:28:26 +0000 (17:28 +0200)
seems to help suspend, don't know what side effects this might have
though.

recipes/powervr-drivers/libgles-omap3/rc.pvr
recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb

index cf3d904..514d577 100755 (executable)
@@ -61,6 +61,9 @@ if [ $CPUTYPE = "OMAP3530" ]; then
 
        ES_REVISION="$(devmem2 0x50000014 | sed -e s:0x10205:5: -e s:0x10201:3: -e s:0x10003:2: | tail -n1 | awk -F': ' '{print $2}')"
 
+       # enable hardware supervised domain power state transition - makes suspend work
+       devmem2 0x48004B48 w 0x3 > /dev/null
+
        if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
                echo -n "Starting SGX fixup for"
                echo " ES${ES_REVISION}.x"
index 69be2af..cd26be7 100644 (file)
@@ -10,7 +10,7 @@ require libgles-omap3.inc
 # http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
 # see libgles-omap3.inc for detailed installation instructions
 
-PR = "r2"
+PR = "r3"
 
 SGXPV = "4_00_00_01"
 IMGPV = "1.4.14.2616"