Bi-Endian issue

Laurent Lagrange lagrange at
Tue Nov 28 09:26:17 PST 2006

I am writing a DDX driver for my graphics card and I have endian problems. I
work on a powerpc (big endian) with a pci graphics card (little endian
framebuffer). My board doesn't have endian conversion flags and this leads
to bad colors.

Is there a way to describe in my driver the bi-endian configuration ? How
can I correctly handle byte swapping, without patching (I use
6.8.2 and I can't recompile it).


More information about the xorg mailing list