summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2015-06-10 14:46:22 +1000
committerDave Airlie <airlied@redhat.com>2015-06-30 12:17:55 +1000
commitea0e4d752b778c1f2132f8d29542f7dabc296415 (patch)
tree9ccde95e54e4bc367f30fd1733d1eafb1ec93168 /include
parent5c555605386c76be2f02193d434a4617218b67be (diff)
glamor: add support for allocating linear buffers (v2)
We need this for doing USB offload scenarios using glamor and modesetting driver. unfortunately only gbm in mesa 10.6 has support for the linear API. v1.1: fix bad define v2: update the configure.ac test as per amdgpu. (Michel) set linear bos to external to avoid cache. (Eric) Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 76f45f535..c2ba4347f 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -503,6 +503,9 @@
/* Build glamor's GBM-based EGL support */
#undef GLAMOR_HAS_GBM
+/* Build glamor/gbm has linear support */
+#undef GLAMOR_HAS_GBM_LINEAR
+
/* byte order */
#undef X_BYTE_ORDER