diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-15 17:09:30 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-18 16:01:59 +1000 |
commit | c88f9f0c91de55efaece6d9bd9ec920b90244776 (patch) | |
tree | b171eada095c88ad432ec3cc320426771829ce8d /include | |
parent | 733289c2656c556d5cf36eafa1c8ec77222c359f (diff) | |
download | kernel_samsung_espresso10-c88f9f0c91de55efaece6d9bd9ec920b90244776.zip kernel_samsung_espresso10-c88f9f0c91de55efaece6d9bd9ec920b90244776.tar.gz kernel_samsung_espresso10-c88f9f0c91de55efaece6d9bd9ec920b90244776.tar.bz2 |
drm/radeon/kms: Use surfaces for scanout / cursor byte swapping on big endian.
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/radeon_drm.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index b67bbd7..3b9932a 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -802,11 +802,12 @@ struct drm_radeon_gem_create { uint32_t flags; }; -#define RADEON_TILING_MACRO 0x1 -#define RADEON_TILING_MICRO 0x2 -#define RADEON_TILING_SWAP 0x4 -#define RADEON_TILING_SURFACE 0x8 /* this object requires a surface - * when mapped - i.e. front buffer */ +#define RADEON_TILING_MACRO 0x1 +#define RADEON_TILING_MICRO 0x2 +#define RADEON_TILING_SWAP_16BIT 0x4 +#define RADEON_TILING_SWAP_32BIT 0x8 +#define RADEON_TILING_SURFACE 0x10 /* this object requires a surface + * when mapped - i.e. front buffer */ struct drm_radeon_gem_set_tiling { uint32_t handle; |