diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-02-13 19:06:33 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-14 10:10:09 +1000 |
commit | 0f234f5fdca1e31c7a6333c3633edc653cf3e598 (patch) | |
tree | 7fe79d1387c8db942042f967279745ec0162591a /drivers/gpu/drm/radeon/evergreend.h | |
parent | 4eace7fdfa1f8ac2f0a833e12bd07eeb453ec9ef (diff) |
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/evergreend.h')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreend.h b/drivers/gpu/drm/radeon/evergreend.h index afec1aca2a7..eb4acf4528f 100644 --- a/drivers/gpu/drm/radeon/evergreend.h +++ b/drivers/gpu/drm/radeon/evergreend.h @@ -98,6 +98,7 @@ #define BUF_SWAP_32BIT (2 << 16) #define CP_RB_RPTR 0x8700 #define CP_RB_RPTR_ADDR 0xC10C +#define RB_RPTR_SWAP(x) ((x) << 0) #define CP_RB_RPTR_ADDR_HI 0xC110 #define CP_RB_RPTR_WR 0xC108 #define CP_RB_WPTR 0xC114 |