xserver/hw/xfree86
Peter Hutterer 9f79e93b6b Short-cut the input device cleanup process during AbortServer()
If we're about to abort, we're already in the signal handler and cannot call
down to the default device cleanup routines (which reset, free, alloc, and
do a bunch of other things).

Add a new DEVICE_ABORT mode to signal a driver's DeviceProc that it must
reset the hardware if needed but do nothing else. An actual HW reset is only
required for some drivers dealing with the HW directly.

This is largely backwards-compatible, hence the input ABI minor bump only.

Drivers we care about either return BadValue on a mode that's not
DEVICE_{INIT|ON|OFF|CLOSE} or print an error and return BadValue. Exception
here is vmmouse, which currently ignores it and would not reset anything.
This should be fixed if the reset is required.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-02-08 09:06:14 -08:00
..
common Short-cut the input device cleanup process during AbortServer() 2013-02-08 09:06:14 -08:00
ddc api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dixmods Constify extensions in LoadExtension users 2012-11-21 11:13:55 +11:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
dri Merge remote-tracking branch 'yselkowitz/master' 2012-12-19 12:22:03 -08:00
dri2 dix: Pull client-is-local flag up to the ClientRec 2012-09-20 14:36:39 -04:00
exa api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
fbdevhw Make stub version of fbdevHWAdjustFrame match new prototype in fbdevhw.h 2012-06-11 18:29:16 -07:00
i2c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
int10 int10: fix pci_device_read_rom usage 2012-10-04 13:06:02 -07:00
loader Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
man doc: Drop XAA references from xorg.conf man page 2012-07-25 14:03:34 -07:00
modes hw/xfree86: Require only one working CRTC to start the server. 2013-01-08 20:24:32 -08:00
os-support xfree86: bail on misformed acpi strings (#73227) 2013-02-08 13:47:23 +10:00
parser Remove obsolete tab stop comments from hw/xfree86/parser/*.c 2012-06-20 21:41:52 -07:00
ramdac Remove XAA 2012-07-10 00:41:57 -07:00
shadowfb api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
utils cvt man page should use Hz, not kHz, for vertical refresh rate 2012-05-18 15:00:47 -07:00
vbe api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
vgahw xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
x86emu Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
.gitignore xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am Remove XAA 2012-07-10 00:41:57 -07:00
sdksyms.sh dix: fix redundant redeclaration warnings in dixfont 2012-11-05 13:24:59 -06:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00