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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef HW_SKIP_CONSOLE
|
||||||
|
#define HW_SKIP_CONSOLE 4
|
||||||
|
#endif
|
||||||
|
|
||||||
static Bool
|
static Bool
|
||||||
dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
|
dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
|
||||||
@ -801,7 +804,7 @@ dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
|
|||||||
switch (op) {
|
switch (op) {
|
||||||
case GET_REQUIRED_HW_INTERFACES:
|
case GET_REQUIRED_HW_INTERFACES:
|
||||||
flag = (CARD32*)ptr;
|
flag = (CARD32*)ptr;
|
||||||
(*flag) = 0;
|
(*flag) = HW_SKIP_CONSOLE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user