Commit Graph

1210 Commits

Author SHA1 Message Date
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
shadchin
2949da6f87 Update to xf86-input-mouse 1.7.2.
ok matthieu@
2012-04-01 12:17:17 +00:00
oga
563a654b98 Mostly fix rotation in the intel driver.
Since recent(ish) changes we can allocate roatated framebuffers with tiling.
This was not taken into account. Fix this for the most part:
1) i830_display_tiled needs to check tiling on rotated buffers too.
2) PipeSetBase needs to not only set offset to 0 for roated shadow buffers, it
also needs to 0 DSPTILEOFF x/y too.

There seems to be a remaining issue with damage or similar causing some latency
on rotated screens, I have not managed to find this yet.

Tested by sereral on tech@ ok matthieu a couple of weeks ago (his mail slipped
though the cracks, hence late commit).
2012-03-13 22:44:44 +00:00
matthieu
54760b3c9f Fix check for xf86Modes.h. This fixes the radeonold driver build issues
caused by caching of the (previously wrong result).

And regen autotools files.
2012-03-13 21:35:51 +00:00
matthieu
9a6e571496 Pass --with-xserver-source explicitely to configure, since the
code that figures it out automatically started to fail.
2012-03-13 19:56:50 +00:00
matthieu
5faba13e02 Fix a long standing typo, but still don't build the siliconmotion driver
by default on loongson, to avoid creating false hopes.
2012-03-12 21:22:30 +00:00
matthieu
b95fc6de31 Reorganize video driver list a bit. 2012-03-12 13:54:04 +00:00
matthieu
eb9d0dd569 Build the radeonold on macppc and sparc64 platforms too. 2012-03-12 13:41:19 +00:00
matthieu
b8447e938e Remove xf86-video-radeonhd for good. 2012-03-04 16:09:01 +00:00
matthieu
9e25a1962b Unlink xf86-video-radeonhd from the build again. It's superceeded by
recent xf86-video-ati driver.
2012-03-04 16:05:52 +00:00
matthieu
7135875b83 Re-update xf86-video-ati to 6.14.3.
Because of ati.c revision 1.5, it will not be selected by
autoconfiguration code, so people who want to run this version of the
driver on their radeon cards need an explicit "Device" section in
xorg.conf.
2012-03-04 16:01:12 +00:00
matthieu
568671236b Load the radeonold driver for radeon chipsets. 2012-03-04 15:57:38 +00:00
matthieu
14f7665424 Build xf86-video-radeonold again. 2012-03-04 15:49:04 +00:00
matthieu
caca7d63c0 Replace Xalloc/Xfree with malloc/free.
Shuts down depreciation warnings during build.
2012-03-04 15:44:48 +00:00
matthieu
009d12875d Remove a comment that should have gone with rev 1.39. 2012-03-04 14:50:24 +00:00
matthieu
555e9efe80 Update to xf86-video-dummy 0.3.5 2012-02-20 21:48:45 +00:00
matthieu
40a6c4a96f Update to xf86-video-geode 2.11.13 2012-02-20 21:43:31 +00:00
matthieu
e46d8ddd0d Remove a bogus comment in the radeon(4) man page. From Brad. 2012-02-18 10:14:43 +00:00
matthieu
2be03eee0e Disable build of Xserver on hp300 and mac68k. Building the Xserver
with gcc 2.95 is getting hopeless and there is not enough manpower at
the moment to switch these platforms to a more recent compiler.
ok miod@, Nick@
2012-02-07 19:46:11 +00:00
matthieu
cc702cb732 Revert the update to xf86-video-ati 6.14.3. Requested by espie@
who experiemnts regressions with this driver.
2012-02-06 22:53:02 +00:00
matthieu
bbd2a2e3da Remove 2 obsolete drivers that have been unlinked from builds. 2012-01-31 07:59:53 +00:00
matthieu
16bbf25500 Explicitely disable DRI on SandyBridge and above chipsets. It doesn't
work anyways, so prevent X from crashing. ok oga@
2012-01-31 07:47:28 +00:00
matthieu
1dfa315ff5 Copy the ZaphodHeads option description from newer radeon driver.
Ironically, this option wasn't documented in the last version of
the driver where it was working.
2012-01-25 22:19:00 +00:00
matthieu
d230d6c16d replace radeon -> radeonold in a few places. Remove the unused atiold
man page.
2012-01-25 22:15:19 +00:00
matthieu
5ed4439044 +radeonold -radeonhd. xf86-video-radeonhd is deprecated all radeon
cards are supported by xf86-video-ati.
2012-01-25 21:37:03 +00:00
matthieu
b0f72d9595 Update to xf86-video-ati 6.14.3. Tested by many. 2012-01-25 21:33:33 +00:00
matthieu
7b7b372578 Add radeon driver 6.12.2 renamed as 'radeonold'.
This is the last known working version in 'zaphod' mode (one X
screen per head in multi-head configs). This makes it possible
to update the "real" radeon driver in xf86-video-ati, without
breaking existing zaphod setups.
2012-01-25 21:27:05 +00:00
shadchin
dd3fd20478 Update to 1.6.1.
ok matthieu@
2012-01-06 08:03:53 +00:00
matthieu
4d84ac9650 regen 2012-01-01 16:11:25 +00:00
matthieu
3e609be865 Bump revision to 0.4.0 to match upstreams release just pushed. 2012-01-01 16:08:39 +00:00
matthieu
dbe9a416bb Constify wsfb_open() argument. 2012-01-01 16:07:38 +00:00
matthieu
c43c7e4fb2 white space cleanup, copyright update, autotools regen. 2012-01-01 16:04:35 +00:00
matthieu
50cf571503 add _X_EXPORT attribute to public symbols. 2011-12-29 13:48:05 +00:00
kettenis
13f8f43bf4 Add support for Sandy Bridge. Not perfect yet. Most notably 3D acceleration
is completely absent, and playing video doesn't work yet.  But support for
"normal" 2D stuff is pretty solid and it is really nice to be able to use
my laptop at the panel's native resolution and be able to suspend and resume
the machine.

