xf86-video-radeonhd:master: 1 commit(s)
Reporting from xf86-video-radeonhd: Radeon HD video driver
Please visit:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd
Or get your own copy by using:
git-clone git://anongit.freedesktop.org/xorg/driver/xf86-video-radeonhd
Commit against master at 23e76f0f...:
commit 996d309fe2cafcee1665c4bdcffd6a03299a1c7c
Author: Egbert Eich
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. Ales Fiala Hewlett-Packard -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
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
participants (3)
-
Ales Fiala
-
Alex Deucher
-
eich@kemper.freedesktop.org