[PATCH]: GART: Save/restore GART table consistently.

Michel Dänzer michel at daenzer.net
Sat Feb 14 02:28:43 PST 2009


On Sat, 2009-02-14 at 01:01 -0800, David Miller wrote:
> Always save the GART table with the RADEON_SURFACE_CNTL register
> zero'd out to make sure we always use the same endinanness.

Your additions should be guarded by

#if X_BYTE_ORDER == X_BIG_ENDIAN

for consistency with the existing code dealing with the SURFACE_CNTL
register. Do you want to send a new patch, or is it okay if I push it
with that modification?


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-driver-ati mailing list