[PATCH] drm/radeon: add RADEON_TILING_R600_SCANOUT to radeon_drm.h

Marek Olšák maraeo at gmail.com
Mon Aug 12 11:12:46 PDT 2013


Signed-off-by: Marek Olšák <marek.olsak at amd.com>
---
 include/uapi/drm/radeon_drm.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index 321d4ac..0b6740a 100644
--- a/include/uapi/drm/radeon_drm.h
+++ b/include/uapi/drm/radeon_drm.h
@@ -806,8 +806,9 @@ struct drm_radeon_gem_create {
 
 #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_R600_SCANOUT			0x4 /* r600 and later */
+#define RADEON_TILING_SWAP_16BIT			0x4 /* r100-r500 */
+#define RADEON_TILING_SWAP_32BIT			0x8 /* r100-r500 */
 /* this object requires a surface when mapped - i.e. front buffer */
 #define RADEON_TILING_SURFACE				0x10
 #define RADEON_TILING_MICRO_SQUARE			0x20
-- 
1.8.1.2



More information about the dri-devel mailing list