Commit Graph

1050 Commits

Author SHA1 Message Date
matthieu
52f6d0ba20 Merge upstream fixes for several X libs vulnerabilities
discovered by Ilja van Sprundel.

CVE-2013-1981 X.org libX11 1.5.99.901 (1.6 RC1) integer overflows
CVE-2013-1982 X.org libXext 1.3.1 integer overflows
CVE-2013-1983 X.org libXfixes 5.0 integer overflows
CVE-2013-1984 X.org libXi 1.7.1 integer overflows
CVE-2013-1985 X.org libXinerama 1.1.2 integer overflows
CVE-2013-1986 X.org libXrandr 1.4.0 integer overflows
CVE-2013-1987 X.org libXrender 0.9.7 integer overflows
CVE-2013-1988 X.org libXRes 1.0.6 integer overflows
CVE-2013-1989 X.org libXv 1.0.7 integer overflows
CVE-2013-1990 X.org libXvMC 1.0.7 integer overflows
CVE-2013-1991 X.org libXxf86dga 1.1.3 integer overflows
CVE-2013-1992 X.org libdmx 1.1.2 integer overflows
CVE-2013-1994 X.org libchromeXvMC & libchromeXvMCPro in openChrome
0.3.2 integer overflows
CVE-2013-1995 X.org libXi 1.7.1 sign extension issues
CVE-2013-1996 X.org libFS 1.0.4 sign extension issues
CVE-2013-1997 X.org libX11 1.5.99.901 (1.6 RC1) buffer overflows
CVE-2013-1998 X.org libXi 1.7.1 buffer overflows
CVE-2013-1999 X.org libXvMC 1.0.7 buffer overflows
CVE-2013-2000 X.org libXxf86dga 1.1.3 buffer overflows
CVE-2013-2001 X.org libXxf86vm 1.1.2 buffer overflows
CVE-2013-2002 X.org libXt 1.1.3 buffer overflows
CVE-2013-2003 X.org libXcursor 1.1.13 integer overflows
CVE-2013-2004 X.org libX11 1.5.99.901 (1.6 RC1) unbounded recursion
CVE-2013-2005 X.org libXt 1.1.3 memory corruption
CVE-2013-2066 X.org libXv 1.0.7 buffer overflows
2013-05-23 22:42:07 +00:00
matthieu
eb05615134 Remove calls to miInitializeBackingStore() and includes of mibstore.h
mibstore.h defines miInitializeBackingStore() as an empty stub, and
goes away in xserver 1.14.
2013-05-12 13:06:24 +00:00
shadchin
ac3d3b5f55 Update to xf86-input-mouse 1.9.0.
ok matthieu@
2013-05-03 09:34:38 +00:00
shadchin
83ceffd3fa Update to xf86-input-keyboard 1.7.0.
ok matthieu@
2013-05-03 09:32:18 +00:00
kettenis
d890a3469b Add an OpenBSD-specific implementation of backlight control that uses the
appropriate wscons ioctls.

ok matthieu@
2013-03-19 20:47:22 +00:00
matthieu
aae4813ec8 regen 2013-03-19 07:32:33 +00:00
matthieu
07f2f0a5ae Update to xf86-video-intel 2.20.19.
A recent kernel with kernel modesetting support is required.
Thanks to jsg@ and kettenis@ for their work.
2013-03-18 18:38:18 +00:00
mpi
814f050b0d Backout my workaround for broken accelerated solid pictures using XAA on
big endian an apply the correct fix, working at depth 16 and 24, kindly
provided by Michel Dänzer who already committed it upstream.

No objection from the usual macppc users.
2013-03-18 09:48:06 +00:00
aoyama
786472fe94 Add xenocara defines/files for luna88k, no X server at this moment.
ok miod@
2013-03-16 01:24:43 +00:00
miod
80ae22700e Build the X server on hp300 again. Tested on catseye. 2013-03-14 20:49:52 +00:00
matthieu
07ce5c5054 Repair the legacy i810 driver. Problem reported and fix
successfully tested by schwarze@
2013-02-14 15:15:37 +00:00
jsg
d6d6af1958 Several changes to resolve screen corruption sometimes seen with dpms
on ivy bridge, mostly based on upstream drm code:

