summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-08-19 19:01:30 +1000
committerDave Airlie <airlied@redhat.com>2009-08-19 19:03:03 +1000
commit72e0d1b2cb11a67b8e4be4c74913ee44dc051c5b (patch)
tree831ac42d8b00f26b96c5f714ce6c5fc86db1f4d1 /src/radeon.h
parent479a6daefe46f985c415b0d000b1b1b820f3924e (diff)
radeon/kms: add initial colortiling support (disabled by default).
This requires an X server from git with createpixmap2 support fixed up in it. On 1.6 and previous it won't do any tiling, if you are running git server please upgrade to latest git. Option "AllowColorTiling" "true" to enable and do some testing
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 6b47a6a1..3a3631e2 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -1620,4 +1620,9 @@ static __inline__ int radeon_timedout(const struct timeval *endtime)
now.tv_usec > endtime->tv_usec : now.tv_sec > endtime->tv_sec;
}
+enum {
+ RADEON_CREATE_PIXMAP_TILING_MACRO = 0x10000000,
+ RADEON_CREATE_PIXMAP_TILING_MICRO = 0x20000000,
+};
+
#endif /* _RADEON_H_ */