Add support for HW_SKIP_CONSOLE
Acked-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
a8366277a7
commit
e39d9a2655
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user