- remove a workaround which was in itself causing issues
- switch the order of disabling fdi rx & tx
- disable DPLL_SEL when disabling the crtc
- add a few extra delays

Most of this concerns the gen5+ crtc disable function, and thanks
to a bunch of testers this is known to still work fine on gen 5/6/7.

ok kettenis@ matthieu@
2013-02-01 11:09:26 +00:00
sobrado
c7c3d2e810 example should conform to constraint on section identifiers.
ok matthieu@
2013-01-22 21:37:09 +00:00
stsp
2d8816a8c4 Stop the radeon driver from trying to restore text mode on PALM and newer
chip generations. The driver is currently unable to restore text mode on
these chips, and attempting to restore text mode anyway results in the
display not being restored properly when switching back to X. The only way
of restoring the display after restarting X was to reboot the machine.
ok mpi@
2013-01-20 15:06:45 +00:00
kettenis
87c6ca56f8 Only require DRM 1.2. That's the version we claim to support and it the driver
doesn't actually seem to require any newer interfaces.

ok jsg@
2013-01-17 11:07:36 +00:00
kettenis
f43e7c87ae Fix previous. 2013-01-17 11:02:54 +00:00
kettenis
2699efd7db Open /dev/drm0 instead of /dev/dri/card0 and add privsep support.
ok jsg@
2013-01-17 11:00:57 +00:00
matthieu
e014b201d3 regen 2013-01-17 07:22:28 +00:00
matthieu
062bd345e3 Add BSD Makefile. 2013-01-17 07:21:06 +00:00
matthieu
a4939b0756 Import xf86-video-modesetting 0.6.0.
Requested by jsg@ and kettenis@ for KMS testing.
2013-01-17 07:16:32 +00:00
martynas
70cf9f81f9 Remove annoying is lvds, is crt debug stuff. OK jsg@. 2013-01-15 06:31:43 +00:00
matthieu
ec0060cc12 Update to xf86-video-mach64 6.9.4 2013-01-05 17:00:06 +00:00
matthieu
ae98b909ab Regen autotools files once more.
Apparently previous version was generated with some of my local changes
to use /usr/bin/libtool. This is causiing problems with the XvMC libs
shared libraries versions.
2013-01-03 15:00:26 +00:00
matthieu
5eb5b9b452 Update to xf86-video-vmware 2.1 RC1 (aka 2.0.99.901) 2012-12-19 21:37:21 +00:00
matthieu
a68216fe34 - sync the "legacy" i810 driver, used only on true i810 and i815
chipsets to the one in recent intel driver from X.Org.

- remove one of the output probe method in i830PreInit(). This method is
  calling functions that are normally forbidden in PreInit(). With
  xserver 1.13 this causes a fatal error at run time.

Tested by bluhm@, nick@ and shadchin@ back in september.
2012-12-19 21:19:48 +00:00
matthieu
195cddcc4b Update to xf86-video-geode 2.11.14 2012-12-16 23:04:17 +00:00
jsg
f5929fd67d Recent thinkpads try to set a backlight value one greater than the
maximum causing backlight control to be disabled.  Limit the backlight
values to the maximum so xbacklight will work.

Backlight control via the brightness buttons won't yet work as
that likely requires opregion/acpi bits.

Tested by jcs@ jasper@ phessler@ naddy@ and Amarendra Godbole
ok phessler@ kettenis@
2012-12-13 01:23:08 +00:00
matthieu
6ccdfafb55 remove white space at end of line 2012-12-08 23:23:27 +00:00
matthieu
ebbac4e612 regen 2012-12-02 22:59:10 +00:00
matthieu
a1dad419fa Fix XAA support. Problem noticed by sthen@ 2012-12-02 22:51:25 +00:00
matthieu
26135f75ee Check return value of I830MapMMIO().
Allows the server to fail with a useful error message instead of
segfaulting later, like reported by Alexei Malinin on misc@.
2012-12-02 17:59:25 +00:00
mpi
5bcdec7171 Fix an EXA-related big endian issue, introduced in 6.14.5 with the support
of accelerated solid pictures on r1xx, r2xx and r3xx.

