Nathaniel McCallum
8e368cf5b9
Xorg: add -modalias option
...
This scans the installed video drivers and prints a Linux-style modalias
listing of the devices each driver claims to support.
2008-10-14 09:50:29 -04:00
Aaron Plattner
3fc4f40b6c
Restore xf86{Enable, Disable}GeneralHandler.
...
These were useful as part of the generic handler ABI, and are used by the NVIDIA
driver.
This reverts part of commit 50081d2dfb
.
2008-10-12 16:08:26 -07:00
Aaron Plattner
2217d22a76
Revert "xfree86: xf86{Enable, Disable}InputHandler can be static."
...
These were potentially useful as part of the input handler ABI, even if nobody
currently uses them.
This reverts commit 278c11f01f
.
2008-10-12 16:07:24 -07:00
Maarten Maathuis
5b336585a4
dri: don't set the dixPrivate key to NULL, as this is a staticly set variable.
...
- This breaks on the 2nd server generation.
- No other subsystem seems to NULL their key.
- This should fix bug 17982.
2008-10-10 23:28:30 +02:00
Adam Jackson
94ed0ba1b5
Move xorg_backtrace() up to the OS level so we can call it from DIX.
2008-10-10 16:28:10 -04:00
Adam Jackson
f650c1aeb0
Revert "Don't leak EDID_block"
...
This reverts commit 05cdef18ca
.
http://lists.freedesktop.org/archives/xorg/2008-October/039305.html
2008-10-10 14:07:28 -04:00
Adam Jackson
0660dd9d70
EDID: Catch monitors that encode aspect ratio for physical size.
...
This is not legal in either EDID 1.3 or 1.4, but hey, when did a little
thing like legality stop anyone.
2008-10-10 13:59:08 -04:00
Peter Hutterer
0b4b683f3e
xfree86: export NewInputDeviceRequest/DeleteInputDeviceRequest
...
NIDR should be used to create a new SD from e.g. within a driver.
DIDR should be used to remove a device from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-10-10 16:57:32 +10:30
Peter Hutterer
5e213fe102
xfree86: cache dev->isMaster before freeing the device.
2008-10-10 16:57:32 +10:30
Zhenyu Wang
05cdef18ca
Don't leak EDID_block
2008-10-10 13:45:51 +08:00
Luc Verhaegen
2d9da7a5f3
DGA: Track client state even when using old style DGA.
...
This fixes the issue that a badly killed DGA will keep on hogging
mode/framebuffer/mouse/keyboard.
2008-10-09 22:22:53 +02:00
Luc Verhaegen
322335d5b5
DGA: Mash together xf86dga.c and xf86dga2.c.
...
This in preparation for an upcoming client state tracking fix.
2008-10-09 22:21:05 +02:00
Luc Verhaegen
1feb69eb63
DGA: Fix ProcXF86DGASetViewPort for missing support in driver.
...
Fixes a segfault when trying to activate a DGA mode without checking
whether DGA modesetting is at all possible.
2008-10-08 14:55:29 +02:00
Tiago Vignatti
adf3e296e2
Remove unused declarations.
...
AvailableClientInput (LBX debris) and xf86XinputFinalizeInit.
2008-10-08 03:41:17 -03:00
Tiago Vignatti
bca9fa2efe
Everyone knows that the loader is present. Silence it.
2008-10-08 03:41:17 -03:00
Zhenyu Wang
56c615368c
Check nextEnabledOutput()'s return in bestModeForAspect()
...
In case no enabled outputs, we will reference wrong index of
output array.
2008-10-08 13:33:55 +08:00
Tiago Vignatti
278c11f01f
xfree86: xf86{Enable, Disable}InputHandler can be static.
2008-10-08 01:18:49 -03:00
Tiago Vignatti
50081d2dfb
xfree86: remove xf86{Enable, Disable}GeneralHandler and others unused.
2008-10-08 01:11:38 -03:00
Tiago Vignatti
54294e15ec
xfree86: fix wrong function name message errors.
2008-10-08 00:43:22 -03:00
Daniel Stone
617933e8c2
XFree86: Fix DontZap interaction with -retro
...
-retro will now _not_ override (No)DontZap, if it's set in the config
file.
2008-10-08 02:45:59 +03:00
Daniel Stone
d80bae2237
Update docs to reflect new DontZap default
2008-10-08 02:44:08 +03:00
Adam Jackson
42e7b64bf9
-retro enables zapping
2008-10-07 20:32:02 -04:00
Daniel Stone
9d135ac10a
Input: Make DontZap the default
...
If you need to bail out the server, use Ctrl-Alt-Fx, or enable zapping
if it bothers you that much. If Ctrl-Alt-Fx is broken, nag me until
it's permanently fixed.
2008-10-08 02:30:05 +03:00
Aaron Plattner
b574365fca
Revert "Unexport (and unimplement) xf86SetAccessFuncs" for now.
...
The nvidia driver currently uses these hooks to work around problems where RAC
will disable access to the hardware at unexpected times. This change restores
these hooks until we can come up with a better API for working around RAC.
This reverts commit c1df4fbede
.
2008-10-07 13:09:11 -07:00
Aaron Plattner
fe85ec34ec
Revert "Remove unused server state change callbackery" for now.
...
The nvidia driver currently uses these callbacks to work around problems where
RAC will disable access to the hardware at unexpected times. This change
restores these hooks until we can come up with a better API for working around
RAC.
This reverts commit d7c0ba2e9e
.
Conflicts:
hw/xfree86/loader/xf86sym.c
2008-10-07 13:08:38 -07:00
Adam Jackson
94919480d8
int10: Fix a nasty memory leak.
2008-10-07 13:41:53 -04:00
Adam Jackson
a57b2f172c
int10: Don't warn when scanning for devices we don't have.
...
Some BIOSes (hi XGI!) will attempt to enumerate the PCI bus by asking
for the config space of every possible device number. This despite
perfectly functional BIOS methods to enumerate the bus exactly.
2008-10-07 13:41:53 -04:00
Adam Jackson
a65e36a873
int10: Remove useless check.
...
If you have more than one PCI device with the same d/b/d/f, you're
already in trouble.
2008-10-07 13:41:53 -04:00
Dave Airlie
e7cd5d84ed
fixup another calloc build issue
2008-10-07 16:09:17 +10:00
Adam Jackson
c6d6d3e87a
Loader: Unexport a handful of consumerless symbols from dixsym.
2008-10-06 16:18:21 -04:00
Adam Jackson
8a5b89e8e1
xalloc+memset(0) -> xcalloc
2008-10-06 15:36:51 -04:00
Adam Jackson
0b7b89fbac
xalloc+bzero -> xcalloc
2008-10-06 14:19:30 -04:00
Roland Scheidegger
7818aba1d1
dri2: fix compilation (remove no longer existing include file)
2008-10-04 15:50:35 +02:00
Adam Jackson
bd0e87c747
Remove a bunch of unused API from the mi export list.
2008-10-03 17:51:20 -04:00
Adam Jackson
ee5e07bc22
loader: sort the mi symbol list
2008-10-03 17:51:20 -04:00
Adam Jackson
77d0b0ecfa
Remove unused pciNumBuses
2008-10-03 17:51:20 -04:00
Adam Jackson
0ce61e21d6
Remove the Must_have_memory hack.
...
Also remove an astonishing amount of misunderstanding of how casts work.
2008-10-03 17:51:19 -04:00
Adam Jackson
fe616f9230
Drop the never-called SkippedRequestCallback list.
2008-10-03 17:51:19 -04:00
Adam Jackson
31136b9467
Unexport MakeClientGrab{Imp,P}ervious
...
xtrap used to use these, but it's gone now. xtest still does but it's
linked statically.
2008-10-03 17:51:19 -04:00
Adam Jackson
eaf3fdf970
Unexport xf86NoSharedResources
2008-10-03 17:51:19 -04:00
Adam Jackson
d7d9edb506
Unexport xf86DeallocateResourcesForEntity
2008-10-03 17:51:19 -04:00
Adam Jackson
49673b4358
Unexport xf86SetEntityFuncs
2008-10-03 17:51:18 -04:00
Adam Jackson
949ef6b79a
Unexport xf86ChkConflict
...
Also remove the unused internal ChkConflict()
2008-10-03 17:51:18 -04:00
Adam Jackson
d7c0ba2e9e
Remove unused server state change callbackery.
2008-10-03 17:51:18 -04:00
Adam Jackson
9ada146a16
xf86RegisterResources: Always print any failed registrations.
2008-10-03 17:51:18 -04:00
Adam Jackson
a5d3fa90f3
Typo fix.
2008-10-03 17:51:18 -04:00
Adam Jackson
cc33358585
Remove the old implementation of RemoveOverlaps
2008-10-03 17:51:18 -04:00
Adam Jackson
8fbf1185f5
Internalise some resource list API.
2008-10-03 17:51:17 -04:00
Adam Jackson
0ca4f3cee7
Unexport xf86EnterServerState
2008-10-03 17:51:17 -04:00
Adam Jackson
c1df4fbede
Unexport (and unimplement) xf86SetAccessFuncs.
...
Because, no.
2008-10-03 17:51:17 -04:00