From 8d4bc36fae50b09a73ba2cfab920adb32141a358 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Mon, 26 Jan 2009 17:14:06 -0800 Subject: Support tiled back/depth on 915-class hardware with DRI2. Set alignments, tile settings and flags correctly in the 2D driver to support tiled rendering. UXA's create pixmap function currently assumes the worst about the alignment constraints; that should probably be fixed. Some of the 1M alignment fixes could probably be done more cleanly as well. --- src/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 4a87acb6..be222df5 100644 --- a/src/common.h +++ b/src/common.h @@ -367,6 +367,8 @@ extern int I810_DEBUG; #define SUPPORTS_INTEGRATED_HDMI(pI810) (IS_G4X(pI810)) /* dsparb controlled by hw only */ #define DSPARB_HWCONTROL(pI810) (IS_G4X(pI810)) +/* supports Y tiled surfaces (pre-965 Mesa isn't ready yet) */ +#define SUPPORTS_YTILING(pI810) (IS_I965G(pI830)) #define GTT_PAGE_SIZE KB(4) #define ROUND_TO(x, y) (((x) + (y) - 1) / (y) * (y)) -- cgit v1.2.3