summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDet2016-05-19 19:58:49 +0300
committerDet2016-05-19 19:58:49 +0300
commit8470efb68f248c8d5823d5fdf831377928cf0f50 (patch)
tree6dbd2b695fbb63db2a367d73ad367b660bd1ab9d
parent70fe1af96f324f0b470e76a0389ead640959a296 (diff)
downloadaur-8470efb68f248c8d5823d5fdf831377928cf0f50.tar.gz
Upgpkg: 367.18
-rwxr-xr-x.SRCINFO14
-rwxr-xr-xPKGBUILD8
-rw-r--r--linux-4.6.patch50
3 files changed, 9 insertions, 63 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 681266154621..c16d1101dc28 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nvidia-beta-all
pkgdesc = NVIDIA drivers for all kernels on the system (beta)
- pkgver = 364.19
+ pkgver = 367.18
pkgrel = 1
url = http://www.nvidia.com/
install = nvidia-beta-all.install
@@ -8,19 +8,17 @@ pkgbase = nvidia-beta-all
arch = x86_64
license = custom:NVIDIA
makedepends = linux-headers
- depends = nvidia-utils-beta>=364.19
+ depends = nvidia-utils-beta>=367.18
depends = libgl
provides = nvidia
conflicts = nvidia-96xx
conflicts = nvidia-173xx
conflicts = nvidia
options = !strip
- source = linux-4.6.patch
- md5sums = 3064bd437b26adac246f301f54f2814c
- source_i686 = http://us.download.nvidia.com/XFree86/Linux-x86/364.19/NVIDIA-Linux-x86-364.19.run
- md5sums_i686 = 8a4015213c4a8f1c80e9520d04a32a7b
- source_x86_64 = http://us.download.nvidia.com/XFree86/Linux-x86_64/364.19/NVIDIA-Linux-x86_64-364.19-no-compat32.run
- md5sums_x86_64 = ad7a0b1855b3913390fb75b4cc3a26dc
+ source_i686 = http://us.download.nvidia.com/XFree86/Linux-x86/367.18/NVIDIA-Linux-x86-367.18.run
+ md5sums_i686 = 9ae023927692dab99f23a006865fa966
+ source_x86_64 = http://us.download.nvidia.com/XFree86/Linux-x86_64/367.18/NVIDIA-Linux-x86_64-367.18-no-compat32.run
+ md5sums_x86_64 = 0e01ed625c26ad4e4b44a7b139a3e363
pkgname = nvidia-beta-all
diff --git a/PKGBUILD b/PKGBUILD
index 4e09f147ad70..96778a0bdc45 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Based on nvidia-beta: https://aur.archlinux.org/packages/nvidia-beta/
pkgname=nvidia-beta-all
-pkgver=364.19
+pkgver=367.18
pkgrel=1
pkgdesc="NVIDIA drivers for all kernels on the system (beta)"
arch=('i686' 'x86_64')
@@ -23,12 +23,10 @@ case "$CARCH" in
esac
# Source
-source=('linux-4.6.patch')
source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/$pkgver/NVIDIA-Linux-x86-$pkgver.run")
source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/$pkgver/NVIDIA-Linux-x86_64-$pkgver-no-compat32.run")
-md5sums=('3064bd437b26adac246f301f54f2814c')
-md5sums_i686=('8a4015213c4a8f1c80e9520d04a32a7b')
-md5sums_x86_64=('ad7a0b1855b3913390fb75b4cc3a26dc')
+md5sums_i686=('9ae023927692dab99f23a006865fa966')
+md5sums_x86_64=('0e01ed625c26ad4e4b44a7b139a3e363')
# Auto-detect patches (e.g. linux-4.1.patch)
for _patch in $(find "$startdir" -maxdepth 1 -name '*.patch' -printf "%f\n"); do
diff --git a/linux-4.6.patch b/linux-4.6.patch
deleted file mode 100644
index 3dde4730532b..000000000000
--- a/linux-4.6.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/kernel/nvidia-drm/nvidia-drm-fb.c
-+++ b/kernel/nvidia-drm/nvidia-drm-fb.c
-@@ -77,7 +77,7 @@
- static struct drm_framebuffer *internal_framebuffer_create
- (
- struct drm_device *dev,
-- struct drm_file *file, struct drm_mode_fb_cmd2 *cmd,
-+ struct drm_file *file, const struct drm_mode_fb_cmd2 *cmd,
- uint64_t nvkms_params_ptr,
- uint64_t nvkms_params_size
- )
-@@ -199,7 +199,7 @@
- struct drm_framebuffer *nvidia_drm_framebuffer_create
- (
- struct drm_device *dev,
-- struct drm_file *file, struct drm_mode_fb_cmd2 *cmd
-+ struct drm_file *file, const struct drm_mode_fb_cmd2 *cmd
- )
- {
- return internal_framebuffer_create(dev, file, cmd, 0, 0);
---- a/kernel/nvidia-drm/nvidia-drm-fb.h
-+++ b/kernel/nvidia-drm/nvidia-drm-fb.h
-@@ -45,7 +45,7 @@
- struct drm_framebuffer *nvidia_drm_framebuffer_create
- (
- struct drm_device *dev,
-- struct drm_file *file, struct drm_mode_fb_cmd2 *cmd
-+ struct drm_file *file, const struct drm_mode_fb_cmd2 *cmd
- );
-
- int nvidia_drm_add_nvkms_fb(
---- a/kernel/nvidia-drm/nvidia-drm-linux.c
-+++ b/kernel/nvidia-drm/nvidia-drm-linux.c
-@@ -31,6 +31,7 @@
-
- #if defined(NV_DRM_AVAILABLE)
-
-+#include "nv-mm.h"
- #include "nv-pgprot.h"
-
- MODULE_PARM_DESC(
-@@ -121,8 +122,7 @@
-
- down_read(&mm->mmap_sem);
-
-- pages_pinned = get_user_pages(current, mm,
-- address, pages_count, write, force,
-+ pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force,
- user_pages, NULL);
- up_read(&mm->mmap_sem); \ No newline at end of file