summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-29 21:39:41 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-30 00:58:05 +0000
commit3f11bbec420080151406c203af292e55177e77d1 (patch)
tree12374fc1fe18c7b8dc0eb72776425b45b372b6dc /src/common.h
parent19d8c0cf50e98909c533ebfce3a0dd3f72b755c1 (diff)
uxa-glyphs: Enable TILING_X on glyph caches.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index b9269b5a..3169cdfa 100644
--- a/src/common.h
+++ b/src/common.h
@@ -389,4 +389,15 @@ extern int I810_DEBUG;
struct pci_device *
intel_host_bridge (void);
+/**
+ * Hints to CreatePixmap to tell the driver how the pixmap is going to be
+ * used.
+ *
+ * Compare to CREATE_PIXMAP_USAGE_* in the server.
+ */
+enum {
+ INTEL_CREATE_PIXMAP_TILING_X = 0x10000000,
+ INTEL_CREATE_PIXMAP_TILING_Y,
+};
+
#endif /* _INTEL_COMMON_H_ */