summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600_blit_shaders.c
diff options
context:
space:
mode:
authorCédric Cano <ccano@interfaceconcept.com>2011-02-11 19:45:38 -0500
committerDave Airlie <airlied@redhat.com>2011-02-14 09:23:38 +1000
commit4eace7fdfa1f8ac2f0a833e12bd07eeb453ec9ef (patch)
treee215856a4eebb3186085e386fa893fdc82c2138e /drivers/gpu/drm/radeon/r600_blit_shaders.c
parent4589433c57bd34b7e49068549e07a43c8d41e39d (diff)
downloadlinux-4eace7fdfa1f8ac2f0a833e12bd07eeb453ec9ef.tar.bz2
drm/radeon/kms: 6xx/7xx big endian fixes
agd5f: minor cleanups Signed-off-by: Cédric Cano <ccano@interfaceconcept.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_blit_shaders.c')
-rw-r--r--drivers/gpu/drm/radeon/r600_blit_shaders.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit_shaders.c b/drivers/gpu/drm/radeon/r600_blit_shaders.c
index e8151c1d55b2..2d1f6c5ee2a7 100644
--- a/drivers/gpu/drm/radeon/r600_blit_shaders.c
+++ b/drivers/gpu/drm/radeon/r600_blit_shaders.c
@@ -684,7 +684,11 @@ const u32 r6xx_vs[] =
0x00000000,
0x3c000000,
0x68cd1000,
+#ifdef __BIG_ENDIAN
+ 0x000a0000,
+#else
0x00080000,
+#endif
0x00000000,
};