Commit Graph

625 Commits

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