summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-02-02 11:51:47 -0500
committerKristian Høgsberg <krh@redhat.com>2009-02-02 11:51:50 -0500
commit2013799b20599a58de48cb21a5a389e898a58af1 (patch)
tree0ddde73476d9228191785db8471e5a6967b18bb6 /src/common.h
parent127330bfd53ac7571bdd12a551142528b972893f (diff)
Un-revert the I915_SETPARAM_NUM_USED_FENCES commit reverted by accident.
Oops, my bad. Reverted 8d4bc36fae50b09a73ba2cfab920adb32141a358 since my kernel doesn't yet have the new param, committed the revert by accident.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
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))