summaryrefslogtreecommitdiff
path: root/src/intel_driver.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-07-24 01:44:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-04 15:18:29 +0100
commit42d94356f65972eb7fb8991234a4e9388c4c2031 (patch)
tree94ee6a9dc6f87762e581d99899c82826579b9f26 /src/intel_driver.h
parentf906a4de62856df5b2536ce9704750c3530636fa (diff)
sna: Add XMir support
With lots of updates by Christopher James Halse Rogers as he updated the XMir API - but now supposedly frozen! "<RAOF> ickle: I think the xmir api should be pretty much stable now, barring people coming up with more awesome ways of doing things." Signed-off-by: Christopher James Halse Rogers <raof@ubuntu.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_driver.h')
-rw-r--r--src/intel_driver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel_driver.h b/src/intel_driver.h
index e54054fe..0c5e4aec 100644
--- a/src/intel_driver.h
+++ b/src/intel_driver.h
@@ -1,6 +1,8 @@
#ifndef INTEL_DRIVER_H
#define INTEL_DRIVER_H
+#include "intel_xmir.h"
+
#define INTEL_VERSION 4000
#define INTEL_NAME "intel"
#define INTEL_DRIVER_NAME "intel"
@@ -129,6 +131,6 @@ void intel_put_device(ScrnInfoPtr scrn);
void __intel_uxa_release_device(ScrnInfoPtr scrn);
-#define hosted() (0)
+#define hosted() (xorgMir)
#endif /* INTEL_DRIVER_H */