Commit Graph

590 Commits

Author SHA1 Message Date
matthieu
eff17519e4 Update for newer Xinput ABI. 2009-10-03 10:17:04 +00:00
mglocker
57c0324fbe Adapt to the new UDLIO_DAMAGE ioctl behaviour of udl(4). 2009-09-27 18:19:28 +00:00
mglocker
f79025b4ae wsudl(4) / udl(4) works on NetBSD as well now.
From FUKAUMI Naoki
2009-09-24 07:34:40 +00:00
mglocker
21fe69d289 If udl is to busy to process our UDLIO_DAMAGE drawing request, let wsudl
sleep for a bit before retrying, so we don't overload the kernel by busy
looping.

Tested and agreed matthieu@
2009-09-23 20:09:03 +00:00
matthieu
aa2fb42def XF86Config -> xorg.conf in comments. 2009-09-22 22:00:54 +00:00
mglocker
1360291edb Initial Xorg driver to support DisplayLink USB display devices using
the udl(4) device driver over wsdisplay(4).

OK matthieu@, miod@
2009-09-22 14:11:43 +00:00
matthieu
e10bf73c09 Same fix as in wsfb:
Call shadowRemove() in wsfbCloseScreen(). This fixes a free
memory dereference on exit. Hint by Daniel Stone. Thanks.
2009-09-13 19:46:47 +00:00
matthieu
5331f4bab2 Call shadowRemove() in wsfbCloseScreen(). This fixes a free
memory dereference on exit. Hint by Daniel Stone. Thanks.
2009-09-13 19:33:49 +00:00
oga
f0cd9e3a73 backport a bugfix from upstream:
Fix 945GM VT switch in UMS

	Bug #19578. We should set private intel_crtc state according to
	current, as fail to do so pipe A needs active won't be taken
	care of. Also make sure pipe swap operation always set during VT
	switch.

This also fixes the *other* x40 lid problem (which happens when you suspend,
then you shut the lid in dont'-suspend-on-lid mode.

the reasoning for the PipeA quirk I finally found:

	On some platforms, the firmware may read & write GPU registers
	on lid close, suspend/resume time or during various SMM events.
	If one of the graphics pipes is disabled at that time, the GPU
	may hang due to the programming dependencies of the various
	registers.

So essentially, without this patch, if you have this quirk and you shut
the lid, you're hosed, but y'know drivers in userland are great. So are
BIOS writers.

requested by deraadt@, who keeps getting this issue when he's on a plane.
2009-09-10 02:30:26 +00:00
matthieu
b1c6b32ab5 On powerpc, only set "UseFBDev" option to true by default on Linux. 2009-09-06 15:45:43 +00:00
matthieu
f090af278c MFC: enable build with recent input ABI. 2009-09-06 12:22:42 +00:00
matthieu
7370432720 Remove compat directories that are not needed here. ok oga@. 2009-08-25 19:08:29 +00:00
matthieu
f74c2dba55 update do xf86-video-ati 6.12.2
This has been in snapshots for weeks. ok oga@, todd@.
2009-08-25 18:51:44 +00:00
oga
5f44320c03 Pull in some code from 2.8 and current so that dri2 works correctly with
xserver 1.6.2. When dri2 is not in use, this commit does nothing.

ok matthieu@
2009-08-06 16:02:07 +00:00
kettenis
276db15ee6 Disable hardware cursor before we exit. From NetBSD.
ok oga@
2009-07-19 14:46:59 +00:00
matthieu
07600073fd Correct patch for libpciaccess issue from X.Org bug 18122, by
Marien Zwart. Tested by Pierre Cardoso.
2009-07-18 20:16:00 +00:00
oga
9a5da84da5 Since we don't accelerate trapesoid rendering under uxa yet anyway
software rasterise them THEN put them into buffer objects.
read-modify-write of graphics memory is expensive.

2.5x speed increase under heavy trap rendering measured.

Another upstream backport. ok matthieu@
2009-07-18 15:02:51 +00:00
oga
2b56f07bde Don't put glyphs pixmaps into buffer objects under uxa.
in the fastpath they're going straight to the glyph cache anyway and
doing so for small glyphs wastes memory since bos must be padded to page
size.

Backport from upstream (to aid gem development). ok matthieu@
2009-07-18 15:00:09 +00:00
oga
c349058b6d Fallback if we're vt switched and we're using GEM. We're not allowed to
access the hardware in this situation.

Backport from upstream CURRENT.

ok matthieu@.
2009-07-18 14:58:00 +00:00
oga
37a2f39d00 Accessing a pixmap in fallback if the prepare_access() callback failed
is verboten

So don't do it. Treat it the same as every other prepare access call in
uxa.  This patch sent upstream.

ok matthieu@
2009-07-18 14:56:03 +00:00
matthieu
4d65740941 Fix PCI card probe and chipset detection.
it appears that the chips&technologies X driver was partially broken
during libpciaccess conversion. Thanks to the analysis by Marien Swart
in bug #18122 and a similar fix by Mark Kettenis for the radeon
driver, this patch should fix it.
2009-06-30 18:39:19 +00:00
matthieu
ffd83bca19 update to svn revision 753. This includes a few bug fixes that
make EXA work on my Chrome9 HC3 IGP. ok oga@
2009-06-27 10:11:47 +00:00
matthieu
e70d43c060 I was supposed to remove the --enable-debug option before committing. 2009-06-25 21:28:57 +00:00
matthieu
855916fc83 update to openchrome.net svn commit 750.
This adds among others support for the VX800 chipset.
This has been in snapshots for weeks.
2009-06-25 21:27:18 +00:00
matthieu
42b052b942 update to xf86-video-intel 2.7.1. Tested by many. 2009-06-25 20:16:43 +00:00
matthieu
810f9ab0c6 Don't de-reference a NULL pointer in R128FreeScreen in the error path.
If R128PreInit() failed, R128FreeRec() was already called and info
will be NULL.
2009-06-13 17:18:21 +00:00
matthieu
787b897b8c Remove the xf86-video-suncg6 driver, which doesn't support acceleration
beside the hw cursor. The latter can be done in wsfb if someone manages
to prove miod@ that it's useful.
2009-06-12 19:59:00 +00:00
matthieu
dd6a77af66 Remove the input drivers that have been dropped by X.Org and
were not built for months now.
2009-06-05 21:26:36 +00:00
matthieu
2b279ed91b Update to xf86-video-sis 0.10.1. 2009-06-05 21:05:04 +00:00
matthieu
34be51c4e7 Update to xf86-video-suntcx 1.1.1 2009-06-05 20:50:02 +00:00
matthieu
ae73f8111a regen 2009-06-05 20:47:48 +00:00
matthieu
c6aa2d45af update to xf86-video-suncg6 1.1.1 2009-06-05 20:46:32 +00:00
matthieu
4bb62c07fc update to xf86-video-suncg3 1.1.1 2009-06-05 20:44:42 +00:00
matthieu
a58e80c5a2 regen 2009-06-05 20:42:19 +00:00
matthieu
d5f37b904b update xf86-video-newport to 0.2.2 2009-06-05 20:40:49 +00:00
kettenis
3bb964735c Don't set the default depth to 8bpp. These days 24/32bpp makes much more
sense.

ok matthieu@
2009-06-04 22:54:25 +00:00
kettenis
8e04fb5a97 Disable int10 code if __sparc__.
ok matthieu@
2009-06-04 21:04:57 +00:00
kettenis
ecf487b85b Build xf86-video-glint on OpenBSD/sparc64. 2009-06-04 18:36:30 +00:00
kettenis
3ea6bb7f0e Map and unmap registers around DDC probe.
ok matthieu@
2009-06-04 18:20:10 +00:00
kettenis
86fd76579f The mmio registers consist of two blocks of 64k. The first 64k provide
a little-endian view, the second 64k provide a big-endian view.  Restrict
mapping to 64k to prevent mapping beyond the end of the BAR if we map the
big-endian view on big-endian machines.  There is no reason to map the
big-endian view on little-endian machines.

ok matthieu@
2009-06-04 18:18:11 +00:00
kettenis
037d9f8966 regen 2009-06-04 17:28:08 +00:00
kettenis
de58239bc4 Since the driver uses the big-endian view of the registers we shouldn't be
byteswapping during register access.  Define PPC_MMIO_IS_BE and
SPARC_MMIO_IS_BE to prevent this.

ok matthieu@
2009-06-04 17:21:00 +00:00
matthieu
4579839317 regen 2009-06-01 21:30:04 +00:00
matthieu
0cce1f2f9a Update to be compatible with xserver 1.6 and Xinput 1.5. 2009-06-01 21:29:06 +00:00
matthieu
70a4c30fcb regen 2009-06-01 21:18:08 +00:00
matthieu
05f27001f1 Update to be compatible with xserver 1.6 and Xinput 1.5. 2009-06-01 21:15:50 +00:00
matthieu
1dd9fa7be4 regen 2009-06-01 20:58:16 +00:00
matthieu
dc5e2c7159 Don't call xf1bpp or xf4bpp if they're not present (xorg-server-1.6 & later)
From  Alan Coopersmith <alan.coopersmith@sun.com>.
2009-06-01 20:57:20 +00:00
matthieu
5e0c79c5ff update to xf86-video-vmware 10.16.6 2009-05-18 20:58:46 +00:00
matthieu
29dfc1a9fe update to xf86-input-vmmouse 12.6.4 2009-05-18 20:53:43 +00:00
kettenis
c323e0e8a5 Set sane defaults fori the reference clock for Rage XL and Mobility cards
on sparc64.  This makes it possible to run X without an xorg.conf on machines
like the blade100 and the Tadpole laptops.

ok oga@, matthieu@
2009-05-04 20:34:28 +00:00
kettenis
d69ace73ff Fix a problem introduced by the libpciaccess conversion where the chip ID
would be set wrong and the proper resources wouldn't be claimed.

ok oga@, matthieu@
2009-05-04 20:32:21 +00:00
matthieu
63e292ea57 update to xf86-video-siliconmotion 1.7.1. 2009-05-03 16:53:45 +00:00
matthieu
84615d4f3d update to xf86-video-nv 2.1.13. 2009-05-03 16:42:23 +00:00
matthieu
b54a4b525c update to xf86-video-ast 0.89.0 2009-05-03 16:31:23 +00:00
matthieu
8e84675979 update to xf86-input-mouse 1.4.0. 2009-05-03 16:21:30 +00:00
matthieu
7740bac7cb update to xf86-input-keyboard 1.3.2 2009-05-03 14:57:17 +00:00
matthieu
d2d1ae2ee0 update to xf86-input-void 1.2.0 2009-05-03 14:14:24 +00:00
matthieu
b2aa9ba441 update to xf86-input-vmmouse 12.6.3.
HAL tools and files are not built/installed on OpenBSD.
2009-05-03 14:11:13 +00:00
matthieu
a7a7163037 update to xf86-input-penmount 1.4.0 2009-05-03 13:57:45 +00:00
matthieu
1f84578193 update to xf86-input-joystick 1.4.1 2009-05-03 13:54:11 +00:00
matthieu
b6284c47f6 update to xf86-input-hyperpen 1.3.0 2009-05-03 13:43:52 +00:00
matthieu
48e632cb34 update to xf86-input-fpit 1.3.0 2009-05-03 13:40:35 +00:00
matthieu
42ae82de19 Update to xf86-input-citron 2.2.2 2009-05-03 13:37:01 +00:00
matthieu
35c9d83097 update to xf86-input-acecad 1.3.0 2009-05-03 13:33:45 +00:00
kettenis
8ac4487426 Set default for "MacModel" option based on hw.product.
ok matthieu@, oga@
2009-04-30 11:13:24 +00:00
matthieu
9c0e580e95 Update to xf86-video-radeonhd 1.2.5. Tested by eric@
Version 1.2.5 improvements:

  - Added 2D acceleration for R6xx and R7xx.
  - Added XVideo support for R6xx and R7xx.
  - Added support for RS880 and RV790.
  - Added RandR 1.3 mandatory properties.
  - Refactoring of MC code.
  - Enable DRI support by default on R5xx and RS6xx.
  - LUT (color lookup table) fixes.
  - Tons of quirk table entries and bug fixes.
  - Fix register accesses for processors that reorder memory writes.
2009-04-26 13:59:41 +00:00
matthieu
c8fe3e6a3b update to xf86-video-vesa 2.2.0 2009-04-09 20:07:26 +00:00
matthieu
39fd371b0f regen 2009-04-09 20:03:57 +00:00
matthieu
cf37e2e5a5 update xf86-video-i740 to 1.3.0 2009-04-09 20:03:21 +00:00
matthieu
f509f5bb9a Update to xf86-video-siliconmotion 1.7.0.
Tested by ratchov@. It works a bit better than previous version on his
machine, but still has issues.
2009-03-26 22:09:36 +00:00
matthieu
d3829a9b1e Update to xf86-video-s3 0.6.1 2009-03-07 11:38:15 +00:00
matthieu
81e70dac0c Update to xf86-video-neomagic 1.2.2 2009-03-07 11:35:51 +00:00
matthieu
55dc43a887 regen 2009-03-07 11:32:11 +00:00
matthieu
689ce24aee update to xf86-video-glint 1.2.2 2009-03-07 11:31:32 +00:00
matthieu
5c02e566e0 Update to xf86-video-dummy 0.3.1 2009-03-07 11:25:14 +00:00
matthieu
19e40ddfb7 regen 2009-03-07 11:22:45 +00:00
matthieu
1a4a40b80f update to xf86-video-chips 1.2.1 2009-03-07 11:22:09 +00:00
matthieu
eb33bec634 update to xf86-video-ast 0.88.8 2009-03-07 11:16:36 +00:00
matthieu
7324280714 update to xf86-video-ark 0.7.1 2009-03-07 11:11:05 +00:00
matthieu
3b4a4352ed regen 2009-03-07 11:08:45 +00:00
matthieu
33775e28ed update to xf86-video-apm 1.2.1. 2009-03-07 11:08:03 +00:00
matthieu
e29139019f Disable input drivers that are no longer maintained by X.Org.
(and that already don't work anymore for most of them).
If someone is interested in taking maintainership of one of them,
please contact me.
2009-03-07 10:59:52 +00:00
matthieu
11838de5e4 regen 2009-03-07 10:43:56 +00:00
matthieu
3248493b22 update to xf86-video-voodoo 1.2.1 2009-03-07 10:43:22 +00:00
matthieu
e79dad5d64 Remove deprecated video drivers (they were already disabled for a while). 2009-03-07 10:38:59 +00:00
matthieu
0990e72247 update to xf86-video-tseng 1.2.1 2009-03-07 10:32:17 +00:00
matthieu
dd490c4c78 regen 2009-03-07 10:28:32 +00:00
matthieu
adb7a55d61 update to xf86-video-trident 1.3.1 2009-03-07 10:27:10 +00:00
matthieu
2a83e43c20 Update to xf86-video-tga 1.2.0 2009-03-07 10:23:23 +00:00
matthieu
f487bb34c7 regen 2009-03-07 10:20:39 +00:00
matthieu
e79fc0fb19 update to xf86-video-tdfx 1.4.1. 2009-03-07 10:20:03 +00:00
matthieu
9557c26f0e update to xf86-video-sunleo 1.2.0 2009-03-07 10:15:49 +00:00
matthieu
768728f987 Update to xf86-video-sisusb 0.9.1. 2009-03-07 10:11:44 +00:00
matthieu
a12563cf49 regen 2009-03-04 22:46:35 +00:00
matthieu
b7c217dabb xf86-video-s3virge 1.10.2 2009-03-04 22:45:04 +00:00
matthieu
4b1c7d59f4 regen 2009-03-04 22:34:51 +00:00
matthieu
7c4af6be22 xf86-video-rendition 4.2.1 2009-03-04 22:33:18 +00:00
matthieu
af2481e434 Add support to run intel_reg_dumper on OpenBSD. 2009-01-29 17:17:24 +00:00
matthieu
1faf8dcd02 Fix allocation and freeing of InputDriverRec, so that X doesn't dump core
on exit. Found thanks to msys test machine.
2009-01-29 16:18:44 +00:00
matthieu
8f8b86d413 xf86-input-elographics 1.2.3, tested on msys's point of sale machine. 2009-01-29 16:06:37 +00:00
matthieu
accff42d7f Update to xf86-video-radeonhd 1.2.4.
- Added HDMI support.
  - Added support for RV710, RV730 (DCE 3.2).
  - Added screen rotation support.
  - Added RandR 1.3 panning support. (not useful until xserver 1.6)
  - Many acceleration and build fixes.

Tested on mbalmer@'s radeon 2400HD card.
2009-01-28 14:43:56 +00:00
oga
3b1cf06138 never define XF86DRI_MM after configure. 2.4.x still had the ttm bits
which haven't made it into a released libdrm. This prevents collisions
with the libdrm version just commited (which wouldn't build otherwise).
2009-01-26 23:27:59 +00:00
matthieu
d07bcc99c9 Those directories were removed in xf86-video-ati 6.9.0. 2009-01-11 18:30:41 +00:00
oga
9ae8285f50 Don't map the mmio region via the drm. This was only passed onto the
mesa dri driver, which hasn't needed this for a while.

ok matthieu@.
2009-01-10 15:06:18 +00:00
oga
f8be68d9a2 don't map the mmio registers via the drm in the radeon DDX either
(companion commit to the mesa one I just made)

ok matthieu@
2009-01-10 15:01:25 +00:00
oga
90bf659960 openchrome doesn't build if you have an xserver with DRI compiled in,
but you disable dri on in the driver build and don't have the via_drm.h
it wants in dri mode. Work around this by changing the #define used to
an openchrome only one, instead of overloading the XF86DRI identifier.

Also disable the DRI build unconditionally.

This is needed here since we don't provide the via DRM module, and i'm
moving libdrm over to using the kernel headers (instead of libdrms own
private copy of same... This is why kernel modules should be developed
in kernel). We won't provide a via drm driver until it is re-written,
since it is full of linuxisms (like futex).

ok matthieu@, discussed with a few. tested by grange@ to prove it was a
no-op functionality wise.
2009-01-08 20:28:57 +00:00
gilles
3780b5d731 add GeForce 9300 GE to the list of known chipsets, enough to get it working
for me.  ok matthieu@
2009-01-06 22:37:13 +00:00
matthieu
1e738a86ae Add 2 missing chunks from the 2.1.12 update. This adds support for
a bunch of new chipsets. Problem noticed by Greg Jones.
2009-01-05 20:05:54 +00:00
miod
daccd55ae8 Build xf86-video-wildcatfb on OpenBSD/sparc64, and explain how to configure it. 2009-01-01 19:30:20 +00:00
miod
5e6c45d3d3 Simple unaccelerated driver for ifb(4) frame buffer, using a the X11 shadowfb
code to carry changes to both overlay areas.

ok matthieu@
2009-01-01 19:29:21 +00:00
matthieu
4d25e1130e Remove deprecated driver. 2008-12-23 09:17:55 +00:00
matthieu
c71f48b5c2 Remove deprecated drivers that have been disabled for a while. 2008-12-23 09:13:14 +00:00
matthieu
6a32467be7 reenable xf86-video-i740 and xf86-video-voodoo on i386 after the last
updates.
2008-12-23 09:10:17 +00:00
matthieu
e7c2896cd2 regen 2008-12-01 20:52:08 +00:00
matthieu
2bf61528e7 xf86-video-intel 2.4.3. Tested by many. 2008-12-01 20:51:41 +00:00
matthieu
ac7c0f492f Patch from upstream: Only match PCI display devices in our display driver.
Apparently the server needs the driver to tell it that no, we really don't want
screen sections on our NIC, USB hubs, bridge devices, etc.

Stop whining about PROBE_DETECT in G80 PreInit and just bail out instead.

Bug #18099: Xorg -configure tries to create a screen for every nvidia device.
Problem also reported by form@
2008-11-09 14:37:04 +00:00
matthieu
e89a8a024f Merge alpha fix from X.Org instead of home grown one. 2008-11-06 22:44:02 +00:00
matthieu
bdaa42fb66 Set default acceleration method to EXA, like upstreams. 2008-11-06 22:30:11 +00:00
matthieu
f0a3b3f9ef The xf86-video-nsc driver is deprecated and won't work with xserver 1.5.
Disable it.
2008-11-06 21:52:10 +00:00
matthieu
d0fa9a1ef8 Let the alpha specific code compile. Untested. 2008-11-04 07:01:05 +00:00
matthieu
e4c9b7396d switch the alpha specific code to libpciaccess. 2008-11-04 06:03:56 +00:00
matthieu
07af4914ae xf86-video-openchrome 0.2.903 2008-11-03 20:37:24 +00:00
matthieu
0bcea225c7 xf86-video-nv 2.1.12 2008-11-03 20:35:47 +00:00
matthieu
053571402a xf86-video-sunffb 1.2.0. 2008-11-03 06:21:06 +00:00
matthieu
758826f60d Update the list of drivers that are built for xserver 1.5. 2008-11-02 15:17:58 +00:00
matthieu
feefcf3256 xf86-video-radeonhd 1.2.3 2008-11-01 18:14:36 +00:00
matthieu
aefbc19a5b xf86-input-mutouch 1.2.1 2008-10-13 20:55:35 +00:00
matthieu
cff741d611 Oops missed to add that file as part of xf86-video-i740 1.2.0. 2008-10-13 05:13:31 +00:00
matthieu
46f0f1dd2e xf86-vmware 10.16.5 2008-10-12 21:49:04 +00:00
matthieu
b0080daeec xf86-video-voodoo 1.2.0 2008-10-12 21:46:43 +00:00
matthieu
573e6ea4a8 xf86-video-tdfx 1.4.0 2008-10-12 21:40:51 +00:00
matthieu
978c411483 xf86-video-tseng 1.2.0 2008-10-12 21:36:24 +00:00
matthieu
5ea417672a xf86-video-trident 1.3.0 2008-10-12 21:31:59 +00:00
matthieu
1905a08f33 xf86-video-savage 2.2.1 2008-10-12 21:24:21 +00:00
matthieu
0c603d7f57 xf86-video-s3virge 1.10.1 2008-10-12 21:19:05 +00:00
matthieu
16126de84e xf86-video-s3 0.6.0 2008-10-12 21:11:38 +00:00
matthieu
b536f96572 xf86-video-rendision 4.2.0 2008-10-12 21:05:42 +00:00
matthieu
7aa29d0d9a xf86-video-i740 1.2.0 2008-10-12 20:41:53 +00:00
matthieu
5285e02985 xf86-video-i128 1.3.1 2008-10-12 20:32:10 +00:00
matthieu
5fedb3129d xf86-video-glint 1.2.1 2008-10-12 20:09:42 +00:00
matthieu
23a2202b5b Disable framebuffer compression for now. Problems noticed by oga@ 2008-10-12 15:25:43 +00:00
matthieu
2a8442d3d6 xf86-video-intel 2.4.2. Has been in snapshots for weeks. Ok oga@. 2008-10-12 15:20:49 +00:00
matthieu
327ecef6f1 regen 2008-10-12 13:56:23 +00:00
matthieu
1d58f414b6 xf86-video-vesa 2.0.0, plus one fix to keep it working with xserver 1.4. 2008-10-12 13:55:49 +00:00
matthieu
2a4cf94896 regen 2008-09-29 22:05:12 +00:00
matthieu
64a4da3846 Get rid of the old XFree86 libc wrapper. 2008-09-29 22:04:43 +00:00
matthieu
b9dedb77d9 Don't try int10 on macppc. 2008-09-21 17:07:39 +00:00
matthieu
13b89943c5 regen 2008-09-21 17:07:06 +00:00
matthieu
b0686efd0d Death to bare RCS ids. 2008-09-21 17:01:24 +00:00