tested by some
2011-12-21 21:25:02 +00:00
matthieu
70f1880f97 regen 2011-12-14 17:00:08 +00:00
oga
b932741cf2 Some files (used for generating other stuff) that I missed in the last commit.
Oops.
2011-11-29 12:41:53 +00:00
oga
1431ee95fe Update the intel driver to a more recent version based on more recent
upsteam code.

Backporting keeping UMS changes by me, some bugfixes from kettenis@.

Has been in snapshots for a while, committed on request so we can be
sure what people are running. This is a prerequesite for sandybridge
support but has those chipsets disabled for now until the correct code
has been added.
2011-11-29 12:39:02 +00:00
shadchin
86e4fbccae Adding wheel emulation, ported from evdev(4)
ok matthieu@
2011-11-28 23:49:59 +00:00
shadchin
2d087d2918 Remove old headers (missing in previous update)
ok matthieu@
2011-11-28 23:15:21 +00:00
shadchin
9bf4ba3a8c Fixed incorrect condition (s/strcmp()/strcmp() == 0/)
ok matthieu@
2011-11-28 23:13:11 +00:00
shadchin
2cba20c2fd regen 2011-11-19 13:22:56 +00:00
shadchin
3917241c88 Replace WS_NOZMAP on WS_NOMAP.
ok matthieu@
2011-11-19 13:12:49 +00:00
shadchin
67a6690ca1 Simplify middle button emulation code.
ok matthieu@
2011-11-19 13:09:16 +00:00
shadchin
d7335b6ea9 Add check emulateMB.timeout >= 0.
ok matthieu@
2011-11-19 13:05:33 +00:00
shadchin
cb94a4132b ws_debug_level used only if defined DEBUG.
ok matthieu@
2011-11-19 12:59:55 +00:00
shadchin
df8922a136 Using macros MODULETEARDOWNPROTO for prototype.
ok matthieu@
2011-11-19 12:46:08 +00:00
shadchin
15c3974226 config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.

Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS.
It sets the SED env variable with an appropriate sed program path.

Use Automake $() for variables in Makefile.am

ok matthieu@
2011-11-19 12:42:57 +00:00
shadchin
3734bac4a5 Static atoms don't need to be initialized to 0.
ok matthieu@
2011-11-19 12:36:16 +00:00
shadchin
90da7d925e Sync with code.
ok matthieu@
2011-11-19 12:28:10 +00:00
shadchin
6946fdbaf2 Call wsInitProperty() only for WSMOUSE_TYPE_TPANEL and simplify code.
Also renamed wsInitProperty and wsSetProperty to
wsInitCalibProperty and wsSetCalibProperty respectively.

ok matthieu@
2011-11-09 16:17:44 +00:00
shadchin
2800db42b2 Simplify wsPreInit
ok matthieu@
2011-11-09 16:08:42 +00:00
shadchin
e6f2cf8c55 Ignore option Raw for mices. (was more noise than useful information)
ok matthieu@
2011-11-09 16:07:13 +00:00
shadchin
a86fa301f9 Remove call xf86CollectInputOptions. It is useless if second arg is NULL.
ok matthieu@
2011-11-09 16:04:50 +00:00
shadchin
ebf795425f Mapping scroll events:
on 4 and 5 buttons (vertical scrolling)
on 6 and 7 buttons (horizontal scrolling)

This is do default xf86-input-mouse, xf86-input-evdev.
Also sync manual page.

ok matthieu@
2011-11-08 12:57:44 +00:00
shadchin
25e80ee670 Correct clean bit for scroll buttons plus small optimisation.
ok matthieu@
2011-11-08 12:55:26 +00:00
shadchin
9272c2f84c Process only changed button
ok matthieu@
2011-11-08 12:53:14 +00:00
shadchin
4ad39eb24c Fix memory leak
ok matthieu@
2011-11-08 12:51:32 +00:00
shadchin
35b66ec59f Replace xf86FindOptionValue on xf86SetStrOption.
If option set as "", then xf86FindOptionValue returns "",
and xf86SetStrOption returns NULL.

ok matthieu@
2011-11-07 18:42:32 +00:00
shadchin
7fbf1ea788 Small fix manual page
ok matthieu@
2011-11-07 18:38:12 +00:00
shadchin
c581ee87df Remove code for ABI_XINPUT_VERSION < 12
ok matthieu@
2011-11-07 18:36:53 +00:00
shadchin
3d54603d79 Replace xf86Msg on xf86IDrvMsg.
The latter provides a standardised message format in the form of
    driver name: device name: message

