summaryrefslogtreecommitdiff
path: root/xserver/hw
AgeCommit message (Collapse)Author
2020-03-04Use modesetting driver as the default for rkdrm(4).Mark Kettenis
ok patrick@, jsg@
2020-01-26Update to xserver 1.20.7 plus 2 extra fixes from upstream. ok jsg@Matthieu Herrb
2019-12-12Update to X server 1.20.6. Tested by naddy@Matthieu Herrb
2019-09-15Add modesetting driver as a fall-back when appropriate such that we canMark Kettenis
use it when running withour root privileges which prevents us from scanning the PCI bus. This makes startx(1)/xinit(1) work again on modern systems with inteldrm(4), radeondrm(4) and amdgpu(4). In some cases this will result in using a different driver than with xenodm(4) which may expose issues (e.g. when we prefer the intel Xorg driver) or loss of acceleration (e.g. older cards supported by radeondrm(4)). ok jsg@, matthieu@
2019-08-24sync i965 pci ids with xserver git masterJonathan Gray
ok matthieu@
2019-08-24remove duplicate ids added by patch in xserver 1.20.5 updateJonathan Gray
ok matthieu@
2019-08-15Don't prune duplicate modes there.Matthieu Herrb
This function removes too many modes, causing trouble with the vesa driver at least. Problem reported by semarie@. Thanks.
2019-08-03Remove files that are no longer part of upstream tarballs.Matthieu Herrb
They accumulated over releases for various reasons. No build change.
2019-07-27Update to xserver 1.20.5. Tested by jsg@Matthieu Herrb
2019-04-28Backport cf7517675d988c2d1ff967d6d162a17acbdad46 from xserver 1.20Jonathan Gray
xfree86: Hold input_lock across SPRITE functions in VGA arbiter Fixes stack overflow crash with VGA arbiter used with multi GPU systems. Report and fix identified by 'Joe M' on misc@. ok matthieu@
2019-03-19Update to xserver 1.19.7. Tested by jca@ and stsp@.Matthieu Herrb
2019-02-18sync xserver dri2 pci_ids with the latest MesaJonathan Gray
the modesetting driver uses these to pick a dri driver name ok phessler@ kettenis@ matthieu@
2019-01-03Call xf86OpenConsole() before probing for drivers.Matthieu Herrb
On OpenBSD, we need the console fd to query wsdisplay type, This was only causing problems with -keepPriv, since the privilege separation code already calls xf86OpenConsole() earlier. The function is idempotent, so there's no harm calling it several times. ok kettenis@
2018-10-25MFC: Disable -logfile and -modulepath when running with elevatedMatthieu Herrb
privileges. This Could cause arbitrary files overwrite. CVE-2018-14665.
2018-08-20Initialize PCI subsystem on arm64.Mark Kettenis
ok matthieu@
2018-04-19modesetting: setup colormapJoshua Stein
Fixes utilities like xcalib Upstream xorg commit ac138f9b31b0fba00742edbc3326afe66e28099a ok matthieu
2018-02-18Update to xserver 1.19.6. bug fix releaseMatthieu Herrb
2018-01-20Remove code to pull softfloat libs.Matthieu Herrb
It was needed at some point in the past, but doesn't compile and isn't needed with clang. Reported by jsg@.
2018-01-15watch for events sent by drm(4) over kevent using EVFILT_DEVICERobert Nagy
and NOTE_CHANGE to notify the desktop environment to deal with the change (e.g. after plugging in an HDMI cable) with this change there is no need to manually do any randr commands if your desktop environment supports it (gnome, mate, kde, etc.) ok matthieu@, kettenis@
2017-12-08Update to xserver 1.19.5.Matthieu Herrb
Tested by bru@, jsg@ and others
2017-10-14MFC: hw/xfree86: unvalidated lengthsMatthieu Herrb
This addresses: CVE-2017-12180 in XFree86-VidModeExtension CVE-2017-12181 in XFree86-DGA CVE-2017-12182 in XFree86-DRI
2017-10-14MFC: Unvalidated lengthsMatthieu Herrb
v2: Add overflow check and remove unnecessary check (Julien Cristau) This addresses: CVE-2017-12184 in XINERAMA CVE-2017-12185 in MIT-SCREEN-SAVER CVE-2017-12186 in X-Resource CVE-2017-12187 in RENDER
2017-09-25Force Intel Ironlake chipsets to use the xf86-video-intel driver.Matthieu Herrb
stsp@ reported that modesetting(4) has been reported unreliable on his laptop, while intel(4) works. XXXX to be removed after 6.2 to figure out and fix the issue. ok kettenis@, also discussed briefly with deraadt@ during EuroBSDCon.
2017-08-07Disable SSE optimizations on i386/amd64 for SlowBcopy.Matthieu Herrb
It is supposed to be slow, and when such instructions are used to copy data from/to mapped video memory, some hypervisors (e.g. KVM, Microsoft Hyper-V) can generate SIGILL or SIGBUS exceptions, causing Xorg to crash. Bug report to OpenBSD by Max Parmer, fix from FreeBSD (Dimitry Andric) via kettenis@ ok kettenis@
2017-08-07Create on OpenBSD-specific version of listPossibleVideoDrivers() that takesMark Kettenis
care of autoconfiguration based on the information returned by the WSDISPLAYIO_GTYPE ioctl of the console FD. This should fix selection of wsfb on loongson and sgi when using a non-KMS kernel driver. ok matthieu@, jsg@
2017-07-14Use the modesetting driver by default on 4th generation Intel Graphics andMark Kettenis
later. This matches what several Linux distros do these days as it tends to work better than the intel driver in most cases. There are some performance issues with vncviewer on at least Ivy Bridge and Haswell. But for now that regression outweighs the benefits. ok robert@, tedu@, sthen@
2017-07-12Add code to update the value of the RandR "Backlight" property based on theMark Kettenis
KMS connector property of the same name if such a property is present. ok matthieu@
2017-05-21Make X work with radeondrm(4) hardware on loongson.Visa Hankala
OK jsg@
2017-03-07make xserver build on arm64Jonathan Gray
ok matthieu@
2016-10-11regenMatthieu Herrb
2016-08-09Update to xserver 1.18.4Matthieu Herrb
tested by krw@ and dcoppa@ ok dcoppa@
2016-08-03xserver: fix an off-by-one error that lead to asprintf("%s", NULL)Matthieu Herrb
reported by deraadt@, fix reviewed in X.Org by Keith Packard.
2016-05-29Update to xserver 1.18.3. Tested by shadchin@ and naddy@.Matthieu Herrb
Note that indirect GLX is now disbled by default.
2016-04-24Fix white space/indentation to match X.Org style.Matthieu Herrb
2016-04-24Fall back to /dev/ttyC0 when the console device is not a wsdisplay(4)Matthieu Herrb
Problem noticed by sthen@.
2016-04-02Implement VT switching (based on the USL compat interface) in theMatthieu Herrb
wscons console backend and use it by default. ok kettenis@
2016-03-27Make alpha_video.c build in recent X server.Matthieu Herrb
Completely broken on VGA cards (libpciaccess doesn't know about the alpha specific ways of mapping the PCI space), only XRender is broken on TGA cards.
2016-03-06Cleanup gcc warnings and function prototypes.Matthieu Herrb
2016-03-06Fix typo introduced 5.5 years ago.Matthieu Herrb
Note: this changes the #if test result, but the now #ifdef out code has no effect.
2015-12-21On Broadwell, default to using the modesetting driver. Our KMS support onMark Kettenis
Broadwell is still a bit weak and the modesetting driver seems to work better than the intel driver, while still providing 3D acceleration and video playback support. ok phessler@, matthieu@, jsg@
2015-11-15Remove the -configure option. This has been broken for a loong timeMatthieu Herrb
and no one is going to fix it.
2015-11-07Update to xserver 1.17.4.Matthieu Herrb
tested by naddy@
2015-10-25Reduce white space diff with upstreams. No other change.Matthieu Herrb
2015-09-28Post xserver 1.17 cleanupMatthieu Herrb
2015-09-28Post-xserver 1.17 cleanup.Matthieu Herrb
2015-09-28Post xserver 1.17 cleanup. Remove now unused functions.Matthieu Herrb
2015-09-28Update for xserver 1.17Matthieu Herrb
2015-09-28Patch for xserver 1.17. Missed in upgrade commit.Matthieu Herrb
2015-09-16Update to xserver 1.17.2. tested by dcoppa@, jsg@, jasper@ & naddy@Matthieu Herrb
2015-08-30Remove abuse of \/ which is not a slash but an italic correction;Ingo Schwarze
ok matthieu@, who will also push these fixes upstream (thanks).