Problem reported by landry@, ok matthieu@
2012-11-28 10:03:36 +00:00
matthieu
7de58e3a96 Update to xf86-video-mga 1.6.2 2012-11-23 21:31:16 +00:00
matthieu
7f78badd24 Update to xf86-video-r128 6.9.1 2012-11-23 20:47:03 +00:00
matthieu
957b095fdb regen 2012-11-11 21:34:52 +00:00
matthieu
5e96e40232 Patch the driver a bit more, to be able to build without XAA. 2012-11-11 21:34:15 +00:00
matthieu
3bc130ae81 regen 2012-11-11 15:51:20 +00:00
matthieu
2548fbc088 Make it possible to build radeon drivers without XAA. 2012-11-11 15:49:43 +00:00
stsp
606582ce05 Teach wsconscomm in synaptics(4) about elantech touchpads. ok mpi@ shadchin@ 2012-10-29 11:55:50 +00:00
jsg
e9cb1c0fcd Make the hdmi modesetting code handle multiple display pipes.
Problem noticed by by rivo nurges and blambert@ after ivy bridge
support enabled multiple pipes for pch devices.

Fix based on what the upstream drm code does and
tested by rivo nurges, blambert@ and sthen@

ok kettenis@
2012-10-20 03:01:40 +00:00
jsg
97f5e30128 Add basic support for ivy bridge and fix several cases of register
access not being adjusted for the pch split, one of which prevented
multiple display pipes from working.  The third pipe on ivy bridge
remains disabled for now.

