summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen_blit_shaders.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-02-13 19:06:33 -0500
committerDave Airlie <airlied@redhat.com>2011-02-14 10:10:09 +1000
commit0f234f5fdca1e31c7a6333c3633edc653cf3e598 (patch)
tree7fe79d1387c8db942042f967279745ec0162591a /drivers/gpu/drm/radeon/evergreen_blit_shaders.c
parent4eace7fdfa1f8ac2f0a833e12bd07eeb453ec9ef (diff)
downloadblackbird-op-linux-0f234f5fdca1e31c7a6333c3633edc653cf3e598.tar.gz
blackbird-op-linux-0f234f5fdca1e31c7a6333c3633edc653cf3e598.zip
drm/radeon/kms: evergreen/ni big endian fixes (v2)
Based on 6xx/7xx endian fixes from Cédric Cano. v2: fix typo in shader Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_blit_shaders.c')
-rw-r--r--drivers/gpu/drm/radeon/evergreen_blit_shaders.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_blit_shaders.c b/drivers/gpu/drm/radeon/evergreen_blit_shaders.c
index ef1d28c07fbf..3a10399e0066 100644
--- a/drivers/gpu/drm/radeon/evergreen_blit_shaders.c
+++ b/drivers/gpu/drm/radeon/evergreen_blit_shaders.c
@@ -311,11 +311,19 @@ const u32 evergreen_vs[] =
0x00000000,
0x3c000000,
0x67961001,
+#ifdef __BIG_ENDIAN
+ 0x000a0000,
+#else
0x00080000,
+#endif
0x00000000,
0x1c000000,
0x67961000,
+#ifdef __BIG_ENDIAN
+ 0x00020008,
+#else
0x00000008,
+#endif
0x00000000,
};
OpenPOWER on IntegriCloud