Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] evas: disable cpu neon support for palmpre machine
Date: Wed, 09 Feb 2011 19:24:12 +0100	[thread overview]
Message-ID: <iium4d$gau$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTikbfyoZfnJq9k1fSkMVMkReNw0G8APuXjc_rTyY@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09-02-11 19:16, Khem Raj wrote:
> On Tue, Feb 8, 2011 at 1:39 PM, Tom Rini <tom_rini@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@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.

Actually, that was how I did it :) The NEON code that was added doesn't
build with gcc 4.3.x and binutils 2.18.x, so I disabled it by not
enabling it. If it builds and works with gcc 4.3.x nowadays we should
enable it and find out why the palmpre breaks.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNUtvMMkyGM64RGpERApZsAKCqED8JCVCdRqPtGfZ8gAZ+uCk0swCcD96s
9LMHSgBQMcskY+N/zSOAvc4=
=lI+a
-----END PGP SIGNATURE-----




  reply	other threads:[~2011-02-09 18:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 21:17 [PATCH] evas: disable cpu neon support for palmpre machine Simon Busch
2011-02-08 21:39 ` Tom Rini
2011-02-09 18:16   ` Khem Raj
2011-02-09 18:24     ` Koen Kooi [this message]
2011-02-09 19:31       ` Simon Busch
2011-02-09 19:45         ` Tom Rini
2011-02-09 20:44           ` Khem Raj
2011-02-09 23:45             ` Tom Rini
2011-02-23  9:54               ` Paul Menzel
2011-02-24  5:33                 ` Simon Busch
2011-02-24  8:14                   ` Koen Kooi
2011-03-01  1:09                     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='iium4d$gau$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox