summaryrefslogtreecommitdiff
path: root/xserver
AgeCommit message (Collapse)Author
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
2008-11-02xserver 1.5.2. tested by ckuethe@, oga@, and others.Matthieu Herrb
2008-10-30Close well known connections in ServerAbort().Matthieu Herrb
Gets rid of dangling /tmp/.X11-unix/X0 sockets after server crash.
2008-10-12Xprt is not built by default anymore. Remove the code that selectivelyMatthieu Herrb
disabled it on a few platforms.
2008-10-08enable GL for libraries, but not the X server .. for mips64Todd T. Fries
2008-10-07PR 5005: On alpha, trust the PCI BARS from SRM. ok kettenis@, miod@.Matthieu Herrb
2008-09-20Make X stop messing with PCI BARs on sparc64. Makes ati driver work againMark Kettenis
on Ultra 5/10 machines. ok matthieu@, oga@
2008-08-30Typo (the the). From Thomas Bozdar (Thomas dot Bosdar at quest dot com).Matthieu Herrb
Thanks.
2008-08-28Add /dev/tty04 to the list of devices privilege separated X can open.Marc Balmer
(The IBM SurePos 500 has six serial lines and the touch screen is at this device). ok oga@
2008-08-25Since wscons(4) manages the hardware cursor for us, there's no nee toMark Kettenis
fiddle with it here. Pointed out by miod@. ok matthieu@
2008-08-24Unbreak sparc build.Mark Kettenis
2008-08-24Make -configure work for SBus/UPA devices instead of crashing.Mark Kettenis
ok matthieu@
2008-08-21Add enough OpenBSD-specific sbus support code to be able to support theMark Kettenis
sunffb driver. ok matthieu@
2008-07-31All the resources claimed by xf86StdAccResFromOS() are PC-specific. On sparc64Mark Kettenis
PCI address space is completely seperate, so we don't have to claim any resources to avoid clashes with main memory and firmware. Makes accelerated graphics work on the Tadpole SPARCLE. ok matthieu@, oga@
2008-07-30The amd driver has been renamed geode. ok deraadt@ oga@.Matthieu Herrb
2008-07-12use the openchrome driver for via chipsets.Matthieu Herrb
2008-06-17CVE-2008-1379 - MIT-SHM arbitrary memory read.Matthieu Herrb
(This patch was missing form the bunch of security patches committed on june 11. noticed by brad@).
2008-06-15Add a man page for Xephyr, with information from the README file.Matthieu Herrb
2008-06-15Update to xserver 1.4.2. Tested by landry@, ckuethe@, jsing@ mbalmer@.Matthieu Herrb
2008-06-14Add amdmsr(4) to the list of privsep devices.Marc Balmer
ok matthieu
2008-06-12change /dev/dri/card0 to /dev/drm0. Subdirs in /dev consideredOwain Ainsworth
irritating.
2008-06-12Deal with devices that need to be opened differently to what we do inOwain Ainsworth
privsep ( O_NONBLOCK | O_RDWR | O_EXCL) by turning the list of allowed devices into a struct, with the flags we're supposed to use, then using these values with open(). Add /dev/dri/card0 there too (more'll be needed to be added when it matters). This gives privsep with dri a chance to work. ok matthieu
2008-06-11Fix from X.Org for a possible, non-exploitable crash in the DBE extension.Matthieu Herrb
Reported to iDefense by regenrecht. Patch from Dave Airlie.
2008-06-11Fixes for various integer overflow problems from X.Org:Matthieu Herrb
CVE-2008-2360 - RENDER Extension heap buffer overflow CVE-2008-2361 - RENDER Extension crash CVE-2008-2362 - RENDER Extension memory corruption CVE-2008-1379 - MIT-SHM arbitrary memory read CVE-2008-1377 - RECORD and Security extensions memory corruption
2008-06-10Pull in a patch from X.Org-current to let X11 run on AMD Geode LXMarc Balmer
CPUs in basic VESA mode: X86EMU: handle CPUID instruction Starting X on an AMD Geode LX system such as an Alix board with VGA connector, the Xorg driver attempts to issue INT 10/0 to go to mode 3 (VGA). The emulator, running the BIOS code, would then spit out: c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE! The opcode was 0F A2, or CPUID; it was not implemented in the emulator. With this patch it handles the CPUID instruction in one of two ways: 1) if ran on __i386__ or __x86_64__ then it calls the CPUID instruction directly. 2) if ran elsewhere it returns a canned 486dx4 set of values for function 1. Tested with & ok matthieu
2008-06-09Remove the special case for amd64 using MTRR. Wasn't compiled in in thePeter Hessler
first place, and didn't work anyways. ok deraadt, oga, matthieu
2008-05-24regen.Matthieu Herrb
2008-05-24implement the --disable-ioport configure option to disable the build ofMatthieu Herrb
ioport and its symlinks and use that option. Requested by kettenis@ and others.
2008-05-07- fix an infinite loop by ensuring that realInputProc is neverAntoine Jacoutot
overwritten with the enqueueInputProc (from upstream git) cf. https://bugs.freedesktop.org/show_bug.cgi?id=13511 This should fix hangs people were seeing with icewm, cwm and most probably other WM under some circumstances. ok matthieu@
2008-04-01If privsep support isn't compiled in, use open() to open the agp device.Matthieu Herrb
2008-03-25Introduce bsd.xconf.mk to set default config variables usedMatthieu Herrb
at several places in the Xenocara build in a central place instead of duplicating the checks all over the place. ok oga@.
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forMatthieu Herrb
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis. From deraadt@
2008-03-15Regen with autoconf 2.59-p2, with AM_SANITY check zapped.Matthieu Herrb
2008-03-15Repair msg_controllen. In those cases it should just beMatthieu Herrb
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment. Based on fixes in base system.
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage, same fixes as in the base system.Matthieu Herrb
ok deraadt@
2008-02-20Fix from X.Org repository:Matthieu Herrb
xkb: don't update LEDs if they don't exist (which would trigger an NULL pointer dereference).
2008-02-20Fix from X.Org repository: untrusted access broken in 7.3.Matthieu Herrb
2008-02-20Fix for CVE-2007-3069 from X.Org git repository:Matthieu Herrb
Don't break grab and focus state for a window when redirecting it. Composite uses an unmap/map cycle to trigger backing pixmap allocation and cliprect recomputation when a window is redirected or unredirected. To avoid protocol visible side effects, map and unmap events are disabled temporarily. However, when a window is unmapped it is also removed from grabs and loses focus, but these state changes are not disabled. This change supresses the unmap side effects during the composite unmap/map cycle and fixes a bug where a compositing window manager would cause the screensaver to lose its grab when it unredirects the fullscreen lock window.
2008-02-20endianness definitions for m88k, ok matthieu@Miod Vallat
2008-02-16Don't #define DEBUG anymoreMiod Vallat
2008-02-16Remove unused global.Miod Vallat
2008-02-13Disable mesa on m68k, at least until it switches to ELF; suggested by matthieu@Miod Vallat
2008-02-13Correctly link ioperm_noop.c to the build on m68k. ok matthieu@Miod Vallat