[PATCH xserver] Add definitions for the AArch64 architecture

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jan 7 04:47:35 PST 2013


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? 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.

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

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the xorg-devel mailing list