[PATCH xserver] Add definitions for the AArch64 architecture

Marcin Juszkiewicz marcin.juszkiewicz at linaro.org
Mon Jan 7 05:00:33 PST 2013


W dniu 07.01.2013 13:47, Thomas Petazzoni pisze:
> Dear Marcin Juszkiewicz,
> 
> On Mon, 07 Jan 2013 13:25:45 +0100, Marcin Juszkiewicz wrote:
> 
>>> +/* linux on AArch64 */ +#if defined(linux) &&
>>> defined(__aarch64__) + +#define IMAGE_BYTE_ORDER       LSBFirst 
>>> +#define BITMAP_BIT_ORDER       LSBFirst +#define GLYPHPADBYTES
>>> 4 + +#endif
>> 
>> Order is reverse. I went that way first time but image booted in 
>> AArch64 commercial fast model shown distorted xterm [1]. Changed
>> to MSBFirst and xterm starts and displays properly [2].
> 
> I guess AArch64 runs Little-endian, no?

So far everyone agreed that AArch64 will be used with Little endian. Big
endian should be possible but can be skipped for now.

> If so, why would the order be MSBFirst? Of course, I see that it
> "fixes" the problem for you, but I'd like to understand the fix.

I concentrated on getting it working. Will try to understand it later ;(

> Also, is the AArch64 model with graphic support publicly available?

You need to buy license from ARM Ltd. I have access due to my Linaro work.


More information about the xorg-devel mailing list