ok kettenis@ thanks to everyone who tested
2012-10-06 03:51:23 +00:00
kettenis
0c85c873e1 Improve hack to restore text mode on ironlake/sandy bridge.
tested by many
ok jsg@, deraadt@
2012-09-17 12:41:15 +00:00
matthieu
bb914d16ad Merge upstream build fix for 32bit arches with xserver 1.13. 2012-09-16 17:03:51 +00:00
matthieu
71d2be1aaf regen 2012-09-11 20:26:04 +00:00
matthieu
94740cdc2f Cherry-pick upstreams commit to convert the openchrome driver to
compat-api.h for compatibility with xserver 1.13.
Unfortunaltly recent versions of the driver are broken in the !dri
!kms case, so it cannot be upgraded.OA
2012-09-11 20:25:34 +00:00
matthieu
8bce356059 Upate to xf86-video-dummy 0.3.6 2012-09-09 21:31:46 +00:00
matthieu
10ad330859 regen 2012-09-09 21:14:26 +00:00
matthieu
00e6140ee7 Add compat-api.h. 1st step to get this version of the intel driver
working with xserver 1.13.
2012-09-09 21:13:06 +00:00
matthieu
b732b2442a regen 2012-09-09 17:54:04 +00:00
matthieu
da9b78bb7b Add compat-api.h 2012-09-09 17:53:35 +00:00
matthieu
8325a32150 Convert radeonold to compat-api.h (compatibility with xserver 1.13) 2012-09-09 17:51:30 +00:00
matthieu
b858f3c2d3 regen 2012-09-09 12:33:52 +00:00
matthieu
082fc7665e Bump to xf86-video-wildcatfb 0.0.2 2012-09-09 12:33:36 +00:00
matthieu
ec9efd0100 add compat-api.h for compatibility with xserver 1.13 2012-09-09 12:33:12 +00:00
matthieu
e03d0d643f regen 2012-09-09 11:44:04 +00:00
matthieu
099f34f8a3 bump to xf86-video-wsudl 0.2.2 2012-09-09 11:43:23 +00:00
matthieu
786d76b97a Add compat-api.h for compatibility with xserver 1.13 2012-09-09 11:42:57 +00:00
matthieu
bbe9035b7f regen 2012-09-09 09:48:33 +00:00
matthieu
be737cfaf9 bump to xf86-video-wsfb 0.4.1 2012-09-09 09:48:12 +00:00
matthieu
eaaacd9867 Add compat-api.h for compatibility with xserver 1.13 2012-09-09 09:47:36 +00:00
matthieu
1e039c8da0 Update to xf86-video-siliconmotion 1.7.7 2012-09-08 22:33:13 +00:00
matthieu
2a5bccb125 Update to xf86-video-vesa 2.3.2 2012-09-08 21:28:02 +00:00
matthieu
d36183ac84 update to xf86-video-savage 2.3.6 2012-09-08 20:51:57 +00:00
matthieu
174fe87a7b Update to xf86-video-r128 6.8.4 2012-09-08 20:47:49 +00:00
matthieu
bcbd7920e4 Update to xf86-video-mga 1.6.1 2012-09-08 16:35:55 +00:00
matthieu
5897ab18ee Update to xf86-video-trident 1.3.6 2012-09-08 16:23:40 +00:00
matthieu
d5cb0c4bbd Update to xf86-video-tdfx 1.4.5 2012-09-08 16:18:20 +00:00
matthieu
f7b02d78d6 Update to xf86-video-sis 0.10.7 2012-09-08 16:13:46 +00:00
matthieu
fdfa770087 Update xf86-video-s3virge to 1.10.6 2012-09-08 16:08:24 +00:00
matthieu
101d9b5066 Update to xf86-video-s3 0.6.5 2012-09-08 16:03:39 +00:00
matthieu
f6dd9aea77 update to xf86-video-s3 0.6.5 2012-09-08 15:52:49 +00:00
matthieu
e17090dc69 Update to xf86-video-s3 0.6.5 2012-09-08 15:48:32 +00:00
matthieu
3731244ab5 _X_EXPORT tags for module data 2012-09-08 13:16:09 +00:00
matthieu
57827fdf76 Update to xf86-video-mach64 6.9.3 2012-08-17 22:18:28 +00:00
shadchin
5300694556 Update to xf86-input-mouse 1.8.1
ok matthieu@
2012-08-16 16:42:10 +00:00
shadchin
f1aa3cd642 Update to 1.6.2.
ok matthieu@
2012-08-16 16:38:03 +00:00
matthieu
59c344e671 Update to xf86-video-nv 2.1.20 2012-08-16 16:35:27 +00:00
matthieu
3519464e43 Update to xf86-video-neomagic 1.2.7 2012-08-16 16:20:03 +00:00
matthieu
6081847827 Update to xf86-video-i740 1.3.4 2012-08-16 16:17:28 +00:00
matthieu
ee448ea128 Update to xf86-video-cirrus 1.5.1 2012-08-16 16:13:04 +00:00
matthieu
099f8c86c3 Update to xf86-video-i128 1.3.6 2012-08-11 10:07:25 +00:00
matthieu
ff1bfa770f Update to xf86-video-glint 1.2.8 2012-08-11 10:04:15 +00:00
matthieu
9a8f04a8b5 Update to xf86-video-ark 0.7.5 2012-08-11 10:00:44 +00:00
matthieu
b2671bd323 All drivers build again. 2012-08-11 09:56:55 +00:00
matthieu
a9a88f1b55 Update to xf86-video-voodoo 1.2.5 2012-08-11 09:49:50 +00:00
matthieu
aa57bd60b1 Update to xf86-video-tseng 1.2.5 2012-08-11 09:47:01 +00:00
matthieu
b4dc8e843d Update to xf86-video-rendition 4.2.5 2012-08-11 09:44:22 +00:00
matthieu
f672e1b7f2 Update to xf86-video-chips 1.2.5 2012-08-11 09:40:47 +00:00
matthieu
940bf7c463 Update to xf86-video-apm 1.2.5 2012-08-11 09:30:55 +00:00
matthieu
71b188ea7a Update to xf86-input-elographics 1.4.0 2012-08-11 09:26:31 +00:00
matthieu
2a52146dd2 switch to the radeon driver by default. Users needing radeonold now
need to set it up explicitly. Requested by ajacoutot@, ok espie@.
2012-08-08 16:35:05 +00:00
matthieu
3de236b892 Update to xf86-video-ati 6.14.6. Tested by mpi@, brad, eric@, ajacoutot@. 2012-08-08 16:25:21 +00:00
shadchin
c433d84d71 Fix for ClickPad (xenocara part). On issue pointed gilles@ and matthieu@
ok gilles@, matthieu@, mpi@, miod@, deraadt@
2012-07-22 18:33:01 +00:00
shadchin
238484184f two nits missing in previous commit 2012-07-08 14:22:03 +00:00
shadchin
4777ba761a Cleanup and uniform style. No functional changes. 2012-07-08 13:51:11 +00:00
matthieu
813879f82c Brown paperbag commit.
Prodded by espie@ I reviewed the history of
OpenBSD local changes carefully and found a number of merge errors
accumulated over the complicated CVS history of this driver.

