summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-28 08:13:59 +0100
committerKeith Packard <keithp@keithp.com>2014-06-02 13:11:15 -0700
commit746be5a03ebbda4ab411ca3efb2ed95f99e9ea46 (patch)
tree5267f08f9215c0bd942c1300e9dcdd4190704fa3
parentb5526141f78df15bc5df2497bc4b4a17f1a6368d (diff)
xfree86: Report DRI3 as a built-in module
This is so that drivers can do a runtime check that DRI3 is available, similar to existing runtime checks performed by the drivers for DRI and DRI2. v2: Only add DRI3 to the list if the module was actually built into the server (Mark Kettenis). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mark Kettenis <mark.kettenis@xs4all.nl> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--hw/xfree86/loader/loadmod.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
index 092bf5735..f92ad8dcb 100644
--- a/hw/xfree86/loader/loadmod.c
+++ b/hw/xfree86/loader/loadmod.c
@@ -838,6 +838,9 @@ static const char *compiled_in_modules[] = {
"extmod",
"dri",
"dri2",
+#if DRI3
+ "dri3",
+#endif
NULL
};