Commit Graph

493 Commits

Author SHA1 Message Date
matthieu
a97527f412 pass the real framebuffer depth to xf86SetDepthBpp() instead of letting
it guess. This lets xf86-video-wsfb on TGA framebuffers on alpha
whithout setting weights and fbpp explicitely.
2009-10-19 20:01:30 +00:00
matthieu
47491b577c update to xf86-video-geode 2.11.6. Tested on a Alix 3C3. 2009-10-11 09:30:14 +00:00
matthieu
c31b066623 update to xf86-video-nv 2.1.15. Tested by espie@ (not better,
but not worse either on his hardware).
2009-10-10 18:17:43 +00:00
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