[PATCH 2/4] radeon: move RADEON_TILING_{MASK, LINEAR} from radeon_drm.h to radeon.h

Andreas Boll andreas.boll.dev at gmail.com
Mon Aug 4 07:23:11 PDT 2014


This allows us to drop radeon_drm.h from xf86-video-ati and use instead
radeon_drm.h from libdrm.

Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
---
 src/radeon.h     | 2 ++
 src/radeon_drm.h | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/radeon.h b/src/radeon.h
index eac6ed5..6123cc2 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -820,5 +820,7 @@ RADEONLog2(int val)
 #endif
 }
 
+#define RADEON_TILING_MASK				0xff
+#define RADEON_TILING_LINEAR				0x0
 
 #endif /* _RADEON_H_ */
diff --git a/src/radeon_drm.h b/src/radeon_drm.h
index 2bbd8fa..042e822 100644
--- a/src/radeon_drm.h
+++ b/src/radeon_drm.h
@@ -800,8 +800,6 @@ struct drm_radeon_gem_create {
 	uint32_t	flags;
 };
 
-#define RADEON_TILING_MASK				0xff
-#define RADEON_TILING_LINEAR				0x0
 #define RADEON_TILING_MACRO				0x1
 #define RADEON_TILING_MICRO				0x2
 #define RADEON_TILING_SWAP_16BIT			0x4
-- 
2.0.1



More information about the xorg-driver-ati mailing list