xserver: Branch 'master' - 2 commits

Keith Packard keithp at kemper.freedesktop.org
Mon Jun 2 13:11:50 PDT 2014


 hw/xfree86/loader/loadmod.c |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 7ca458493aa2f0aa091c989ea0768611e0730bf5
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed May 28 08:14:00 2014 +0100

    xfree86: Report Present as a built-in module
    
    This is so that drivers can do a runtime check that Present is available,
    similar to existing runtime checks performed by the drivers for DRI.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
index f92ad8d..e1f649a 100644
--- a/hw/xfree86/loader/loadmod.c
+++ b/hw/xfree86/loader/loadmod.c
@@ -841,6 +841,9 @@ static const char *compiled_in_modules[] = {
 #if DRI3
     "dri3",
 #endif
+#if PRESENT
+    "present",
+#endif
     NULL
 };
 
commit 746be5a03ebbda4ab411ca3efb2ed95f99e9ea46
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed May 28 08:13:59 2014 +0100

    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 at chris-wilson.co.uk>
    Cc: Mark Kettenis <mark.kettenis at xs4all.nl>
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
index 092bf57..f92ad8d 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
 };
 


More information about the xorg-commit mailing list