diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-02-14 17:57:19 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-02-18 06:14:55 +0100 |
commit | 4b6f70f20cbaccb18f122e87ac0d471356b01a59 (patch) | |
tree | 601b611f6ab38c60a7ea84b9e00550a7c03487a9 | |
parent | 2d9990c7e8020d28fec4f581493696087def904f (diff) |
radeon: add square-tiling flag
-rw-r--r-- | include/drm/radeon_drm.h | 1 | ||||
-rw-r--r-- | radeon/radeon_bo.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 728df604..ff97e484 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -808,6 +808,7 @@ struct drm_radeon_gem_create { #define RADEON_TILING_SWAP_32BIT 0x8 #define RADEON_TILING_SURFACE 0x10 /* this object requires a surface * when mapped - i.e. front buffer */ +#define RADEON_TILING_MICRO_SQUARE 0x20 struct drm_radeon_gem_set_tiling { uint32_t handle; diff --git a/radeon/radeon_bo.h b/radeon/radeon_bo.h index 8859c2c3..37478a0d 100644 --- a/radeon/radeon_bo.h +++ b/radeon/radeon_bo.h @@ -36,6 +36,7 @@ /* bo object */ #define RADEON_BO_FLAGS_MACRO_TILE 1 #define RADEON_BO_FLAGS_MICRO_TILE 2 +#define RADEON_BO_FLAGS_MICRO_TILE_SQUARE 0x20 struct radeon_bo_manager; struct radeon_cs; |