Re: Introduce support for little endian PowerPC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Herrenschmidt
Date: Monday, October 4, 2010 - 3:50 pm

On Mon, 2010-10-04 at 12:30 +0200, Michel Dänzer wrote:


Hrm, I meant on the DDX side. Anyways, doesn't matter. Even if it works
fine on X side. Fact is, there's tons and tons of existing SW stack and
drivers on the field that are totally incapable of doing BE and
essentially unfixable without major work that the customer(s) is(are)
unwilling to do at this stage.

(Think embedded gfx IP cores mostly, including codecs etc...)


To some extent yes. Completely, I'm not sure. Apps manipulating pixels,
such as video players doing hand-made overlay etc... will potentially
have issues. It's more than actual pixel byte ordering. It's anything
that accesses a quantity in memory using different size accessors, ie,
storing a u32 and then expecting to find the LSB at u8* of the same
address etc... that sort of stuff happens more often in gfx-oriented
code than anywhere else in my experience.


Right, I possibly made an incorrect statement relative to Xorg (I had
assumed the fb layer only worked properly in native endian format), but
that doesn't matter much since the problem here is existing code &
drivers and goes way beyond X (probably no X on the target setups
anyways).

Cheers,
Ben

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Introduce support for little endian PowerPC, Ian Munsie, (Fri Oct 1, 12:05 am)
[PATCH 10/18] powerpc: Support endian agnostic MMIO, Ian Munsie, (Fri Oct 1, 12:06 am)
Re: [PATCH 02/18] powerpc: Add CROSSBE_COMPILE to build bi ..., Geert Uytterhoeven, (Fri Oct 1, 12:13 am)
Re: Introduce support for little endian PowerPC, Kumar Gala, (Fri Oct 1, 2:02 am)
Re: Introduce support for little endian PowerPC, Josh Boyer, (Fri Oct 1, 4:30 am)
Re: Introduce support for little endian PowerPC, Josh Boyer, (Fri Oct 1, 4:36 am)
Re: Introduce support for little endian PowerPC, Gary Thomas, (Fri Oct 1, 4:55 am)
Re: [PATCH 01/18] powerpc: Add ability to build little end ..., Benjamin Herrenschmidt, (Fri Oct 1, 5:09 am)
Re: Introduce support for little endian PowerPC, Benjamin Herrenschmidt, (Fri Oct 1, 5:14 am)
Re: Introduce support for little endian PowerPC, Benjamin Herrenschmidt, (Fri Oct 1, 5:15 am)
Re: Introduce support for little endian PowerPC, Benjamin Herrenschmidt, (Fri Oct 1, 5:21 am)
Re: [PATCH 01/18] powerpc: Add ability to build little end ..., Benjamin Herrenschmidt, (Fri Oct 1, 5:22 am)
Re: Introduce support for little endian PowerPC, Gary Thomas, (Fri Oct 1, 5:37 am)
Re: Introduce support for little endian PowerPC, Michel Dänzer, (Fri Oct 1, 9:20 am)
Re: Introduce support for little endian PowerPC, Kumar Gala, (Fri Oct 1, 10:59 am)
Re: [PATCH 15/18] mtd: Fix endianness issues from device tree, Artem Bityutskiy, (Fri Oct 1, 12:29 pm)
Re: Introduce support for little endian PowerPC, Benjamin Herrenschmidt, (Fri Oct 1, 1:50 pm)
Re: Introduce support for little endian PowerPC, Benjamin Herrenschmidt, (Fri Oct 1, 1:51 pm)
Re: Introduce support for little endian PowerPC, Olof Johansson, (Fri Oct 1, 3:03 pm)
Re: Introduce support for little endian PowerPC, Benjamin Herrenschmidt, (Fri Oct 1, 3:28 pm)
Re: [PATCH 09/18] powerpc: Support device tree regardless ..., Benjamin Herrenschmidt, (Sat Oct 2, 11:22 pm)
Re: Introduce support for little endian PowerPC, Michel Dänzer, (Mon Oct 4, 3:30 am)
Re: Introduce support for little endian PowerPC, Benjamin Herrenschmidt, (Mon Oct 4, 3:50 pm)
Re: Introduce support for little endian PowerPC, Ian Munsie, (Tue Oct 5, 6:04 pm)
Re: Introduce support for little endian PowerPC, Hollis Blanchard, (Thu Oct 7, 9:25 am)