Bi-Endian issue

Laurent Lagrange lagrange at fr.oleane.com
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 X.org (I use x.org
6.8.2 and I can't recompile it).

Laurent




More information about the xorg mailing list