radeon: Fix KMS CP writeback on big endian machines.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 7 Apr 2011 14:17:47 +0000 (16:17 +0200)
committerDave Airlie <airlied@redhat.com>
Sat, 9 Apr 2011 06:20:15 +0000 (16:20 +1000)
commitdc66b325f161bb651493c7d96ad44876b629cf6a
treeba4c5e241f3f9a5d2462c0a1f5510c9cad25863e
parent0a0883c8433c743dad0a4d9ebe2717558f2c209e
radeon: Fix KMS CP writeback on big endian machines.

This is necessary even with PCI(e) GART, and it makes writeback work even with
AGP on my PowerBook. Might still be unreliable with older revisions of UniNorth
and other AGP bridges though.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Reviewed-by: Alex Deucher <alex.deucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/radeon/radeon_ring.c