kettenis
1fb6d3c868
Fix autoconfiguration for accelerated drivers on sparc/sparc64. Currently
...
limited to sunffb; others will need to be added to bsd_sbus.c if we start
shipping them.
ok matthieu@, oga@
2010-08-28 17:59:01 +00:00
oga
25b0cbcd49
Fix autoconfiguration on sparc and sparc64.
...
The code to add sunffb unconditionally on !solaris for __sparc__
systems is incorrect for openbsd. More specifically, due to interactions
between hardware drivers and wsfb in preinit we can't unconditionally
add wsfb to the list of fallbacks, so we only add wsfb if no other
option was found. Additionally sunffb does not need to be
unconditionally added because the bus probing code will find these
devices already.
So, long story short: make that code chunk conditional on __sparc__ &&
defined(__linux__) instead.
change from !openbsd to __linux__ requested by kettenis@.
Tested by at least myself and stsp@.
ok matthieu@, kettenis@.
2010-08-18 22:37:36 +00:00
matthieu
fe603b97cb
Fix X -keepPriv by calling xf86OpenConsole() early enough on architectures
...
that don't have a separate /dev/xf86. Problem noticed by kettenis@ and krw@
ok kettenis@.
2010-07-31 17:47:50 +00:00
matthieu
183207fd4d
Add 4 files missed in xserver 1.8 update.
2010-07-27 19:05:15 +00:00
matthieu
95d684a05b
Update to xserver 1.8. Tested by many. Ok oga@, todd@.
2010-07-27 19:02:24 +00:00
matthieu
50794663dd
Add missing \n at end of message.
2010-05-20 05:00:14 +00:00
matthieu
b855bc3cce
cope with the xinerama headers cleanup. From xserver git repository.
2010-04-27 20:12:19 +00:00
matthieu
49012820cb
Add a configure test for newer proto headers and use it to enable
...
building xserver 1.6 with those headers. ok oga@.
2010-04-13 19:54:46 +00:00
oga
33290fb670
#if 0 out the code that listens for /dev/apm events.
...
A cleaner fix will be forthcoming, but for now this allows the xserver
to work nicely with the recent kernel vt-switch-on-suspend changes.
ok miod@
2010-03-30 17:43:19 +00:00
kettenis
42fc690ae9
Only add wsfb to the list of autoconfigured drivers if no other matches were
...
found. Makes xorg.conf-less X work again on sparc64 and macppc systems with
a single display adapter.
ok matthieu@, beck@
2010-03-15 20:50:52 +00:00
matthieu
dde92d4099
basic support for mips64el. ok miod@.
2010-02-01 21:12:42 +00:00
matthieu
b4fa99e3fd
regen
2009-12-18 22:50:53 +00:00
matthieu
e5c0b4face
Build hppa support files on OpenBSD (useless for now).
2009-12-18 22:49:53 +00:00
matthieu
af37b41eec
Adapt to modular X.Org.
2009-12-18 22:47:56 +00:00
matthieu
8542099ff7
Update to server 1.6.5.
2009-10-31 14:09:43 +00:00
matthieu
b6548f4956
Replace fbdev by wsfb as fallback driver on arches that support it.
...
Ok todd@, oga@.
2009-10-27 20:49:51 +00:00
matthieu
4c3c08d1e5
Add ChangeLog for xserver. It's part of the official X.Org tarballs.
2009-10-18 14:15:49 +00:00
matthieu
6b7a7e866e
Merge intel driver autoconfiguration changes from upstream:
...
- don't list the dead i810 driver anymore
- blacklist the poulsbo chipset which isn't supported by
xf86-video-intel. Gives vesa a chance. ok oga@, kettenis@.
2009-10-06 05:57:00 +00:00
matthieu
00a307f8e4
Do not use 'deprecated' attribute on gcc < 3.1.
...
It causes lots of spurious warnings in build logs.
suggestion to make the test gcc >= 3.1 millert@, ok todd@, miod@
2009-09-13 15:02:03 +00:00
matthieu
888f50b07a
Don't unconditionnally add a "sunffb" device in autoconfig mode
...
on OpenBSD. It will be added by sparcDriverName() if a ffb card
is present.
2009-09-11 22:12:50 +00:00
matthieu
e706500795
Bring Xnest back.
...
I had to disable its build during xserver 1.6 development because it
wasn't building for a while. But all problems are now fixed. ok todd@.
2009-09-11 06:17:29 +00:00
matthieu
0026b7ed04
restore version 1.12 of privsep.c which got accidentally reverted
...
by my xserver 1.6 merge. noticed by oga@
2009-09-08 19:52:26 +00:00
matthieu
768012be84
sparcDeviceName: do not fall back to wsfb if no hw specific driver
...
was found. This is done in the caller already.
While there change to a switch() construct to prepare for potential
future drivers addition.
2009-09-08 06:56:28 +00:00
matthieu
88f6f3ea75
update to xserver 1.6.4rc1. Tested by many, ok oga@.
2009-09-06 19:44:18 +00:00
oga
251e57a556
Make the !privsep and privsep paths a little more similar (still
...
checking the list), this allows drm to work in -keepPriv situations.
This diff has been in my tree awaiting proper testing for months, now
i'm sure it works correctly in it goes.
ok matthieu@ an aeon ago.
2009-07-14 18:25:16 +00:00
matthieu
3b890ddc49
Set default migration strategy to "greedy". ok oga@.
2009-06-29 21:26:43 +00:00
matthieu
cf96687724
provide mem_barrier() definition for amd64 too. from X.Org git. ok oga@
2009-03-28 14:21:35 +00:00
kettenis
093965b9a6
Add code to choose a video driver based on the wscons(4) display type. Makes
...
it possible to run X without a configuration file on (some) sparc64 machines
and perhaps other machines that use wscons(4) frame buffers.
ok matthieu@
2009-02-19 21:53:30 +00:00
matthieu
5933d55f3d
__miscmansuffix -> __miscmansuffix__
2009-01-28 21:04:43 +00:00
matthieu
93ad800101
OpenBSD still uses old xkb-data, whose default rules are called 'xorg'.
...
Change kdrive's default configuration too.
2009-01-28 14:50:48 +00:00
matthieu
912bf2fa23
regen
2009-01-27 17:13:42 +00:00
matthieu
92d4b23d0e
Fix linking of Xwscons for xserver 1.5.3
2009-01-27 17:11:33 +00:00
matthieu
8ff87a1d9a
Don't allow to build kdrive here anymore. This is now in ../kdrive.
2009-01-27 16:28:57 +00:00
todd
0a00651cd8
more gcc2 breakage found by sparc
2009-01-20 23:13:14 +00:00
todd
6b96c02f57
note to self: no cookie, a compile started is not a compile tested
2009-01-13 19:46:28 +00:00
todd
8b1dd35d69
yet another gcc2 found bad coding practice, move variable declartion to the
...
top of the scope. this time found by sparc.
2009-01-13 16:30:45 +00:00
matthieu
8d98f5900d
regen
2009-01-12 20:18:51 +00:00
matthieu
369cc172f4
Update to xserver 1.5.3 + latests commits on server-1.5-branch.
...
tested by stsp@, david@, form@, ckuethe@, oga@. thanks.
2009-01-12 20:17:47 +00:00
matthieu
56555c5689
- move wsfb(4) to where it belongs.
...
- also rename via -> openchrome.
2008-12-23 11:04:49 +00:00
matthieu
594af7d8f5
- i810 -> intel, noticed by mpf@ (already fixed in -current X.Org)
...
- add a reference to wsfb(4).
2008-12-23 11:03:25 +00:00
matthieu
3a0e900dcf
missing action in if statement.
2008-11-23 12:06:43 +00:00
matthieu
9bd69e2c49
Fix from X.Org master git for XAA screen corruption.
...
XAA PixmapOps: Sync before accessing unwrapped callbacks.
When using any XAAPixmapOps, we call into unknown but freshly
unwrapped callbacks (like fb ones). Unlike the XAA*Fallback calls,
we did so without syncing first, exposing us to all kinds of
synchronisation issues.
I believe that the rendering errors appeared now because *PaintWindow
vanished (e4d11e58), and we just use miPaintWindow instead. This
takes a less direct route to the hw and ends up at
PolyFillRectPixmap, which very often left drawing artifacts.
We now sync accordingly, and no longer get the rendering artifacts i
was methodically reproducing on radeonhd, radeon, unichrome...
Also, in order to allow driver authors to remove extensive syncing
or flushing to hide this issue, create XAA_VERSION_ defines, put
them in xaa.h and bump the patchlevel.
tested by naddy@ and Edd Barrett. ok oga@.
2008-11-11 20:31:42 +00:00
todd
519385f8fc
more gcc2 fixes courtesy sparc
2008-11-05 07:04:31 +00:00
matthieu
51ad66e69b
Initialise the aperture file descriptor in libpciaccess.
2008-11-04 22:22:12 +00:00
todd
65e3b816dc
variable declarations at the beginning of the scope; found by sparc (a gcc2 arch)
2008-11-04 16:50:50 +00:00
matthieu
51153ff8f7
Update to libpciaccess world.
2008-11-04 05:58:43 +00:00
matthieu
60021fe985
xserver 1.5.2. tested by ckuethe@, oga@, and others.
2008-11-02 15:26:08 +00:00
matthieu
9c77348456
Close well known connections in ServerAbort().
...
Gets rid of dangling /tmp/.X11-unix/X0 sockets after server crash.
2008-10-30 19:59:59 +00:00
matthieu
1756bd319c
Xprt is not built by default anymore. Remove the code that selectively
...
disabled it on a few platforms.
2008-10-12 10:46:40 +00:00
todd
457770e0f6
enable GL for libraries, but not the X server .. for mips64
2008-10-08 02:24:28 +00:00