Commit Graph

1037 Commits

Author SHA1 Message Date
jsg
a9f7b7bce8 Enable hardware acceleration on haswell again.
Seems to work with the kernel changes I've just committed
on a desktop with hd 4600, and matthieu's haswell ult with hd 4400.
2013-11-11 03:16:50 +00:00
shadchin
55854c363a a little header cleanup 2013-11-02 13:17:32 +00:00
shadchin
0e58383580 Fix jagged diagonal lines (xenocara part)
Make sure that you have a recent kernel.

ok matthieu@. tested edd@, Henri Kemppainen and Alf Schlichting.
2013-10-30 18:05:34 +00:00
miod
819249aec9 X11 clients for OpenBSD/aviion. ok matthieu@ 2013-10-25 18:14:20 +00:00
matthieu
b91348b6a7 Update to xf86-video-vesa 2.3.3 2013-10-20 12:25:48 +00:00
matthieu
ae569081d6 Update to xf86-video-dummy 0.3.7 2013-10-20 12:24:01 +00:00
jsg
ec2836f36d disable blit acceleration on haswell for now
seems to mitigate some hangs seen by weerd@ and matthieu@
2013-09-10 03:10:31 +00:00
jsg
e9013f6750 revert the patch that forced ColorTiling2D to be disabled now
the mesa update has gone in
2013-09-06 10:21:21 +00:00
kettenis
1f135a54da Fix shadowfb on big-endian machines.
ok matthieu@
2013-08-18 13:54:41 +00:00
matthieu
61e2983c70 Fix a number of merge issues accumulated over the years
- INSTALL often got doubled by patch
- empty AUTHORS files didn't get removed.
2013-08-18 06:20:12 +00:00
bcallah
cb09aec501 Add octeon (no input driver, no video driver).
ok matthieu@
2013-08-17 17:01:23 +00:00
matthieu
5d025a727d Fix merge botch 2013-08-17 16:39:56 +00:00
matthieu
7674b98b67 Turn off ColorTiling2D until we get mesa >= 9.x
an be reverted when a mesa update goes in.
from jsg@
2013-08-16 17:05:18 +00:00
matthieu
2475cd4a50 Update to xf86-video-ati 7.2.0, requested by jsg@
It fixes an endianess problem with kms and the in tree x86-video-ati
among other things.
It has been tested on various i386/amd64/sparc64/macppc machines
on a range of hardware from r100->northern islands.
2013-08-16 17:04:02 +00:00
guenther
9a4b5cd1f6 Adjust the shared-lib versions for the intel driver to match the
versions expected by the time_t bump, this time done correctly

ok matthieu@
2013-08-15 03:34:19 +00:00
matthieu
acee5d3c07 Repair guenther's damage that I didn't ok. 2013-08-13 18:52:10 +00:00
guenther
655d680966 Bump the major to match the 64bit time_t change 2013-08-13 08:24:46 +00:00
jsg
be03ce4a0e enable kms support 2013-08-12 04:13:31 +00:00
matthieu
1449a85f9c Sum consecutive dx and dy motion events received separartely from
the kernel before sending them up to X. Reduces staircacse effects
on diagonal freehand drawings. Patch from Henri Kemppainen, tested
by edd@. Thanks.
2013-07-20 13:24:50 +00:00
aoyama
08420f85c8 Add monochrome X server support for luna88k.
Some luna88k specific quirks are needed in
driver/xf86-video-wsfb/src/wsfb_driver.c for now.

ok matthieu@
2013-07-15 13:23:17 +00:00
jsg
0eba66b46b revert previous. Juan Francisco Cantero Hurtado reports that loading
the dri driver causes xorg to crash with r700 (PCI HD4350).  Likely
due to the incomplete support for r600/r700 currently in the tree.
2013-07-01 13:24:43 +00:00
jsg
8d1c38158b Remove a local change that disabled the pageflipping
code in the KMS path.  Previously disabled due to
not having the required libdrm parts.
ok matthieu@
2013-06-29 14:20:25 +00:00
jsg
46d1e007d6 Build with support for KMS which was previously disabled due to
not having the required libdrm parts.  UMS will still be used if
KMS is not available.
ok matthieu@
2013-06-29 11:13:35 +00:00
matthieu
7b528a7590 Add basic EXA acceleration for the Alpine chipset. 2013-06-29 09:16:23 +00:00
matthieu
076750ef37 Quick fix for NULL pixmaps with server 1.14.
Problem reported and fix tested by J. Scott Heppler. Thanks.
2013-06-29 09:05:55 +00:00
matthieu
0e6332496b Default to EXA acceleration. 2013-06-14 21:27:14 +00:00
matthieu
04a5ce6247 Disable broken EXA operations for now. 2013-06-14 21:21:54 +00:00
matthieu
664a55a370 Fix initialization of shadowfb with modern X servers 2013-06-13 21:52:08 +00:00
matthieu
9a190ffb97 Fix initialization of shadowfb with modern X servers. 2013-06-13 21:48:11 +00:00
matthieu
cd7cbb53aa Fix loading the driver without XAA 2013-06-13 21:47:28 +00:00
matthieu
3caadaf943 On mach64, only disable RenderAccel, not the full EXA acceleration.
This is enough to fix the screen corruption seen on Xft fonts and other
Xrender drawings.
2013-06-10 20:38:52 +00:00
matthieu
7603c4ad9c Unbreak the sunffb driver. No acceleration for now, since XAA was
removed from X server 1.14.
2013-06-10 19:49:40 +00:00
matthieu
90b8bd5f89 Disable exa acceleration in the mach64 driver util fixed. 2013-06-07 17:33:04 +00:00
matthieu
cf95160a1b forgot to cvs add new files in update to 1.2.2 2013-06-03 19:45:57 +00:00
shadchin
ffcddaf4c2 Update to xf86-input-synaptics 1.7.1.
ok mpi@ jcs@ matthieu@
2013-06-02 18:17:24 +00:00
matthieu
6858fca67e Update to xf86-video-sunffb 1.2.2 2013-06-01 19:20:43 +00:00
matthieu
7996ec3e62 Build fix for sis driver under xserver 1.14 2013-05-30 15:06:59 +00:00
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