ok matthieu@
2011-11-07 18:33:04 +00:00
shadchin
a8eeddbe72 Remove prototype wsChangeControl, this is missing in last change 2011-11-06 16:20:27 +00:00
matthieu
cfdb62bd98 Update to xf86-input-mouse 1.7.1. ok shadchin@ 2011-11-06 10:21:06 +00:00
matthieu
b0fa6c8d66 xalloc/xfree -> malloc/free and unifdef XFree86LOADER 2011-11-05 14:55:51 +00:00
matthieu
6e6a33f51b xalloc/xfree -> malloc/free 2011-11-05 14:55:09 +00:00
matthieu
7d75c22b46 unifdef XFree86LOADER, this isn't optional anymore. 2011-11-05 14:51:18 +00:00
matthieu
40c4e40724 Replace deprecated xalloc/xfree with malloc/free. 2011-11-05 14:40:51 +00:00
matthieu
7a02c9510a Remove the temporarly hack for xserver post 1.9. In the process
the xf86-input-citron driver is disconnected from the build since
no one cared to update it for input drivers ABI version 12.
Patches are welcome if someone still uses it.
2011-11-05 14:32:44 +00:00
matthieu
0e18138554 Update to xf86-input-joystick 1.6.0 for good now. 2011-11-05 14:01:47 +00:00
matthieu
0dd14d82d9 Update to xf86-input-penmount 1.5.0 2011-11-05 13:54:08 +00:00
matthieu
6a9eba6ba5 Update to xf86-input-mutouch 1.3.0 2011-11-05 13:51:49 +00:00
matthieu
b5ad791d9d Update to xf86-input-hyperpen 1.4.1 2011-11-05 13:49:26 +00:00
matthieu
4147ddeaa7 Update xf86-input-fpit to version 1.4.0 2011-11-05 13:47:11 +00:00
matthieu
e4b75af760 Update xf86-input-elographics to 1.3.0 2011-11-05 13:45:13 +00:00
matthieu
4bd8172e0b Update xf86-input-void to 1.4.0 2011-11-05 13:42:40 +00:00
matthieu
139ccc72dd Remove the imstt driver, which has not been linked to the build
for 5 years, and escaped previous purges
2011-11-02 20:57:07 +00:00
shadchin
6d15c8ed7e Some cleanup:
* remove trailing whitespace
* remove odd pInfo->private = priv
* remove wsChangeControl (not used)
* remove useless actions in wsControlProc

ok matthieu@
2011-10-16 17:54:07 +00:00
shadchin
30c836d8ce Update to xf86-input-synaptics 1.5.0.
ok mpi@, matthieu@
2011-09-23 16:53:49 +00:00
matthieu
2361152848 regen 2011-09-17 16:26:40 +00:00
matthieu
baa8826c48 Remove last bits of having xkeyboard-config optional. 2011-09-17 16:25:32 +00:00
shadchin
4e607c59bd Cleaning of current solution for 'Kill X on Ctrl+Alt+Backspace on default'
ok matthieu@
2011-09-17 13:39:30 +00:00
shadchin
32d3740477 remove old unused file
ok matthieu@
2011-09-15 04:34:01 +00:00
matthieu
265817ab58 Update to xf86-video-geode 2.11.12. Tested on Alix 3C3. 2011-09-13 20:25:34 +00:00
matthieu
bc1d244792 Let the intel driver build with xserver >= 1.10.
Reminded by shadchin@ ok oga@
2011-09-13 19:31:42 +00:00
matthieu
c3ef58cf98 Hack to make testing of newer Xserver versions easier.
The input driver ABI broke between xserver 1.9 and 1.10.
Some drivers were updated to the new ABI without keeping compatibility
So people testing Xserver 1.11 cant build the ones in xenocara until
they are updated, but I don't want to break building from CVS.

This is going away once xserver 1.11 and associated input drivers
updates are committed
2011-09-10 17:52:09 +00:00
matthieu
a40b5df9e7 Switch to xkeyboard-config is done. Remove old xkbdata and unifdef it.
ok shadchin@
2011-08-30 21:15:30 +00:00
matthieu
8f3343abae Fix initial xkb_options setting. Restores Ctrl+Alt+Backspace behaviour.
Strange that no one reported it beeing broken.
2011-08-21 09:11:07 +00:00
shadchin
1fbe67fd6b Fix work serial mouse on X.
Tested by Kent <kent at ripco.com>

ok matthieu@
2011-08-21 04:57:21 +00:00
shadchin
a8a33fb395 fix bug "lock up" touchpad ( not allowing to move the pointer, or click )
ok matthieu@
2011-07-17 13:53:00 +00:00
matthieu
be13f4d35d Unifdef support for xinput ABI up to 10. 2011-07-17 13:08:38 +00:00
matthieu
223f0b15f6 Unifdef support for xinput ABI up to 10. 2011-07-16 17:51:30 +00:00
matthieu
64adaaec20 Mention that this driver also supports ums(4), tweaks and white-space
cleanups.
2011-07-16 17:50:41 +00:00
matthieu
759486bcc4 Revert update to xf86-input-joystick 1.6.0.
This driver depends on xserver 1.10.
2011-07-02 21:59:45 +00:00
matthieu
6b7dd51a4a Update to xf86-input-joystick 1.6.0 2011-07-02 21:03:42 +00:00
matthieu
a1bae26b21 Code to configure the xkb layout and options from wscons setup
has moved to the X server wscons hotplug driver.

Tested by many, ok oga@
2011-06-29 20:00:23 +00:00
matthieu
8c4c507ccd Let fr.dvorak kbdtype select the bepo xkb layout.
Tested by Manuel Giraud. Thanks.
2011-06-14 11:47:33 +00:00
matthieu
0b4ee08508 xkeyboard-config is using "base" not "xorg" as default rules.
While there remove references to the unmaintained PC98 settings.
2011-06-11 08:38:35 +00:00
shadchin
89a8ad0171 If you do not have XkbOptions in xorg.conf, it is automatically set to
"terminate: ctrl_alt_bksp" (only if XENOCARA_USE_XKEYBOARD_CONFIG=Yes)

tested ajacoutot@, ok matthieu@
2011-05-30 10:52:57 +00:00
matthieu
aec351483f fix xf86-input-ws on xserver 1.9 and earlier.
<xorg-server.h> is needed to get the proper Xinput ABI definition from
other headers.
2011-05-08 10:38:13 +00:00
matthieu
ffcee74be0 Enable xf86-input-synaptics on i386 and amd64. 2011-05-08 09:27:57 +00:00
shadchin
83ee52a202 Add support new ioctl WSMOUSEIO_SETMODE.
ok matthieu@
2011-05-07 17:30:31 +00:00
matthieu
dbccdef0e7 Update to xf86-video-siliconmotion 1.7.5 2011-05-07 08:47:55 +00:00
matthieu
a50e5961de Update to xf86-video-vmware 11.0.3 2011-05-07 08:46:13 +00:00
matthieu
9c27e33916 Update to xf86-video-chips 1.2.4 2011-05-07 08:37:30 +00:00
matthieu
6c17fba165 Update to xf86-input-acecad 1.5.0. 2011-05-07 08:35:18 +00:00
oga
00c5cd661c Choose the r600 driver for r600+ chipsets, not r300.
This should stop the annoying errors for gl on r{6,7}00 chipsets.
Support for GL on these cards is coming soon.
2011-05-02 21:48:06 +00:00
matthieu
d43c4afa0a Skip the 'conf' directory which installs hal/udev Linux only stuff. 2011-04-25 18:49:37 +00:00
matthieu
590356dd1a Nuke bare RCS Id's 2011-04-25 18:46:10 +00:00
matthieu
3a3aee2020 Update to xf86-input-vmmouse 12.7.0. 2011-04-25 14:10:23 +00:00
matthieu
77f922ec62 Update configure.ac to match recent upstreams changes.
Bump version to 1.1.0
2011-04-25 13:04:44 +00:00
matthieu
a8c36ce60c Handle obsolete X{alloc,free,realloc} functions. 2011-04-25 13:01:46 +00:00
matthieu
606016899d Adapt to xinput API revision 12 (xserver 1.10). 2011-04-25 12:50:28 +00:00
matthieu
1bf60a502f xf86-input-ws 1.3.0:
- API compatibility with Xserver 1.10
- sync build system with other Xorg input modules
2011-04-24 15:55:12 +00:00
shadchin
8a0fa356d3 update to xf86-input-mouse 1.7.0
ok matthieu@
2011-04-22 18:35:19 +00:00
shadchin
ec4b63b61e update to xf86-input-keyboard 1.6.0
ok matthieu@
2011-04-22 18:33:36 +00:00
matthieu
7b1af5e761 mach64: fix for the pixmap private API change in future X server versions. 2011-04-17 17:21:58 +00:00
shadchin
9cb423af1a Add support wscons (upstream + implementation)
ok matthieu@
2011-04-10 12:04:29 +00:00
shadchin
eb14eec610 Import xf86-input-synaptics 1.4.0
ok matthieu@
2011-04-09 08:38:27 +00:00
matthieu
2cc47a1202 add a new build switch 'XENOCARA_USE_XKEYBOARD_CONFIG' to enable
the use of xkeyboard-config xkb definitions instead of the old xkbdata.
This will make testing easier. No changes in default builds.
ok shadchin@
2011-03-08 07:59:23 +00:00
kettenis
0c02cbb205 Restore the CLOCK_CNTL_INDEX *after* we're done messing with it. Makes Xorg
properly restore the video mode upon exit on macppc.

ok matthieu@, deraadt@
2011-02-28 19:17:12 +00:00
kettenis
e2f9a8fd0b Restore the CLOCK_CNTL_INDEX *after* we're done messing with it. Makes Xorg
properly restore the video mode upon exit on macppc and sparc64.  Already
merged upstream.

ok matthieu@, no objection miod@
2011-02-21 19:28:39 +00:00
matthieu
f98a26f8f7 Disable Xorg on alpha. Xrender is broken since 2 releases and I still
don't know how to fix it. ok miod@, todd@
2011-02-19 19:51:53 +00:00
matthieu
be5ccdb873 Avoid dereferencing a NULL pointer during VT switches when composite
is active.

Fix confirmed to fix observed crash by dcoppa@ canacar@. ok marco@.
2011-02-11 21:01:55 +00:00
matthieu
eccb1b24fc Fix a crash in zaphod mode if one screen is not present.
tested by jasper@, shadchin@. ok shadchin@.
2011-02-08 20:50:35 +00:00
matthieu
89dd5697ba Enable Xorg and a few drivers on hppa. Only wsudl works for now. 2011-01-02 14:04:18 +00:00
matthieu
1bc0a6eec3 Update to xf86-video-geode 2.11.10. Tested on Alix 3C3. 2010-12-07 21:54:11 +00:00
kettenis
0e9fe79926 Don't call xf86DPMSInit() twice. Since it wraps CloseScreen(), this has
disastrous effects.  Gets rid of some duplicated code as a bonus.  Fixes
X server crashes that appeared with the xserver 1.9.2 import.

