[oe] [PATCH 3/3] libgles-omap3: Remove SGX Fixup for TI816x.

Siddharth Heroor heroor at gmail.com
Sun Apr 10 12:09:50 UTC 2011


On Sun, Apr 10, 2011 at 6:03 AM, Denys Dmytriyenko <denis at denix.org> wrote:
> On Sat, Apr 09, 2011 at 11:26:21AM +0530, Siddharth Heroor wrote:
>> From: Siddharth Heroor <heroor at ti.com>
>>
>> * Unlike OMAP3, the SGX core has not undergone revisions in TI816x.
>>   The libraries for TI816x are also fixed and do not need fixup based
>>   on revision of the SGX core.
>
> Sid,
>
> So, you are modifying generic rc script, which still apllies to OMAP3
> platforms, by removing fixups used in OMAP3... Is that correct?

The rc script has a switch case for different cputypes. This patch only modifies
the TI816x case. OMAP3 parts of the rc script are not modified.

>
> --
> Denys
>
>
>> Signed-off-by: Siddharth Heroor <heroor at ti.com>
>> ---
>>  recipes/powervr-drivers/libgles-omap3/rc.pvr |   10 +++-------
>>  1 files changed, 3 insertions(+), 7 deletions(-)
>>
>> diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr
>> index 395d085..1b141a0 100755
>> --- a/recipes/powervr-drivers/libgles-omap3/rc.pvr
>> +++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr
>> @@ -90,15 +90,11 @@ 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}')"
>>
>> -     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
>> +     echo "${ES_REVISION}" > /etc/powervr-esrev
>>       /usr/bin/pvrsrvinit
>>
>>       ;;
>> --
>> 1.7.0.4
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Sid




More information about the Openembedded-devel mailing list