diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2019-02-27 03:09:41 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-02-27 08:59:45 +0100 |
commit | aea2ef36ce7429426cea468334d292fe11ce1dd9 (patch) | |
tree | 6b70f2d0153e7073af72cfcf7990cdb32d59b4fc /source/x/x11/patch | |
parent | 604397857e72280ba64741771fa6667d71608201 (diff) | |
download | current-aea2ef36ce7429426cea468334d292fe11ce1dd9.tar.gz |
Wed Feb 27 03:09:41 UTC 201920190227030941
a/btrfs-progs-4.20.2-x86_64-1.txz: Upgraded.
a/openssl-solibs-1.1.1b-x86_64-1.txz: Upgraded.
ap/ddrescue-1.24-x86_64-1.txz: Upgraded.
ap/sqlite-3.27.2-x86_64-1.txz: Upgraded.
l/libssh-0.8.7-x86_64-1.txz: Upgraded.
l/talloc-2.1.16-x86_64-1.txz: Upgraded.
l/tdb-1.3.18-x86_64-1.txz: Upgraded.
l/tevent-0.9.39-x86_64-1.txz: Upgraded.
n/ca-certificates-20181210-noarch-2.txz: Rebuilt.
Use "c_rehash" rather than "openssl rehash" for compatibility with all
versions of OpenSSL.
n/epic5-2.1.1-x86_64-1.txz: Upgraded.
n/openssl-1.1.1b-x86_64-1.txz: Upgraded.
x/xorg-server-1.20.4-x86_64-1.txz: Upgraded.
x/xorg-server-xephyr-1.20.4-x86_64-1.txz: Upgraded.
x/xorg-server-xnest-1.20.4-x86_64-1.txz: Upgraded.
x/xorg-server-xvfb-1.20.4-x86_64-1.txz: Upgraded.
xap/mozilla-thunderbird-60.5.2-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/60.5.2/releasenotes/
Diffstat (limited to 'source/x/x11/patch')
-rw-r--r-- | source/x/x11/patch/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/source/x/x11/patch/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch b/source/x/x11/patch/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch index 1b1306e2..87b28779 100644 --- a/source/x/x11/patch/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch +++ b/source/x/x11/patch/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch @@ -9,10 +9,8 @@ Signed-off-by: Ben Skeggs <bskeggs@redhat.com> hw/xfree86/common/xf86pciBus.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c -index 8158c2b62..78d1c947d 100644 ---- a/hw/xfree86/common/xf86pciBus.c -+++ b/hw/xfree86/common/xf86pciBus.c +--- ./hw/xfree86/common/xf86pciBus.c.orig 2019-02-26 13:28:50.000000000 -0600 ++++ ./hw/xfree86/common/xf86pciBus.c 2019-02-26 17:16:04.131096857 -0600 @@ -37,6 +37,7 @@ #include <unistd.h> #include <X11/X.h> @@ -21,17 +19,17 @@ index 8158c2b62..78d1c947d 100644 #include "os.h" #include "Pci.h" #include "xf86.h" -@@ -1190,6 +1191,25 @@ xf86VideoPtrToDriverList(struct pci_device *dev, +@@ -1191,6 +1192,25 @@ int idx = 0; - #ifdef __linux__ + #if defined(__linux__) || defined(__NetBSD__) + char busid[32]; + int fd; + + snprintf(busid, sizeof(busid), "pci:%04x:%02x:%02x.%d", + dev->domain, dev->bus, dev->dev, dev->func); + -+ /* 'modesetting' is preferred for GeForce 8 and newer GPUs */ ++ /* 'modesetting' is preferred for GeForce 8 and newer GPUs */ + fd = drmOpenWithType("nouveau", busid, DRM_NODE_RENDER); + if (fd >= 0) { + uint64_t args[] = { 11 /* NOUVEAU_GETPARAM_CHIPSET_ID */, 0 }; @@ -47,6 +45,3 @@ index 8158c2b62..78d1c947d 100644 driverList[idx++] = "nouveau"; #endif driverList[idx++] = "nv"; --- -2.12.2 - |