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

David Miller davem at davemloft.net
Sat Feb 14 20:36:17 PST 2009


From: Michel Dänzer <michel at daenzer.net>
Date: Sat, 14 Feb 2009 11:28:43 +0100

> 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?

Adding that modification is fine with me.

Thanks.


More information about the xorg-driver-ati mailing list