~thopiekar/xorg-server/+git/xorg-xserver:autoconfig-for-7.2

Last commit made on 2006-09-14
Get this branch:
git clone -b autoconfig-for-7.2 https://git.launchpad.net/~thopiekar/xorg-server/+git/xorg-xserver

Branch merges

Branch information

Name:
autoconfig-for-7.2
Repository:
lp:~thopiekar/xorg-server/+git/xorg-xserver

Recent commits

46af6d1... by Adam Jackson <email address hidden>

Always believe the monitor when it reports a reduced-blanking mode.

CVT reduced blanking modes are typically only seen on digital connections to
LCDs, but there are some monitors that report them as supported over the
VGA connector too, which is perfectly legitimate, electrically speaking.

63acf18... by Adam Jackson <email address hidden>

In xf86MatchPciInstances, fail gracefully when there's no PCI device at all.

This allows the autoconfig logic to fall through sanely on non-PCI machines,
which importantly includes Xen virtual machines.

a8f9936... by Adam Jackson <email address hidden>

Prefer driver-provided modes when matching name strings to modelines.

Well, kinda. Strictly we prefer M_T_BUILTIN strongest since those are modes
where the driver has said it absolutely can't do anything else (VBE). Then
we look for user-defined modes, ie, modelines from the config file. Then
we consider modes reported by the monitor via EDID. Finally if nothing has
matched yet we consider the default mode pool.

Within each of the above-mentioned classes, modes with the M_T_PREFERRED bit
take priority over other modes in the same class.

This logic ensures that the timings sent to the monitor exactly match the
timings it reported as supported, which occasionally don't match the numbers
you might get for that mode from CVT or GTF.

81ef1b6... by Adam Jackson <email address hidden>

Mark EDID modes as driver modes. Infer virtual size from driver modes.

This allows the server to guess an appropriate initial virtual size and
resolution. The heuristic is to select the largest driver-reported mode
that matches the monitor's physical aspect ratio. We revalidate this
estimate after mode validation, since we may have filtered away all
modes that would fill that size.

Also, the EDID preferred timing is now marked as M_T_PREFERRED as well.

43d9edd... by Adam Jackson <email address hidden>

Attempt to add the 'mouse' driver in more situations.

Always add a mouse driver instance configured to send core events, unless
a core pointer already exists using either the mouse or void drivers. This
handles the laptop case where the config file only specifies, say,
synaptics, which causes the touchpad to work but not the pointing stick.
We don't double-instantiate the mouse driver to avoid the mouse moving twice
as fast, and we skip this logic when the user asked for a void core pointer
since that probably means they want to run with no pointer at all.

739224d... by Adam Jackson <email address hidden>

Load the default module set when no Module section is given in the config.

Also, synchronize that list with the list for the pseudoconfig file used
when starting with no config file. These really need to be better unified.

beac2bf... by Adam Jackson <email address hidden>

Expand the default sync ranges to be large enough for 800x600@60.

71a15a7... by Adam Jackson <email address hidden>

Publish the raw EDID block as a property on the root window.

This was removed in the patch for bug #5386, but is still useful.

7939c8d... by Adam Jackson <email address hidden>

Bump the default pixel depth to 24, and default bpp to 32.

72af975... by Adam Jackson <email address hidden>

Fix up EDID blocks where the max pixclock exceeds the preferred mode clock.

Base EDID only lets you specify the maximum dotclock in tens of MHz, which
is too fuzzy for some monitors. 1600x1200@60 is just over 160MHz, but if
the monitor really can't handle any mode at 170MHz, then 160 is more
correct. Fix up the EDID block before the driver can see it in this case,
so we don't spuriously reject modes.