This the 6.14.4 code + OpenBSD local fixes as it should be.
2012-07-08 13:42:13 +00:00
shadchin
92df448a79 Update to xf86-input-synaptics 1.6.2
ok matthieu@, mpi@
2012-06-30 13:31:03 +00:00
matthieu
075b81cb95 Link libIntelXvMC.so to pthread-stubs, not pthreads.
Needed by future matthew@ patch.
2012-06-24 20:43:25 +00:00
mpi
03c84451fc Since the transition to Xserver 1.12, the standard vgaHW layer
that depends on libpciaccess and is broken on macppc, so use
vgaHWSetMmioFuncs() instead of vgaHWSetStdFuncs() and unbreak
the nv driver on this platfrom.

ok matthieu@
2012-06-21 09:52:45 +00:00
matthieu
8ead23f263 Remove mac68k bits from Xenocara.
The imake config bits are not removed.
Those files are frozen, until they can be removed, once the last
port that still uses imake dies.
2012-06-20 19:56:34 +00:00
matthieu
2f68a08887 Don't unload sub-modules with xserver 1.12 2012-06-18 19:55:23 +00:00
matthieu
aacc4fff98 Finish removing the impact driver. Those files were left over
almost 4 years ago, and no one noticed.
2012-06-14 21:13:23 +00:00
matthieu
3911b7b4f2 Fix for new vgahw API. Problem reported by mpi@. Thanks. 2012-06-14 20:19:13 +00:00
shadchin
b1c43b246a Update to xf86-input-synaptics 1.6.1
ok matthieu@
2012-06-12 18:59:42 +00:00
shadchin
efc79f5918 zap extra brackets 2012-06-12 17:59:01 +00:00
shadchin
6810536bbf fix indent 2012-06-12 17:44:56 +00:00
shadchin
c141be6b55 zap trailing space 2012-06-12 17:19:01 +00:00
shadchin
19315c6e52 Add support ButtonMapping
ok matthieu@
2012-06-12 17:12:50 +00:00
shadchin
90e4158e02 Small cleanup
ok matthieu@
2012-06-12 17:11:23 +00:00
shadchin
2bfb1dd82f Add missing XISetDevicePropertyDeletable and more information about error
ok matthieu@
2012-06-12 17:10:03 +00:00
shadchin
b13ea1a213 Use xf86IDrvMsg in emumb.c instead of ErrorF
ok matthieu@
2012-06-12 17:06:43 +00:00
shadchin
3abd8f3785 Fix some obvious constness-related compile warnings
ok matthieu@
2012-06-12 17:04:43 +00:00
matthieu
3cbf28410e Update to xf86-video-openchrome 0.2.906 2012-06-11 21:21:54 +00:00
matthieu
e67183c5be Update for new vgaHW API 2012-06-09 10:33:05 +00:00
matthieu
0a37eba7ec Update to xf86-input-vmmouse 12.9.0 2012-06-09 09:33:55 +00:00
matthieu
53c868dbb5 MFC: Guard references to PCITAG / pciTag with XSERVER_LIBPCIACCESS
fixes the radeonold driver with xserver 1.12.
2012-06-07 21:07:05 +00:00
matthieu
c144ef53eb Update to xf86-video-ati 6.14.4. Tested by jasper@, krw@, mpi@, shadchin@ 2012-06-07 20:55:34 +00:00
matthieu
f4b3420bb7 Don't unload sub-modules in xserver 1.12. Its implementation is broken.
xf86UnloadSubModule() was a no-op in earlier versions.
2012-06-07 20:48:44 +00:00
matthieu
8fff4ad320 Fix build on i386. Previous commit was from an amd64 machine before
checking i386. Noticed by naddy@ thanks.
2012-06-02 23:23:12 +00:00
matthieu
9984b2394f If building against Xserver 1.12, disable video drivers that have not
yet been updated to the video ABI changes.
This  makes testing of xserrver 1.12 easier.
2012-06-02 15:58:19 +00:00
matthieu
1636c55b09 Update xf86-video-glint to version 1.2.7 2012-06-02 15:55:58 +00:00
matthieu
ad896261cb regen 2012-05-20 08:52:47 +00:00
matthieu
16aab7bc5f Automake magic incantation that permits setting CFLAGS on make cmd line. 2012-05-20 08:52:23 +00:00
matthieu
1b9e90b0ce Update xf86-video-openchrome to 0.2.905 2012-05-15 21:32:57 +00:00
matthieu
9a8da21ee8 Update to xf86-video-mach64 6.9.1 2012-05-15 06:19:26 +00:00
matthieu
2c2fb20b52 Update to xf86-video-mga 1.5.0 2012-05-14 20:46:18 +00:00
matthieu
4b89a5c021 Update to xf86-video-i128 1.3.5 2012-05-14 20:16:06 +00:00
matthieu
64ef6530af Update to xf86-input-vmmouse 12.8.0 2012-05-13 20:48:40 +00:00
matthieu
c12a5cae74 Update to xf86-video siliconmotion 1.7.6 2012-05-13 20:45:50 +00:00
matthieu
60c9834732 Update to xf86-video-s3 0.6.4. 2012-05-13 20:25:50 +00:00
matthieu
e17c1355bc Update to xf86-video-s3virge 1.10.5 2012-05-13 20:16:50 +00:00
matthieu
eb178a8ed9 fix small xf86-video-i740 1.3.3 merge glitch 2012-05-13 20:14:34 +00:00
matthieu
ca10fa63bd Update to xf86-video-s3 0.6.4 2012-05-13 20:10:19 +00:00
matthieu
f776fd0f7c Update to xf86-video-i740 1.3.3 2012-05-13 20:07:37 +00:00
matthieu
210cce104a Update xf86-video-apm to 1.2.4 2012-05-13 20:03:52 +00:00
matthieu
83fcba7e30 Files missed in upgrade to vmware 12.0.2 2012-05-07 09:42:34 +00:00
matthieu
44943385bd Update to xf86-video-vmware 12.0.2 2012-05-06 16:29:01 +00:00
matthieu
0558529b78 Update to xf86-video-trident 1.3.5 2012-05-06 16:19:36 +00:00
matthieu
35340223d1 Update to xf86-video-tdfx 1.4.4 2012-05-06 16:11:30 +00:00
matthieu
0653f98f4b Update to xf86-video-sis 0.10.4 2012-05-06 16:05:53 +00:00
matthieu
a708e3910d Update to xf86-video-savage 2.3.4 2012-05-06 16:01:13 +00:00
matthieu
bd1419ff2c Update to xf86-video-neomagic 1.2.6 2012-05-06 15:56:39 +00:00
matthieu
ca0515ebb9 Upate to xf86-video-cirrus 1.4.0 2012-05-06 15:41:35 +00:00
matthieu
6d91712449 Update to xf86-video-ark 0.7.4 2012-05-06 15:40:11 +00:00
matthieu
08c2ac6d83 Update to xf86-video-vesa 2.3.1 2012-05-06 15:04:50 +00:00
matthieu
78d8060203 One more fix for new vgaHW ABI. 2012-05-06 10:38:50 +00:00
matthieu
f252027f1e Fix for new vgaHW ABI. 2012-05-06 09:24:42 +00:00
matthieu
0bc99fee60 Update to xf86-video-r128 6.8.2 2012-04-08 17:49:07 +00:00
matthieu
0d672369ec Update to xf86-input-joystick 1.6.1 2012-04-08 17:03:03 +00:00
shadchin
0b992a096a Update to xf86-input-synaptics 1.5.2.
ok matthieu@
2012-04-01 12:18:44 +00:00