summaryrefslogtreecommitdiff
path: root/xserver
AgeCommit message (Collapse)Author
2010-09-01regen (yes lots of files, since util-macros has been updated).Matthieu Herrb
2010-09-01Disable use of SIGIO by default; it breaks multi-cardMark Kettenis
configurations. We don't want to run thousands of lines of potentially signal-unsafe code for no particular benefit. ok deraadt@, matthieu@, oga@
2010-08-31Don't even attempt to establish a SIGIO handler for DRI1.Owain Ainsworth
This hasn't been used for a very, very, very long time, (since before OpenBSD had dri support, for example) and it causes segfaults on dri drivers when sigio is disabled. Now we don't need to do context swaps on sigio nor are we trying to do interrupts in userland (thank fuck for that) this function can die the death that I intended it to die about two years ago, may it burn. The kernel support the the sigio ioctl will be removed in a couple of weeks to give people time to update (right now it accepts it, then ignores it). ok kettenis@, matthieu@.
2010-08-29Use the KERN_CONSDEV ioctl to figure out what the console device is andMark Kettenis
attempt to open that first before trying /dev/ttyC[0-7]. This makes X autoconfiguration a tad bit more intuitive on machines with multiple SBus or UPA framebuffers, where wsdisplay0 isn't the console. PCI framebuffers are still busted though. ok matthieu@
2010-08-28Fix autoconfiguration for accelerated drivers on sparc/sparc64. CurrentlyMark Kettenis
limited to sunffb; others will need to be added to bsd_sbus.c if we start shipping them. ok matthieu@, oga@
2010-08-18Fix autoconfiguration on sparc and sparc64.Owain Ainsworth
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-07-31Fix X -keepPriv by calling xf86OpenConsole() early enough on architecturesMatthieu Herrb
that don't have a separate /dev/xf86. Problem noticed by kettenis@ and krw@ ok kettenis@.
2010-07-27Add 4 files missed in xserver 1.8 update.Matthieu Herrb
2010-07-27Update to xserver 1.8. Tested by many. Ok oga@, todd@.Matthieu Herrb
2010-05-20Add missing \n at end of message.Matthieu Herrb
2010-04-27cope with the xinerama headers cleanup. From xserver git repository.Matthieu Herrb
2010-04-13Add a configure test for newer proto headers and use it to enableMatthieu Herrb
building xserver 1.6 with those headers. ok oga@.
2010-03-30#if 0 out the code that listens for /dev/apm events.Owain Ainsworth
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-15Only add wsfb to the list of autoconfigured drivers if no other matches wereMark Kettenis
found. Makes xorg.conf-less X work again on sparc64 and macppc systems with a single display adapter. ok matthieu@, beck@
2010-02-01basic support for mips64el. ok miod@.Matthieu Herrb
2009-12-18regenMatthieu Herrb
2009-12-18Build hppa support files on OpenBSD (useless for now).Matthieu Herrb
2009-12-18Adapt to modular X.Org.Matthieu Herrb
2009-10-31Update to server 1.6.5.Matthieu Herrb
2009-10-27Replace fbdev by wsfb as fallback driver on arches that support it.Matthieu Herrb
Ok todd@, oga@.
2009-10-18Add ChangeLog for xserver. It's part of the official X.Org tarballs.Matthieu Herrb
2009-10-06Merge intel driver autoconfiguration changes from upstream:Matthieu Herrb
- 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-09-13Do not use 'deprecated' attribute on gcc < 3.1.Matthieu Herrb
It causes lots of spurious warnings in build logs. suggestion to make the test gcc >= 3.1 millert@, ok todd@, miod@
2009-09-11Don't unconditionnally add a "sunffb" device in autoconfig modeMatthieu Herrb
on OpenBSD. It will be added by sparcDriverName() if a ffb card is present.
2009-09-11Bring Xnest back.Matthieu Herrb
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-08restore version 1.12 of privsep.c which got accidentally revertedMatthieu Herrb
by my xserver 1.6 merge. noticed by oga@
2009-09-08sparcDeviceName: do not fall back to wsfb if no hw specific driverMatthieu Herrb
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-06update to xserver 1.6.4rc1. Tested by many, ok oga@.Matthieu Herrb
2009-07-14Make the !privsep and privsep paths a little more similar (stillOwain Ainsworth
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-06-29Set default migration strategy to "greedy". ok oga@.Matthieu Herrb
2009-03-28provide mem_barrier() definition for amd64 too. from X.Org git. ok oga@Matthieu Herrb
2009-02-19Add code to choose a video driver based on the wscons(4) display type. MakesMark Kettenis
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-01-28__miscmansuffix -> __miscmansuffix__Matthieu Herrb
2009-01-28OpenBSD still uses old xkb-data, whose default rules are called 'xorg'.Matthieu Herrb
Change kdrive's default configuration too.
2009-01-27regenMatthieu Herrb
2009-01-27Fix linking of Xwscons for xserver 1.5.3Matthieu Herrb
2009-01-27Don't allow to build kdrive here anymore. This is now in ../kdrive.Matthieu Herrb
2009-01-20more gcc2 breakage found by sparcTodd T. Fries
2009-01-13note to self: no cookie, a compile started is not a compile testedTodd T. Fries
2009-01-13yet another gcc2 found bad coding practice, move variable declartion to theTodd T. Fries
top of the scope. this time found by sparc.
2009-01-12regenMatthieu Herrb
2009-01-12Update to xserver 1.5.3 + latests commits on server-1.5-branch.Matthieu Herrb
tested by stsp@, david@, form@, ckuethe@, oga@. thanks.
2008-12-23- move wsfb(4) to where it belongs.Matthieu Herrb
- also rename via -> openchrome.
2008-12-23- i810 -> intel, noticed by mpf@ (already fixed in -current X.Org)Matthieu Herrb
- add a reference to wsfb(4).
2008-11-23missing action in if statement.Matthieu Herrb
2008-11-11Fix from X.Org master git for XAA screen corruption.Matthieu Herrb
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-05more gcc2 fixes courtesy sparcTodd T. Fries
2008-11-04Initialise the aperture file descriptor in libpciaccess.Matthieu Herrb
2008-11-04variable declarations at the beginning of the scope; found by sparc (a gcc2 ↵Todd T. Fries
arch)
2008-11-04Update to libpciaccess world.Matthieu Herrb