29 Jul
2008
29 Jul
'08
21:24
On Tue, Jul 29, 2008 at 5:11 PM, Ales Fiala
Is there any plan to make the radeonhd driver work on big-endian machines?
I am particularly talking about the code that accesses the atombios data structures, which are little-endian. An example would be a line like the following, from rhdAtomGetTables():
unsigned int atom_romhdr_off = *(unsigned short*) (base + OFFSET_TO_POINTER_TO_ATOM_ROM_HEADER);
This will retrieve the offset incorrectly byte-swapped on a big-endian machine.
I think accesses like these need to be wrapped in a macro.
radeon has support for atom on big endian that could be ported over. Alex -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org