summaryrefslogtreecommitdiff
path: root/src/intel_driver.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-09 11:34:39 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-09 11:46:24 +0100
commitb6b5c3f009585151eb772dfc2526843c7cee82b3 (patch)
tree63ab8d9eb0a2eb4864db92bc5250d3909fe76238 /src/intel_driver.h
parentab445c23079a76eaa2a7d499ec4755599012bd2f (diff)
intel: Disable incompatible features whilst hosted
Start adding the infrastructure to disable direct hardware access if X is being run under a system compositor (aka "hosted"). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_driver.h')
-rw-r--r--src/intel_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel_driver.h b/src/intel_driver.h
index 1e67eab0..47685364 100644
--- a/src/intel_driver.h
+++ b/src/intel_driver.h
@@ -129,4 +129,6 @@ void intel_put_device(ScrnInfoPtr scrn);
void __intel_uxa_release_device(ScrnInfoPtr scrn);
+#define hosted() (0)
+
#endif /* INTEL_DRIVER_H */