[Intel-gfx] [PATCH 1/3] Kill some more #defines only needed for User-Modesetting

Daniel Vetter daniel.vetter at ffwll.ch
Mon Oct 26 14:15:24 CET 2009


Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 src/common.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/common.h b/src/common.h
index 5bc79e5..b9269b5 100644
--- a/src/common.h
+++ b/src/common.h
@@ -366,12 +366,6 @@ extern int I810_DEBUG;
 #define IS_I915(pI810) (IS_I915G(pI810) || IS_I915GM(pI810) || IS_I945G(pI810) || IS_I945GM(pI810) || IS_G33CLASS(pI810))
 
 #define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810) || IS_I945GM(pI810) || IS_I965GM(pI810) || IS_GM45(pI810) || IS_IGD(pI810) || IS_IGDNG_M(pI810))
-/* mark chipsets for using gfx VM offset for overlay */
-#define OVERLAY_NOPHYSICAL(pI810) (IS_G33CLASS(pI810) || IS_I965G(pI810))
-/* mark chipsets without overlay hw */
-#define OVERLAY_NOEXIST(pI810) (IS_G4X(pI810) || IS_IGDNG(pI810))
-/* dsparb controlled by hw only */
-#define DSPARB_HWCONTROL(pI810) (IS_G4X(pI810) || IS_IGDNG(pI810))
 /* supports Y tiled surfaces (pre-965 Mesa isn't ready yet) */
 #define SUPPORTS_YTILING(pI810) (IS_I965G(intel))
 
@@ -385,7 +379,6 @@ extern int I810_DEBUG;
 #define MAX_SCRATCH_BUFFER_SIZE		KB(64)
 #define HWCURSOR_SIZE			GTT_PAGE_SIZE
 #define HWCURSOR_SIZE_ARGB		GTT_PAGE_SIZE * 4
-#define OVERLAY_SIZE			GTT_PAGE_SIZE
 
 /* Use a 64x64 HW cursor */
 #define I810_CURSOR_X			64
-- 
1.6.4.3




More information about the Intel-gfx mailing list