Eric Anholt
7e1cada6c6
Disable debian pci-id-list autoconfig code on non-linux.
...
It contains static paths, fails to build on non-glibc, and apparently just
exists to support distributions managing binary drivers and open-source drivers
together. Also restores previous code for fallback to vesa if nothing is
detected.
2007-10-19 15:16:19 -07:00
Matthias Hopf
74e84b8d89
Only issue XF86_APM_CAPABILITY_CHANGED for video change ACPI events (not e.g. brightness etc.).
2007-10-19 17:28:15 +02:00
Matthias Hopf
6fdf3ddfef
Fix ids of ACPI events according to ACPI spec.
2007-10-19 17:20:21 +02:00
Kristian Høgsberg
8e3c1dfc48
Introduce a new "GlxVisuals" option that controls which visuals are added.
...
Right now we default to "all" which gives us a situation much like before,
but when the "typical" option is implemented, we can change the default and
reduce the number of visuals the GLX module bloats the X server with.
2007-10-18 21:03:43 -04:00
Kristian Høgsberg
0af8180683
Drop VisualConfigPriv support from the DRI module.
...
No DDX driver uses this, and this patch stops the DRI module from
poking around GLX module data structures.
2007-10-18 21:03:43 -04:00
Kristian Høgsberg
7d74690536
Simplify and clean up GLX visual initialization.
...
Instead of the fragile setup where we filter the modes common between the
DDX generated GLX visuals and the DRI driver generated fbconfigs, we now
just take the fbconfigs returned by the DRI driver to be our supported set.
2007-10-18 21:03:43 -04:00
Eric Anholt
ab4bce02a9
Add a quirk for Philips 107P5 which lacks the preferred bit on detailed timing.
...
Also fix the prefer-large-75 quirk if the prefer-first-detailed bit was set,
though it's not the case for the existing prefer-large-75 consumer.
2007-10-18 15:22:42 -07:00
Eamon Walsh
c3f7b86255
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
os/access.c
2007-10-17 15:00:54 -04:00
Eamon Walsh
baabae623b
xselinux: Started reworking extension using new XACE hooks.
2007-10-17 13:54:56 -04:00
Keith Packard
feac075952
Make config file preferred mode override monitor preferred mode.
...
Add a new even-more-preferred bit to each mode which is used to make config
file preferences selected instead of the monitor preferred mode.
2007-10-17 11:42:28 +08:00
Keith Packard
f2da10f7bc
KDRIVE_LOCAL_LIBS includes some system libraries, not just internal x server libs
2007-10-17 10:51:02 +08:00
Peter Hutterer
5fe9bfd23f
xfree86: NIDR: don't call PairDevices explicitly.
...
set isMaster to FALSE explicitly.
Pairing isn't necessary, attachment should be done in EnableDevices.
2007-10-16 18:23:48 +09:30
Peter Hutterer
271d4c3d62
xfree86: remove XI86_SHARED_POINTER flag.
...
Not needed anymore. By default, all devices are slaves of first master device.
2007-10-16 15:50:07 +09:30
Peter Hutterer
e9f149fb56
Fix up detritus from removing GetPairedPointer/Keyboard.
2007-10-16 14:24:20 +09:30
Eamon Walsh
4c3285c883
registry: Register WINDOWSWM extension protocol names.
2007-10-15 18:04:47 -04:00
Eamon Walsh
3815284e89
registry: Register XF86DGA extension protocol names.
2007-10-15 17:57:59 -04:00
Eamon Walsh
2cd1b32b77
registry: Register XF86Misc extension protocol names.
2007-10-15 17:37:58 -04:00
Eamon Walsh
960677e876
registry: Register XF86VidMode extension protocol names.
2007-10-15 17:30:00 -04:00
Eamon Walsh
b778672408
registry: Register XF86DRI extension protocol names.
2007-10-15 17:15:34 -04:00
Eamon Walsh
eee46b4681
registry: Register APPLEWM extension protocol names.
2007-10-15 17:06:22 -04:00
Eamon Walsh
b9f5ab98c8
registry: Register XINERAMA extension protocol names.
2007-10-15 16:18:37 -04:00
Eamon Walsh
3464b41923
registry: Register APPLEDRI extension protocol names.
2007-10-15 15:45:12 -04:00
Eamon Walsh
32f3f5a1e7
registry: Register DMX extension protocol names.
2007-10-15 15:32:17 -04:00
Ben Byer
3d4eb17b38
mass change from #ifdef i386 to #ifdef __i386__ to conform to ANSI
2007-10-14 18:07:03 -07:00
Kristian Høgsberg
927757e102
Merge branch 'master' of git://git.freedesktop.org/git/xorg/xserver
2007-10-12 19:28:39 -04:00
Eamon Walsh
526f40434c
NULL is not a valid argument to CreatePicture, please use serverClient
...
as the client argument if no real client is creating the object.
2007-10-12 18:19:44 -04:00
Kristian Høgsberg
781515bb63
Convert GLX module to use screen private indexes like everything else.
2007-10-12 16:18:19 -04:00
David Nusinow
eaf0e2a21c
Fix another compiler warning
2007-10-11 22:31:24 -04:00
David Nusinow
a5089af726
Fix a warning about the control logic in xchomp()
2007-10-11 22:24:31 -04:00
David Nusinow
cdf29ff45a
Remove some unused variables
2007-10-11 22:23:34 -04:00
David Nusinow
3367091f7f
Separate choosing driver from the file-based implementation
...
This clears the implementation out of the way to prepare for development
of a symbol-based resolution scheme
2007-10-11 22:21:38 -04:00
David Nusinow
3aa41bcb82
Remove obsolete error message define from parser
2007-10-11 21:29:13 -04:00
David Nusinow
e3e1222111
Don't bother validating the Device section of the conf file
...
All the previous tests can now be recovered from if not specified.
2007-10-11 21:27:07 -04:00
David Nusinow
28ef7f5941
Re-enable validation of the screen section of xorg.conf
...
This also fixes a problem where the server can't find the device section
when it is specified in the screen section.
2007-10-11 20:56:46 -04:00
David Nusinow
ea2d4dc468
When there's no xorg.conf, use the video driver autoloading function
2007-10-11 20:26:02 -04:00
Eric Anholt
fc092334ac
Bug #10304,12784,11603: Add quirks for several physical size issues.
...
A lot of EDID writers apparently end up stuffing centimeters (like the
maximum image size field) into the detailed timings, instead of millimeters.
Some of them only get it wrong in one direction. Also, add a quirk to let
us mark the largest 75hz mode as preferred, which will often be used for
EDID 1.0 CRTs.
2007-10-11 16:55:44 -07:00
Eamon Walsh
6adeba1730
dix: Add a new "registry" mechanism for registering string names of things.
...
Supports protocol requests, events, and errors, and resource names.
Modify XRES extension to use it.
2007-10-11 14:18:59 -04:00
Matthias Hopf
45cc03726b
Make mode checking more tolerant like in pre-RandR times.
2007-10-11 18:59:39 +02:00
Eamon Walsh
8f23d40068
xace: move the property deletion hook inside the DeleteProperty function.
2007-10-10 19:56:03 -04:00
Eamon Walsh
7e9e01a4a3
dix: pass a valid ClientPtr to SetFontPath in all cases.
2007-10-10 17:40:22 -04:00
David Nusinow
8825d36a38
Allow the user to not have a screen section
...
If none is present, a default one will be created. This will be attached
to either the first device section in the xorg.conf (allowing you to
specify something like using EXA without having a screen section) or a
default screen section if none is present in the file.
2007-10-09 22:49:07 -04:00
David Nusinow
8665cf3327
Don't require that the screen explicitly attach the device section
...
This will allow the screen to not explicitly have a device section. If
this is the case and there is a device section in the xorg.conf, the first
one will be used. If there is no device section at all, a default one will
be created that loads the automatically determined module.
2007-10-09 22:45:15 -04:00
David Nusinow
37898b824f
Use the best guess heuristic as a fallback for autoloading
...
This prevents breaking the current behavior
2007-10-09 22:13:15 -04:00
David Nusinow
847fbbf4d2
Fix autoloading of drivers for pci-rework
2007-10-09 22:13:15 -04:00
David Nusinow
6033d8150b
First pass at improved video driver autoloading
...
This is what we're currently shipping in Debian. Enables the ability for
drivers to ship a text file listing PCI ID's they support, and have the
server read them on startup when no driver is specified. This works, but
isn't the final solution.
2007-10-09 22:13:15 -04:00
David Nusinow
81d7b81146
Load intel instead of i810 when autoconfiguring
2007-10-09 22:13:15 -04:00
Dodji Seketeli
ab11bad547
Xephyr: remove a potential crasher
...
* hw/kdrive/ephyr/hostx.c:
(hostx_has_dri): be more defensive.
2007-10-04 13:05:29 +02:00
Dodji Seketeli
06c8977966
Xephyr: better handling of the -nodri option
...
* hw/kdrive/ephyr/ephyr.c:
(ephyrInitScreen): try and detect when the host has no
DRI support. In that case, switch to the -nodri behaviour.
When in the -nodri case, make sure not to skip glx visual
initialisation.
2007-10-04 13:01:24 +02:00
Dodji Seketeli
ea94f59e9b
Xephyr: don't disable glx visual init by default
...
* hw/kdrive/ephyr/ephyrinit.c:
(ddxProcessArgument): disabling visual init here
is bad because it gets disabled even when we want
to use software GL, leading to Xephyr :1 -nodri
crashing in mesa.
2007-10-04 12:54:26 +02:00
Dodji Seketeli
a7f210e6fc
Xephyr: fix a compiler warning
2007-10-04 12:51:08 +02:00