summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-11-17 13:46:27 -0500
committerAdam Jackson <ajax@redhat.com>2009-11-17 17:15:02 -0500
commite39d9a265572c273915f1803a729e7211d7b247b (patch)
treef0b46b9fab9bf28d496d4ae2630823b12b0d9d73
parenta8366277a70797a7fa9c8c0b739a5fdac066816f (diff)
Add support for HW_SKIP_CONSOLE
Acked-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/dummy_driver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 560b9b5..f68cfc9 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -792,6 +792,9 @@ DUMMYCreateWindow(WindowPtr pWin)
return TRUE;
}
+#ifndef HW_SKIP_CONSOLE
+#define HW_SKIP_CONSOLE 4
+#endif
static Bool
dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
@@ -801,7 +804,7 @@ dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
switch (op) {
case GET_REQUIRED_HW_INTERFACES:
flag = (CARD32*)ptr;
- (*flag) = 0;
+ (*flag) = HW_SKIP_CONSOLE;
return TRUE;
default:
return FALSE;