Commit Graph

594 Commits

Author SHA1 Message Date
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
matthieu
15298ef907 Save a copy of the kernel calibration data in the private data and
use it to save/restore the state during DEVICE_ON/DEVICE_OFF.
2009-11-25 18:03:42 +00:00
matthieu
fcd31496fc Send events upstreams one axis at a time. 2009-11-25 17:59:42 +00:00
matthieu
279e764019 Update to xf86-video-radeonhd 1.3.0
Tested by killi@ on a HD3200.
2009-11-24 16:57:34 +00:00
matthieu
c3d957f5fb Update to xf86-video-openchrome 0.2.904.
Tested by myself and kevlo@ on V800 and V855 chipsets.
2009-11-24 16:54:55 +00:00
matthieu
2baec57bee regen 2009-11-23 22:53:39 +00:00
matthieu
0e46d3a279 Missed one openbsd->xf86 rename. 2009-11-23 22:52:38 +00:00
matthieu
a04d9756c9 conversion_proc is not used anymore since Xserver 1.5.
Don't define one that's never called.
2009-11-23 22:10:29 +00:00
matthieu
bd0a1d71f5 Document option "raw". 2009-11-23 21:33:11 +00:00
matthieu
91bbfc2c74 Fix previous for non tablet cases. the WSMOUSE_IO_GCALIBCOODS fails there. 2009-11-23 21:11:27 +00:00
matthieu
76bf8ac9b1 Implement a new "raw" mode that will put a panel in raw mode.
Calibration data is read from the kernel, so things still work in this
mode.
2009-11-23 18:29:13 +00:00
matthieu
c56921a15d Another unused declaratin bites the dust. 2009-11-23 17:36:23 +00:00
matthieu
068d81918d - fix parameter orders for XInput 2 xf86InitValuatorAxisStruct() calls
- set min/max axis values for absolute valuators
2009-11-23 16:55:52 +00:00
matthieu
feea0e6d5e Set buttons and axis labels for XInput 2. 2009-11-23 16:21:50 +00:00
matthieu
fd1ce4e8f3 Handle NetBSD's wsmouse ABI versions. From marc at msys dot ch. Thanks. 2009-11-23 15:25:11 +00:00
matthieu
96a4b61607 split wsProc(). 2009-11-23 15:16:52 +00:00
matthieu
8dd19e6aa8 typo. From marc@msys.ch. Thanks. 2009-11-23 14:00:17 +00:00