[oe] [PATCH] evas: disable cpu neon support for palmpre machine

Khem Raj raj.khem at gmail.com
Wed Feb 9 18:16:05 UTC 2011


On Tue, Feb 8, 2011 at 1:39 PM, Tom Rini <tom_rini at mentor.com> wrote:
> On 02/08/2011 02:17 PM, Simon Busch wrote:
>>
>> Neon support in evas is currently broken for the palmpre machine. If we
>> enable neon
>> support evas causes alignment trap errors and lets the device freeze in
>> the end. This
>> should be reverted after the bug in evas code is found and fixed.
>>
>> Signed-off-by: Simon Busch<morphis at gravedo.de>
>> ---
>>  recipes/efl1/evas.inc |    5 ++++-
>>  1 files changed, 4 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/efl1/evas.inc b/recipes/efl1/evas.inc
>> index eb64d7a..ad30eba 100644
>> --- a/recipes/efl1/evas.inc
>> +++ b/recipes/efl1/evas.inc
>> @@ -7,7 +7,7 @@ DEPENDS_virtclass-native = "freetype-native libxext-native
>> libpng-native jpeg-na
>>  inherit efl
>>
>>  BBCLASSEXTEND = "native"
>> -INC_PR = "r0"
>> +INC_PR = "r1"
>>  FILESPATHPKG =. "${BPN}-${PV}:${BPN}:"
>>
>>  python populate_packages_prepend () {
>> @@ -83,6 +83,9 @@ EVAS_CPU_TWEAKS = ""
>>  # Disabled for now, see
>> http://thread.gmane.org/gmane.comp.window-managers.enlightenment.devel/25194
>>  #EVAS_CPU_TWEAKS_armv7a = "--enable-cpu-neon"
>>
>> +# Neon support for evas is broken on palmpre currently (causes the device
>> to freeze)
>> +EVAS_CPU_TWEAKS_palmpre = "--disable-cpu-neon"
>> +
>>  # common options
>>  EVAS_OECONF = " \
>>                  --x-includes=${STAGING_INCDIR}/X11 \
>
> Shouldn't this be changing the armv7a EVAS_CPU_TWEAKS that's above yours to
> be uncommented and as a --disable?

that would disable neon for all armv7a machines probably not what is
needed here. The patch seems ok but I think it will make this recipe
machine specific if it already is not on the other hand punishing
all armv7 will keep the recipe still generic

>
> --
> Tom Rini
> Mentor Graphics Corporation
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list