diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-26 17:14:06 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-01-27 14:33:43 -0800 |
commit | 8d4bc36fae50b09a73ba2cfab920adb32141a358 (patch) | |
tree | 509111af04c4094f685431997d2749987dc30a8b /src/common.h | |
parent | 6c0ca1676bf60529dd331cc739abdf68fa9e918d (diff) |
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.
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |