Commit Graph

946 Commits

Author SHA1 Message Date
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