xf86-video-intel: src/intel_module.c

Chris Wilson ickle at kemper.freedesktop.org
Mon Aug 12 05:13:40 PDT 2013


 src/intel_module.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8da8c88e999d74fb110dddd497f03854adc089cc
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Aug 12 13:12:21 2013 +0100

    intel: Check for HW_SKIP_CONSOLE before use
    
    For the older xserver.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/intel_module.c b/src/intel_module.c
index 42fa8d8..b91152e 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -382,8 +382,10 @@ static Bool intel_driver_func(ScrnInfoPtr pScrn,
 #else
 		(*flag) = HW_IO | HW_MMIO;
 #endif
+#ifdef HW_SKIP_CONSOLE
 		if (hosted())
 			(*flag) = HW_SKIP_CONSOLE;
+#endif
 
 		return TRUE;
 	default:


More information about the xorg-commit mailing list