ok miod@
2010-12-06 21:58:03 +00:00
kettenis
1e05eb448d It seems the code dealing with YV12 doesn't need to do a byte swapping dance
on sparc64.  So simplify the code.  Makes mplayer play video without weird
colors.

ok matthieu@
2010-12-05 20:25:26 +00:00
matthieu
0dcb43eed5 Update to xf86-video-savage 2.3.2. Committed from a Savage4 card. 2010-12-05 19:38:31 +00:00
matthieu
a12e48e1fe Remove empty .TP that make mandoc puke.
Noticed by kettenis@
2010-12-05 16:15:41 +00:00
matthieu
b118e2811e Remove a bunch of video drivers that were never built on OpenBSD and
are unlikely to be ported in the future. no objection from miod@ krw@.
2010-11-29 21:17:47 +00:00
matthieu
e4792f2596 Update to xf86-video-apm 1.2.3 2010-11-29 20:49:44 +00:00
matthieu
da250ff15b update to xf86-input-keyboard 1.5.0
Tested by ajacoutot@, shadchin@, jasper@ and landry@. Thanks.
2010-11-27 14:41:06 +00:00
claudio
21c462b41f Add a nasty little hack to make keyboard selection work for Swiss keyboard
encodings and the Canadian French one. The way XkbLayout and XkbVariant
work for this encodings changed some long time ago and the result was
that you would end up with no keyboard at all in X. Now XkbVariant includes
part of the layout selection which is about as ugly and makes the wscons
mapping a bit tricky.
OK matthieu@, maja@
2010-11-26 16:53:00 +00:00
shadchin
aa9ee11f20 Remove sunmouse protocol decoder. Now sunmouse works through wsmouse.
The sunmouse protocol decoder is a local addition (it was added by
millert@ back in 2002 and never merged upstreams.

ok matthieu@, miod@
2010-11-26 06:07:47 +00:00
matthieu
d0f3262522 Update to xf86-video-ast 0.91.10 2010-11-25 22:03:22 +00:00
shadchin
010f1e8e46 Update to xf86-input-mouse 1.6.0.
ok matthieu@
2010-11-21 15:13:51 +00:00
matthieu
5af175620e Update to xf86-input-void 1.3.1. No functional change. 2010-11-06 21:07:52 +00:00
matthieu
419d03f9a0 Update to xf86-video-geode 2.11.9.
A bunch of bug fixes and performance improvements. Tested on Alix 3c3.
2010-11-05 12:30:03 +00:00
matthieu
dd9a6776e6 MFC: fixes crashes on r600 with cairo 0.10.
Tested by espie@ and brad@

commit 78fcbf577ad6eba6399cc39f74b7ce5f9c8e265e
Author: Michel Daenzer <daenzer@vmware.com>
Date:   Thu Sep 3 14:55:05 2009 +0200

    EXA: Check for solid/gradient pictures the same way for all generations.

    In particular, also catch them for >= R300.

commit 87d7235790866f9c19ef08972d5237f09d940cd9
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Thu Nov 5 10:23:03 2009 -0500

    EXA: fallback if no pMaskPicture->pDrawable

    A solid or gradient mask could be used for blending
    the source picture onto the destination picture.

    Fixes fdo bug 24838
2010-10-17 10:31:04 +00:00
matthieu
3423f46a8b remove checks for xf1bpp and xf4bpp support, since they are not used. 2010-08-29 15:24:28 +00:00
matthieu
08c40d6ee1 Add missing headers for ioctl() and getpagesize() prototypes. 2010-08-29 15:20:40 +00:00
matthieu
bf7e77b9fc XFree86(1) -> __xservername__(1). __xservername__ is a macro that
gets replaced by the actual X server (Xorg currently) by the build
system.
2010-08-29 15:05:55 +00:00
matthieu
fcff2a0414 Sync the build system of xf86-video-{wildcatfb,wsfb,wsudl} with upstreams.
No functionnal change.
2010-08-29 14:58:23 +00:00
matthieu
a52d37219e Update after module loader simplification upstreams. Fixes loading
in xserver 1.8. ok miod@.
2010-08-29 14:43:17 +00:00
martynas
7ed4db88f1 remove annoying is lvds / is crt errorf calls
ok fgs@ matthieu@ oga@
2010-08-25 20:29:35 +00:00
matthieu
0e3d35862c Update to xf86-video-nv 2.1.18.
Tested at least by krw@, benoit@ and giovanni@.
2010-08-22 12:29:27 +00:00
matthieu
3734d79045 Update to xf86-video-mga 1.4.13. 2010-08-22 12:24:54 +00:00
matthieu
bd8dbdc283 Update to xf86-video-vmware 11.0.2. No functionnal change. 2010-08-22 12:19:00 +00:00
matthieu
54f1cd81d0 Update to xf86-input-vmmouse 12.6.10. No functionnal change. 2010-08-22 12:11:57 +00:00
matthieu
3998488de6 Merge commits 838 and 840 from trunk:
Fix bug with suspend and VT switch on VX800 and 64bit systems
(tested by jakemsr@)
Fix segfaults with EXA and XV (Ticket #359) Tested on K8M890 and VN800
2010-08-21 14:00:58 +00:00
matthieu
b1ae736ef2 Commit the right version of the file: we want to remove XkbLayout from
the defaults, no XkbModel.
2010-08-04 22:28:36 +00:00
matthieu
42e5cee579 Fix the fix of the fix.
Previous iteration would again ignore wscons keyboard.encoding setting.
Now no default xkbLayout is set, unless keyboard.encoding=user.
2010-08-04 21:45:32 +00:00
matthieu
7cfab8f596 Don't set xkblayout from wscons setting if specified in xorg.conf.
Problem noticed, and patch provided by  Mike Belopuhov. Thanks.
2010-08-04 19:27:52 +00:00
matthieu
751444b733 Remove empty .TP 2010-08-03 21:22:32 +00:00
matthieu
31f2be4aaf Fix a problem when switching back from a text VT; avoid stealing
the keyboard or other input devices events.
2010-08-01 19:21:01 +00:00
matthieu
36733264e6 regen 2010-07-31 16:52:52 +00:00
matthieu
67cb53f63e Define AM_CFLAGS and AM_CPPFLAGS like other drivers do. This fixes
build with CFLAGS=-g.
2010-07-31 16:51:57 +00:00
matthieu
4fc63f1770 Missed one added file in previous update to xf86-input-keyboard 1.4.0 2010-07-31 07:38:20 +00:00
naddy
988f34c0b9 terminate xf86Msg() string with newline; ok matthieu@ 2010-07-28 19:47:40 +00:00
matthieu
439d2f36f3 Additional fix for the wscons keyboard layout detection code.
If the layout is 'user', fall back to the "us" layout.

Problem spotted by naddy@.
2010-07-27 19:33:03 +00:00
matthieu
0efb2e140a Update to xf86-input-mouse 1.5.0. Tested by many with xserver 1.8
ok oga@, todd@.
2010-07-27 19:08:46 +00:00
matthieu
3fa6fbc913 Update to xf86-input-keyboard 1.4.0. tested by many with xserver 1.8.
ok oga@, todd@.
2010-07-27 19:06:44 +00:00
matthieu
9f50d18e65 kill trailing white space. 2010-07-25 19:53:35 +00:00
matthieu
67355d758b Fix configurations with both a stylus and an eraser.
The previous code was working by luck, since the "device busy" error
when opening the 2nd device was ignored. With xserver 1.8, xinput2 is
a bit less tolerant and causes a segfault. Problem reported by sthen@
Thanks.
2010-07-25 19:52:23 +00:00
matthieu
0f0c4a9fa0 Get rid of unused callbacks. 2010-07-25 14:35:53 +00:00
matthieu
8e75be5a1f LocalDevicePtr and InputInfoPtr are the same. Use the latter everywhere
for consistency. No code change.
2010-07-25 14:15:49 +00:00
matthieu
2ea3879e85 Update to xf86-video-voodoo 1.2.4 2010-07-24 20:23:16 +00:00
matthieu
905ad8720a Update to xf86-video-tseng 1.2.4 2010-07-24 20:20:16 +00:00
matthieu
5ef42429ee Update to xf86-video-trident 1.3.4 2010-07-24 20:15:44 +00:00
matthieu
b797fa7ce1 Update to xf86-video-sisusb 0.9.4 2010-07-24 20:11:58 +00:00
matthieu
c339d15bc3 Update to xf86-video-rendition 4.2.4 2010-07-24 20:09:35 +00:00
matthieu
aba38d2910 Update to xf86-video-chips 1.2.3 2010-07-24 20:05:02 +00:00
matthieu
c5080356d2 Update to xf86-video-ark 0.7.3. 2010-07-24 19:56:24 +00:00
miod
d2d87933f1 Remove redundant struct initialization in WildcatFBLoadPalette().
ok matthieu@
2010-07-23 15:20:33 +00:00
matthieu
d33a367729 One more tweak for compatibility with xserver 1.8. 2010-07-19 23:29:18 +00:00
matthieu
dd67e97c72 Fix allocation size of shadow framebuffer. Use byes, not bits.
Since the shadowfb is only used for bitsPerPixel >= 8, bitsPerPixel/8
is always the correct amount of bytes. ok miod@.
2010-07-18 20:10:12 +00:00
matthieu
3ad3fc2056 Make wildcardfb driver compatible with xserver 1.8 2010-07-18 17:49:46 +00:00
oga
1cf6df0168 Update the intel driver to (mostly) a backport of 2.12.
It is missing a few commits that I have yet to verify (ones that try and
continue if we lock the gpu rendering engine and can't reset it, for
example) taht will be verified and sent out for extra testing soon.

Should contain a bunch of speedups and some correctness improvements
(though rendercheck still gives some errors that I am looking into).

This has been in snaps since the first day of c2k10, any known issues
with just this driver have (to my knowledge) been fixed since. A problem
with macbooks pointed out by otto happens with both this and the in-tree
driver and thus doesn't stop this moving forward.

As well as the 2.12 improvements, this driver also has a backport
(partially aided by the backports in RHEL 5 kindly provided by Dave
Airlie) from the kms code of modesetting support for ironlake (arrandale
and clarkdale: the IGDs build into intel nehalem cpu dies) which has
been tested on a number of chipsets. Note that Display port and eDP
displays have not yet been worked on (and probably won't until I can
find a displayport monitor), but VGA and lvds at least are known to
work, sure beats vesa.

"no objection on my side" matthieu@, prodding (as always) from princess
marco.
2010-07-18 14:47:47 +00:00
matthieu
2afd40f212 Do not call shawdowRemove() if shadow fb was disabled. 2010-07-17 17:15:14 +00:00
matthieu
06e2ad8311 Update to xf86-video-sis 0.10.3 2010-07-17 14:52:29 +00:00
matthieu
e9a503f8f7 Update to xf86-video-neomagic 1.2.5 2010-07-17 14:43:51 +00:00
matthieu
08a8cd010e Update to xf86-video-dummy 0.3.4 2010-07-17 14:39:15 +00:00
matthieu
15cde5d3dc Let the old radeon driver build with xserver 1.8 2010-07-14 11:40:19 +00:00
matthieu
f184faf39a merge X.Org git HEAD to get XINPUT ABI version 7 support. 2010-06-13 12:39:19 +00:00
matthieu
0ae720f3fc regen 2010-06-13 11:13:10 +00:00
matthieu
8f3e4f02d9 merge X.Org git HEAD to get XINPUT ABI version 7 support. 2010-06-13 11:10:57 +00:00
matthieu
538c7a2f5f prepare for XINPUT ABI 7. 2010-06-13 11:06:15 +00:00
matthieu
e02163e60c Update to xf86-input-elographics 1.2.4 2010-06-13 11:04:19 +00:00
matthieu
a70129d150 Drop empty .TP. From Joerg Sonnenberger at NetBSD. 2010-06-06 20:38:03 +00:00
matthieu
1d28555472 Let this driver build with recent xservers too. 2010-05-30 21:05:16 +00:00
matthieu
c1e4f312ee Remove xf86-input-gunze wich was unlinked from biulds weeks ago. 2010-05-29 17:33:40 +00:00
matthieu
18bc122010 Avoid vmware module crashing with "X -configure".
Inspired by a similar fix in NetBSD.
2010-05-29 12:54:03 +00:00
matthieu
d0f6cd8611 Update to xf86-video-vesa 2.3.0 2010-05-24 10:09:19 +00:00
matthieu
eef3110182 Update to xf86-video-vmware 11.0.1 2010-05-24 10:03:52 +00:00
matthieu
b4282b59b8 Update to xf86-video-sunffb 1.2.1 2010-05-24 09:58:57 +00:00
matthieu
13c304f3e2 Update to xf86-video-siliconmotion 1.7.4 2010-05-24 09:52:22 +00:00
matthieu
1603c57ad4 Update to xf86-video-nv 2.1.17. 2010-05-24 09:45:39 +00:00
matthieu
bd38ae49de Update to xf86-video-mga 1.4.12 2010-05-24 09:36:11 +00:00
matthieu
9e00008f79 Update to xf86-video-mach64 6.8.2 2010-05-24 09:28:57 +00:00
matthieu
d7f89a3e47 Update to xf86-video-i128 1.3.3 2010-05-24 09:20:10 +00:00
matthieu
4579b4892f Update to xf86-video-glint 1.2.4 2010-05-24 09:14:11 +00:00
matthieu
4568c06ba0 Don't install the vmmouse_detect manual page. 2010-05-24 08:56:45 +00:00
matthieu
d55ef75534 Update to xf86-input-vmmouse 12.6.9 2010-05-24 08:51:42 +00:00
matthieu
63edae0c4c Update to xf86-input-penmount 1.4.1 2010-05-24 08:44:00 +00:00
matthieu
5e69f52304 Unbreak xf86-video-mga build after removal of the direct rendering module. 2010-05-24 07:40:21 +00:00
oga
c7812d078a Pull in the changes in rendering that I skipped when i backported
changes from later intel versions (after the UMS removal). 95% of this
is the xvmc reworks that makes that code even halfway sane. xvmc is now
enabled by default on 965+.

Tested by many on tech@, thanks!

ok matthieu@
2010-05-23 21:28:34 +00:00
oga
7587a41589 Disable Framebuffer Compression on 915GM and 945GM.
While this feature at best can save 05w idle power, it is very flakey. Disabling
it fixes (or at the least masks) the problem that some 915 and 945 users were
seeing where they ended up with a blank screen (it turns out that no problems
fired because everything was still working, just FBC screwed up and never
actually scanned out the framebuffer).

As some examples for reliability linux with kms has disabled fbc on these
chipsets due to some unreliability issues (especially over suspend). and the
window driver apparently also does not used it.

Tested by kettenis@, Tom Murphy, edd@ and myself.

ok matthieu@
2010-05-22 23:53:55 +00:00
naddy
fb0b2f5f84 Make it possible to build driver with the newer proto headers; from matthieu@ 2010-05-15 20:10:58 +00:00
oga
acc721c423 *sigh* there is always one (in this case two).
These files were missing from the last commit. (due to shuffling the cvs
diff between old driver and new one was 155246 lines, so two files isn't
that bad...)
2010-05-10 22:35:08 +00:00
oga
ec5c2469da Update the intel driver to 2.9.1 plus backports.
2.9.1 is the last version of the intel DDX that supports UMS (User
modesetting), with 2.10 onwards being purely KMS only. As such, this
driver contains backports of almost every correctness or performance
related fix to the rendering layer in later intel drivers. This driver
*REQUIRES* a GEM enabled kernel. it claims to support non-gem mode but
this is essentially unmaintained and due to the way the abstraciton
works is slow, if it works at all (it often does not). You have been
warned.

tested by many many people on tech over the last few weeks.
2010-05-10 22:32:28 +00:00
matthieu
f5884c407e Update to xf86-video-geode 2.11.8. Tested on Alix 3c3. 2010-05-08 16:26:20 +00:00
matthieu
ddba0c759e Update to xf86-video-dummy 0.3.3 2010-05-08 08:19:05 +00:00
matthieu
9ac8837d36 Make it possible to build drivers with the newer proto headers. ok oga@. 2010-04-13 19:56:37 +00:00
oga
691e04d2ba Here's a really good idea: when preparing for a vt switch the intel
driver idles the ringbuffer, stops it, unbinds all memory, then hands
back off.

Now here's the clever bit: just before we call to idle the ringbuffer
(which sleeps waiting for an interrupt) let's TURN OFF THE FUCKING
INTERRUPT. That's a great idea, really, isn't it?

Move the interrupt disable to *after* stop_ring. Theo's T61 VT switches
again.  everyone elses' intel stuff worked by magic (or shared
interrupts) before now.

Fixed after discussion with deraadt@, thanks to miod for suggestions.
2010-04-07 18:22:00 +00:00
matthieu
f53f514d46 Drivers list for loongson. 2010-02-04 06:25:40 +00:00
matthieu
01ee26d198 Recognize WSDISPLAY_TYPE_SMFB 2010-02-04 06:24:47 +00:00
matthieu
5590951830 Remove unused screen_width and screen_height fields from
driver private data.
2010-01-10 16:33:44 +00:00
matthieu
73eed35333 Typos in comments and error messages. 2010-01-10 15:22:47 +00:00
matthieu
4fd4d7c316 Default to ZAxisMapping 4 5 6 7.
This is what most users expect noawadays.
2009-12-31 18:01:14 +00:00
oga
928f6b4517 Fix a segfault in X for a clipped movie window.
ok matthieu@

Original commit message from barry scott to upstream:

 Author: Barry Scott <barry.scott@onelan.co.uk>
 Date:   Tue Jun 23 14:14:50 2009 +0100

     Fix segv for clipped movie window

     When playing a movie that is clipped on its left and right edges the
     Xorg server will SEGV sometimes. This is because the intel driver
     ignores the clipping info when it copies the planes out of the XV
     data.  The check for the optimised copy was wrong to ignore the
     width required.  Which leads to too much data being copied by the
     memcpy. It the source buffe happens to end exactly on a page
     boundary the server will SEGV.

     As we reviewed the code we checked the calculation of src1, src2 and
     src3.  The patch includes additional comments to make it clear what
     the elements of the calculation are.

     This bug exists in git head and we also see it in 2.4.1.
2009-12-14 14:21:54 +00:00
matthieu
1f09a7b580 Link xf86-video-wsudl to the build on architectures
that support udl(4). ok todd@
2009-12-12 09:46:40 +00:00
matthieu
012236a1be Fix SwapXY and rotation support.
More work to do wrt properties and calibration.
2009-12-10 22:32:02 +00:00
oga
80bba657d4 split the KB_VARTAB code in wscons autodetection so that it understands
both XkbOptions and XkbVariant. now we can understand the .dvorak,
.nodeadkeys and .swapctrlcaps wscons variants and pass them correctly onto XKB.
Means that xmodmap or setxkbmap magic isn't needed in those cases
anymore.

"no objections" matthieu@. Diff from Tobias Ulmer (tobiasu at tmux dot
org); thanks!
2009-12-07 19:28:53 +00:00
matthieu
bf862c28bf Remove the input driver before returning NULL on error in PreInit(). 2009-12-06 10:32:31 +00:00
matthieu
dfdb9035a8 update to xf86-video-mga 1.4.11. Tested by landry@ 2009-11-29 20:10:04 +00:00
matthieu
c98180f2b7 missing commit for mid-button emulation. 2009-11-27 10:30:08 +00:00
matthieu
5f158e3016 Cleanup this driver a bit, following what's been done in xf86-input-ws:
- no more convert proc
- use the correct XInput device type
- don't hardcode the package version number in the .c file.
2009-11-26 21:30:19 +00:00
matthieu
dcbd99cf98 white space 2009-11-26 18:13:47 +00:00
matthieu
bdbb8460ce regen 2009-11-26 16:45:41 +00:00
matthieu
007942360f Missed this file when adding middle button emulation. 2009-11-26 16:45:02 +00:00
matthieu
8b15b85686 Documentation for Emulate3Buttons and Emulate3Timeout and the associated
properties.
2009-11-26 16:42:52 +00:00
matthieu
c9960a2b5f Add middle mouse button emulation to xf86-input-ws.
Code stolen from evdev, that stole it from xf86-input mouse.
2009-11-26 16:42:06 +00:00
matthieu
18f9c26208 Document device properties 2009-11-26 11:10:09 +00:00
matthieu
910b2d77db Set resx/resy fields of the wscons calibration structure to the saved
values when the calibration properties change.
2009-11-26 10:57:35 +00:00
matthieu
cfe9a6b607 Only default to raw mode for touchpanels. The raw mode doesn't make
sense for mices.
2009-11-25 19:36:57 +00:00
matthieu
e945969695 When calibrating directly update the axis structures with new min/max values.
In xserver 1.7 with axis labels, the init function used previously
makes no sense anymore.
2009-11-25 19:31:35 +00:00
matthieu
3147c5ee18 The raw mode is a lot more useful now. So enable it by default. 2009-11-25 19:11:55 +00:00
matthieu
d5dc0ce8f5 No need to maintain a local cache of the pointer position anymore. 2009-11-25 18:14:23 +00:00
matthieu
d28a98a22a regen 2009-11-25 18:12:02 +00:00
matthieu
6665646a28 Implement device properties for calibration data.
Setting the properties also write to the kernel table.
The calibration code can now change the data without quitting X.
2009-11-25 18:10:26 +00:00