From 4b6f70f20cbaccb18f122e87ac0d471356b01a59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 14 Feb 2010 17:57:19 +0100 Subject: [PATCH] radeon: add square-tiling flag --- include/drm/radeon_drm.h | 1 + radeon/radeon_bo.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 728df60..ff97e48 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 8859c2c..37478a0 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; -- 2.7.4