diff options
author | Michael Cree <mcree@orcon.net.nz> | 2010-03-12 22:23:31 +1300 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-03-15 13:26:47 -0400 |
commit | d3482a947e3731be4ed0b00b4e3079470700dc4c (patch) | |
tree | 6b631dc38986f8bd4384ad37e7b7a785a776de27 /COPYING | |
parent | 488c9fd8300505cc6c0c2f8f0f00849f27cc5d63 (diff) |
Fix some word accesses in AtomBios to work on all architectures.
The UINT16LE_TO_CPU(), etc., macros are used in the AtomBios code to
fix up endian issues but they do not address bad alignment or assist
architectures that cannot perform hardware byte or word accesses.
This patch inserts use of the ldw_u(), etc., interface of the Xserver
into certain AtomBios accesses to address alignment issues.
This resolves Debian bug 572311, namely that the driver when compiled
for generic Alpha architecture (i.e. doesn't use the byte-word extension)
resulted in no display output on certain Radeon cards.
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions