summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid McFarland2017-04-08 19:34:30 -0300
committerDavid McFarland2017-04-08 19:36:26 -0300
commitecef091f54a41fbfab721ea80c28801439476728 (patch)
tree643373b495c88db09367badc1c479a456937abb4
parentcd4d76c29b7d08088ef9a091af0c04ad0e4c45be (diff)
downloadaur-ecef091f54a41fbfab721ea80c28801439476728.tar.gz
17.10-401251-2
-rw-r--r--.SRCINFO44
-rw-r--r--0001-add-archlinux-as-build-option.patch12
-rw-r--r--0001-disable-firmware-copy.patch25
-rw-r--r--0002-fix_get_user_pages_calls.patch42
-rw-r--r--0002-linux-4.9-fixes.patch50
-rw-r--r--0003-Change-seq_printf-format-for-64-bit-context.patch (renamed from 0004-Change-seq_printf-format-for-64-bit-context.patch)10
-rw-r--r--0003-fix_drm_connector.patch25
-rw-r--r--0004-fix-warnings-for-Werror.patch46
-rw-r--r--0005-add-archlinux-as-build-option.patch26
-rw-r--r--0005-fix_drm_vma_node_verify_access.patch22
-rw-r--r--0006-fix_dm_plane_helper_funcs.patch26
-rw-r--r--0007-disable-dal-by-default.patch11
-rw-r--r--PKGBUILD162
13 files changed, 249 insertions, 252 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f01ba2f9387..42bf4eb3c0e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,22 @@
pkgbase = amdgpu-pro-installer
- pkgver = 16.60.379184
+ pkgver = 17.10.401251
pkgrel = 2
url = http://www.amd.com
arch = x86_64
license = custom:AMD
makedepends = wget
- source = https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-16.60-379184.tar.xz
- source = 0001-add-archlinux-as-build-option.patch
- source = 0002-fix_get_user_pages_calls.patch
- source = 0003-fix_drm_connector.patch
- source = 0004-Change-seq_printf-format-for-64-bit-context.patch
- source = 0005-fix_drm_vma_node_verify_access.patch
- source = 0006-fix_dm_plane_helper_funcs.patch
- source = 0007-disable-dal-by-default.patch
- sha256sums = d88b5a747ac765a75eb738aaf5641428c3b1c9c02bc6fde452c423de7dd620bd
- sha256sums = 400df0077464003fad74bb77a8f6e5ba24bffc7c2e32e6b3f0dab08a17eb3486
- sha256sums = 5708b6641bd62fe768e1cb36f88d0895c4fdf90d1d3110033bafdabc47fe1e31
- sha256sums = b6a98ed84733bab544461991f642dc1a73ee065b32f7c1b3a235d5e2bc814943
- sha256sums = 21c78811107d8ee59f3566d21ed4a7ccfd622f4e07350fca7ed662392ab07190
- sha256sums = 885330f3749db53a491b7c35c7e0d9d58965a717e62434101c4d72f1a31ef39a
- sha256sums = b10bb6b2382f995ee90f9cc807b69cb336d0edb65096b66df315f0c60132e04d
- sha256sums = e28d79fcb808d7c275938a4d9871da3138fdd38eb7c1c69495bf9a9d36dc271a
+ source = https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.10-401251.tar.xz
+ source = 0001-disable-firmware-copy.patch
+ source = 0002-linux-4.9-fixes.patch
+ source = 0003-Change-seq_printf-format-for-64-bit-context.patch
+ source = 0004-fix-warnings-for-Werror.patch
+ source = 0005-add-archlinux-as-build-option.patch
+ sha256sums = 0a10cf39841bf77eacb393ca112ce5f82ca0c4ea728d2fce975732855c039600
+ sha256sums = 6aaf7566a70d1654bfc1ddfc73f25b246518e39c504c350cd131f4c40ce5a583
+ sha256sums = 858828f9292e552dc2a20d838c602ab76e56c32384352d3de26e519c18a16db5
+ sha256sums = 1e22be9d3e3aed6848cc0030f37d3fe710b37322d6db2219521827edf02cf38c
+ sha256sums = 375a0caad148e018774fae57cc1c05926b01b71497c363b38d83163b0e6961ca
+ sha256sums = 4e29fd4c1fd319b22c42d4d9e26e5cc75b9eab61e15f65e8acbe6db8a31ca3fb
pkgname = amdgpu-pro
pkgdesc = The AMDGPU Pro driver package
@@ -72,7 +68,7 @@ pkgname = amdgpu-pro-opencl
pkgname = amdgpu-pro-vdpau
pkgdesc = The AMDGPU Pro VDPAU driver
arch = x86_64
- depends = amdgpu-pro-libdrm=16.60.379184-2
+ depends = amdgpu-pro-libdrm=17.10.401251-2
depends = libvdpau>=1.1
depends = libxcb
depends = libxcb>=1.8
@@ -83,7 +79,7 @@ pkgname = amdgpu-pro-vdpau
pkgname = amdgpu-pro-vulkan
pkgdesc = The AMDGPU Pro Vulkan driver
arch = x86_64
- depends = amdgpu-pro-libdrm=16.60.379184-2
+ depends = amdgpu-pro-libdrm=17.10.401251-2
provides = vulkan-driver
pkgname = lib32-amdgpu-pro
@@ -110,7 +106,7 @@ pkgname = lib32-amdgpu-pro
pkgname = lib32-amdgpu-pro-libdrm
pkgdesc = The AMDGPU Pro userspace interface to kernel DRM services (32bit libraries)
arch = x86_64
- depends = amdgpu-pro-libdrm=16.60.379184-2
+ depends = amdgpu-pro-libdrm=17.10.401251-2
provides = lib32-libdrm
conflicts = lib32-libdrm
@@ -130,7 +126,7 @@ pkgname = lib32-amdgpu-pro-opencl
pkgname = lib32-amdgpu-pro-vdpau
pkgdesc = The AMDGPU Pro VDPAU driver (32bit libraries)
arch = x86_64
- depends = amdgpu-pro-libdrm=16.60.379184-2
+ depends = amdgpu-pro-libdrm=17.10.401251-2
depends = lib32-libvdpau>=1.1
depends = lib32-libxcb
depends = lib32-libxcb>=1.8
@@ -141,15 +137,15 @@ pkgname = lib32-amdgpu-pro-vdpau
pkgname = lib32-amdgpu-pro-vulkan
pkgdesc = The AMDGPU Pro Vulkan driver (32bit libraries)
arch = x86_64
- depends = amdgpu-pro-libdrm=16.60.379184-2
+ depends = amdgpu-pro-libdrm=17.10.401251-2
provides = lib32-vulkan-driver
pkgname = xf86-video-amdgpu-pro
pkgdesc = The AMDGPU Pro X.org video driver
arch = x86_64
groups = xorg-driversxorg
- depends = amdgpu-pro-libdrm=16.60.379184-2
- depends = amdgpu-pro=16.60.379184-2
+ depends = amdgpu-pro-libdrm=17.10.401251-2
+ depends = amdgpu-pro=17.10.401251-2
depends = libepoxy>=1.0
depends = libsystemd>=183
provides = xf86-video-amdgpu
diff --git a/0001-add-archlinux-as-build-option.patch b/0001-add-archlinux-as-build-option.patch
deleted file mode 100644
index aa8c86e6363..00000000000
--- a/0001-add-archlinux-as-build-option.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/Makefile.original 2017-01-28 02:08:55.850223022 +0100
-+++ b/Makefile 2017-01-28 02:10:59.110499356 +0100
-@@ -24,6 +24,9 @@
- subdir-ccflags-y += -DOS_NAME_SLE
- else ifeq ("sles",$(OS_NAME))
- subdir-ccflags-y += -DOS_NAME_SLE
-+else ifeq ("arch",$(OS_NAME))
-+subdir-ccflags-y += -DOS_NAME_ARCH
-+OS_VERSION = "0.0"
- else
- subdir-ccflags-y += -DOS_NAME_UNKNOWN
- endif
diff --git a/0001-disable-firmware-copy.patch b/0001-disable-firmware-copy.patch
new file mode 100644
index 00000000000..7d624536b8b
--- /dev/null
+++ b/0001-disable-firmware-copy.patch
@@ -0,0 +1,25 @@
+From 704cef8638ffbdd8de9e57f28b43ea42c685ea87 Mon Sep 17 00:00:00 2001
+From: David McFarland <corngood@gmail.com>
+Date: Sat, 28 Jan 2017 16:57:26 -0400
+Subject: [PATCH 1/5] disable firmware copy
+
+---
+ pre-build.sh | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/pre-build.sh b/pre-build.sh
+index 622ff13..e3cd009 100755
+--- a/pre-build.sh
++++ b/pre-build.sh
+@@ -35,8 +35,3 @@ find ttm -name '*.c' -exec grep EXPORT_SYMBOL {} + \
+ | sort -u \
+ | awk -F'[()]' '{print "#define "$2" amd"$2" //"$0}'\
+ > include/rename_symbol.h
+-
+-FW_DIR="/lib/firmware/$KERNELVER"
+-mkdir -p $FW_DIR
+-cp -ar /usr/src/amdgpu-pro-17.10-401251/firmware/radeon $FW_DIR
+-cp -ar /usr/src/amdgpu-pro-17.10-401251/firmware/amdgpu $FW_DIR
+--
+2.12.2
+
diff --git a/0002-fix_get_user_pages_calls.patch b/0002-fix_get_user_pages_calls.patch
deleted file mode 100644
index 95fe41cf776..00000000000
--- a/0002-fix_get_user_pages_calls.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/include/kcl/kcl_mm.h.orig 2017-01-28 02:30:14.442885328 +0100
-+++ b/include/kcl/kcl_mm.h 2017-01-28 02:37:26.820383177 +0100
-@@ -5,15 +5,23 @@
-
- static inline int kcl_get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
- unsigned long start, unsigned long nr_pages,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+ unsigned int gup_flags, struct page **pages,
-+#else
- int write, int force, struct page **pages,
-+#endif
- struct vm_area_struct **vmas)
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+ return get_user_pages(start, nr_pages, gup_flags, pages, vmas);
-+#else
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0)
- return get_user_pages(start, nr_pages, write, force, pages, vmas);
- #else
- return get_user_pages(tsk, mm, start, nr_pages,
- write, force, pages, vmas);
- #endif
-+#endif
- }
-
- #endif /* AMDKCL_MM_H */
---- a/amd/amdgpu/amdgpu_ttm.c.orig 2017-01-28 02:47:28.851390146 +0100
-+++ b/amd/amdgpu/amdgpu_ttm.c 2017-01-28 02:49:47.584961727 +0100
-@@ -662,8 +662,13 @@
- list_add(&guptask.list, &gtt->guptasks);
- spin_unlock(&gtt->guptasklock);
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+ r = kcl_get_user_pages(current, current->mm, userptr, num_pages,
-+ write ? FOLL_WRITE : 0, p, NULL);
-+#else
- r = kcl_get_user_pages(current, current->mm, userptr, num_pages,
- write, 0, p, NULL);
-+#endif
-
- spin_lock(&gtt->guptasklock);
- list_del(&guptask.list);
diff --git a/0002-linux-4.9-fixes.patch b/0002-linux-4.9-fixes.patch
new file mode 100644
index 00000000000..f29abe6f7c8
--- /dev/null
+++ b/0002-linux-4.9-fixes.patch
@@ -0,0 +1,50 @@
+From 0ead7017e1db18be971c24c891d4bdcc507deea7 Mon Sep 17 00:00:00 2001
+From: David McFarland <corngood@gmail.com>
+Date: Sun, 29 Jan 2017 18:23:47 -0400
+Subject: [PATCH 2/5] linux-4.9 fixes
+
+---
+ amd/amdkcl/kcl_io.c | 2 ++
+ amd/display/amdgpu_dm/amdgpu_dm_types.c | 8 ++++++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/amd/amdkcl/kcl_io.c b/amd/amdkcl/kcl_io.c
+index d8f843f..9a1bd9b 100644
+--- a/amd/amdkcl/kcl_io.c
++++ b/amd/amdkcl/kcl_io.c
+@@ -31,4 +31,6 @@ void amdkcl_io_init(void)
+ _kcl_io_free_memtype = amdkcl_fp_setup("io_free_memtype", NULL);
+ }
+ #endif
++#else
++void amdkcl_io_init(void) {}
+ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0) */
+diff --git a/amd/display/amdgpu_dm/amdgpu_dm_types.c b/amd/display/amdgpu_dm/amdgpu_dm_types.c
+index 34313a9..44a4a71 100644
+--- a/amd/display/amdgpu_dm/amdgpu_dm_types.c
++++ b/amd/display/amdgpu_dm/amdgpu_dm_types.c
+@@ -1720,6 +1720,10 @@ static int dm_plane_helper_prepare_fb(
+ static int dm_plane_helper_prepare_fb(
+ struct drm_plane *plane,
+ const struct drm_plane_state *new_state)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
++static int dm_plane_helper_prepare_fb(
++ struct drm_plane *plane,
++ struct drm_plane_state *new_state)
+ #else
+ static int dm_plane_helper_prepare_fb(
+ struct drm_plane *plane,
+@@ -1766,6 +1770,10 @@ static void dm_plane_helper_cleanup_fb(
+ static void dm_plane_helper_cleanup_fb(
+ struct drm_plane *plane,
+ const struct drm_plane_state *old_state)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
++static void dm_plane_helper_cleanup_fb(
++ struct drm_plane *plane,
++ struct drm_plane_state *old_state)
+ #else
+ static void dm_plane_helper_cleanup_fb(
+ struct drm_plane *plane,
+--
+2.12.2
+
diff --git a/0004-Change-seq_printf-format-for-64-bit-context.patch b/0003-Change-seq_printf-format-for-64-bit-context.patch
index 925a92e2a7e..892d636d318 100644
--- a/0004-Change-seq_printf-format-for-64-bit-context.patch
+++ b/0003-Change-seq_printf-format-for-64-bit-context.patch
@@ -1,14 +1,14 @@
-From 084b2915e6876d8fdb913938569c0ce7ffef65bc Mon Sep 17 00:00:00 2001
+From b6dd36dd90c5d88ae10b9dbc763d3bacb95ccddb Mon Sep 17 00:00:00 2001
From: "Luke A. Guest" <laguest@archeia.com>
Date: Sun, 25 Sep 2016 16:46:39 +0100
-Subject: [PATCH 04/11] Change seq_printf format for 64 bit context
+Subject: [PATCH 3/5] Change seq_printf format for 64 bit context
---
amd/amdgpu/amdgpu_sa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/amd/amdgpu/amdgpu_sa.c b/amd/amdgpu/amdgpu_sa.c
-index 052f745..5886b9a 100644
+index 74932bf..db4119a 100644
--- a/amd/amdgpu/amdgpu_sa.c
+++ b/amd/amdgpu/amdgpu_sa.c
@@ -428,7 +428,7 @@ void amdgpu_sa_bo_dump_debug_info(struct amdgpu_sa_manager *sa_manager,
@@ -18,8 +18,8 @@ index 052f745..5886b9a 100644
-#if defined(BUILD_AS_DKMS)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
seq_printf(m, " protected by 0x%08x on context %d",
- i->fence->seqno, i->fence->context);
+ i->fence->seqno, i->fence->context);
#else
--
-2.11.0
+2.12.2
diff --git a/0003-fix_drm_connector.patch b/0003-fix_drm_connector.patch
deleted file mode 100644
index a056ebe3d3c..00000000000
--- a/0003-fix_drm_connector.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/amd/amdgpu/amdgpu_connectors.c b/amd/amdgpu/amdgpu_connectors.c
-index 818d589..cb78d1c 100644
---- a/amd/amdgpu/amdgpu_connectors.c
-+++ b/amd/amdgpu/amdgpu_connectors.c
-@@ -168,12 +168,20 @@ int amdgpu_connector_get_monitor_bpc(struct drm_connector *connector)
- }
-
- /* Any defined maximum tmds clock limit we must not exceed? */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+ if (connector->display_info.max_tmds_clock > 0) {
-+#else
- if (connector->max_tmds_clock > 0) {
-+#endif
- /* mode_clock is clock in kHz for mode to be modeset on this connector */
- mode_clock = amdgpu_connector->pixelclock_for_modeset;
-
- /* Maximum allowable input clock in kHz */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+ max_tmds_clock = connector->display_info.max_tmds_clock * 1000;
-+#else
- max_tmds_clock = connector->max_tmds_clock * 1000;
-+#endif
-
- DRM_DEBUG("%s: hdmi mode dotclock %d kHz, max tmds input clock %d kHz.\n",
- connector->name, mode_clock, max_tmds_clock);
diff --git a/0004-fix-warnings-for-Werror.patch b/0004-fix-warnings-for-Werror.patch
new file mode 100644
index 00000000000..54552626a9d
--- /dev/null
+++ b/0004-fix-warnings-for-Werror.patch
@@ -0,0 +1,46 @@
+From dbf01d3934c52acaaa37f008859f69c5edf19ad5 Mon Sep 17 00:00:00 2001
+From: David McFarland <corngood@gmail.com>
+Date: Mon, 6 Feb 2017 22:13:49 -0400
+Subject: [PATCH 4/5] fix warnings for Werror
+
+---
+ amd/amdgpu/amdgpu_ttm.c | 2 ++
+ amd/display/amdgpu_dm/amdgpu_dm_types.c | 2 +-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/amd/amdgpu/amdgpu_ttm.c b/amd/amdgpu/amdgpu_ttm.c
+index 0e30389..890aafa 100644
+--- a/amd/amdgpu/amdgpu_ttm.c
++++ b/amd/amdgpu/amdgpu_ttm.c
+@@ -1083,6 +1083,7 @@ uint32_t amdgpu_ttm_tt_pte_flags(struct amdgpu_device *adev, struct ttm_tt *ttm,
+ return flags;
+ }
+
++#if 0
+ static void amdgpu_ttm_lru_removal(struct ttm_buffer_object *tbo)
+ {
+ struct amdgpu_device *adev = amdgpu_ttm_adev(tbo->bdev);
+@@ -1132,6 +1133,7 @@ static struct list_head *amdgpu_ttm_swap_lru_tail(struct ttm_buffer_object *tbo)
+
+ return res;
+ }
++#endif
+
+ static bool amdgpu_ttm_bo_eviction_valuable(struct ttm_buffer_object *bo,
+ const struct ttm_place *place)
+diff --git a/amd/display/amdgpu_dm/amdgpu_dm_types.c b/amd/display/amdgpu_dm/amdgpu_dm_types.c
+index 44a4a71..ae7e707 100644
+--- a/amd/display/amdgpu_dm/amdgpu_dm_types.c
++++ b/amd/display/amdgpu_dm/amdgpu_dm_types.c
+@@ -932,7 +932,7 @@ static void decide_crtc_timing_for_drm_display_mode(
+ }
+
+ static struct dc_target *create_target_for_sink(
+- const struct amdgpu_connector *aconnector,
++ struct amdgpu_connector *aconnector,
+ const struct drm_display_mode *drm_mode,
+ const struct dm_connector_state *dm_state)
+ {
+--
+2.12.2
+
diff --git a/0005-add-archlinux-as-build-option.patch b/0005-add-archlinux-as-build-option.patch
new file mode 100644
index 00000000000..f734d2a4399
--- /dev/null
+++ b/0005-add-archlinux-as-build-option.patch
@@ -0,0 +1,26 @@
+From 2acf2e71a6ea4b4bf054b224482be6b5a0ba6f2c Mon Sep 17 00:00:00 2001
+From: David McFarland <corngood@gmail.com>
+Date: Sat, 8 Apr 2017 15:58:42 -0300
+Subject: [PATCH 5/5] add archlinux as build option
+
+---
+ Makefile | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/Makefile b/Makefile
+index e8f360e..019b65d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -24,6 +24,9 @@ else ifeq ("sled",$(OS_NAME))
+ subdir-ccflags-y += -DOS_NAME_SLE
+ else ifeq ("sles",$(OS_NAME))
+ subdir-ccflags-y += -DOS_NAME_SLE
++else ifeq ("arch",$(OS_NAME))
++subdir-ccflags-y += -DOS_NAME_ARCH
++OS_VERSION = "0.0"
+ else
+ subdir-ccflags-y += -DOS_NAME_UNKNOWN
+ endif
+--
+2.12.2
+
diff --git a/0005-fix_drm_vma_node_verify_access.patch b/0005-fix_drm_vma_node_verify_access.patch
deleted file mode 100644
index 8c1d49bfe31..00000000000
--- a/0005-fix_drm_vma_node_verify_access.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/amd/amdgpu/amdgpu_ttm.c 2017-01-23 03:01:42.000000000 +0100
-+++ b/amd/amdgpu/amdgpu_ttm.c 2017-02-06 13:49:25.767120946 +0100
-@@ -251,11 +251,19 @@
-
- static int amdgpu_verify_access(struct ttm_buffer_object *bo, struct file *filp)
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+ struct drm_file *file_priv;
-+#endif
- struct amdgpu_bo *abo = container_of(bo, struct amdgpu_bo, tbo);
-
- if (amdgpu_ttm_tt_get_usermm(bo->ttm))
- return -EPERM;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+ file_priv = filp->private_data;
-+ return drm_vma_node_verify_access(&abo->gem_base.vma_node, file_priv);
-+#else
- return drm_vma_node_verify_access(&abo->gem_base.vma_node, filp);
-+#endif
- }
-
- static void amdgpu_move_null(struct ttm_buffer_object *bo,
diff --git a/0006-fix_dm_plane_helper_funcs.patch b/0006-fix_dm_plane_helper_funcs.patch
deleted file mode 100644
index 310dd4b49b1..00000000000
--- a/0006-fix_dm_plane_helper_funcs.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/amd/display/amdgpu_dm/amdgpu_dm_types.c b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-index edc8e86..0b38016 100644
---- a/amd/display/amdgpu_dm/amdgpu_dm_types.c
-+++ b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-@@ -1675,6 +1676,10 @@ static int dm_plane_helper_prepare_fb(
- struct drm_plane *plane,
- struct drm_framebuffer *fb,
- const struct drm_plane_state *new_state)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+static int dm_plane_helper_prepare_fb(
-+ struct drm_plane *plane,
-+ struct drm_plane_state *new_state)
- #else
- static int dm_plane_helper_prepare_fb(
- struct drm_plane *plane,
-@@ -1718,6 +1723,10 @@ static void dm_plane_helper_cleanup_fb(
- struct drm_plane *plane,
- struct drm_framebuffer *fb,
- const struct drm_plane_state *old_state)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+static void dm_plane_helper_cleanup_fb(
-+ struct drm_plane *plane,
-+ struct drm_plane_state *old_state)
- #else
- static void dm_plane_helper_cleanup_fb(
- struct drm_plane *plane,
diff --git a/0007-disable-dal-by-default.patch b/0007-disable-dal-by-default.patch
deleted file mode 100644
index f62d4e64509..00000000000
--- a/0007-disable-dal-by-default.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/amd/amdgpu/amdgpu_drv.c.orig 2017-01-30 00:29:42.740832196 +0100
-+++ b/amd/amdgpu/amdgpu_drv.c 2017-01-30 00:29:59.947499459 +0100
-@@ -88,7 +88,7 @@
- int amdgpu_vm_debug = 0;
- int amdgpu_vram_page_split = 1024;
- int amdgpu_exp_hw_support = 0;
--int amdgpu_dc = -1;
-+int amdgpu_dc = 0;
- int amdgpu_sched_jobs = 32;
- int amdgpu_sched_hw_submission = 2;
- int amdgpu_powerplay = -1;
diff --git a/PKGBUILD b/PKGBUILD
index 8aa1fdbddec..c4743841f77 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=amdgpu-pro-installer
pkgname=(amdgpu-pro amdgpu-pro-dkms amdgpu-pro-libdrm amdgpu-pro-libgl amdgpu-pro-opencl amdgpu-pro-vdpau amdgpu-pro-vulkan lib32-amdgpu-pro lib32-amdgpu-pro-libdrm lib32-amdgpu-pro-libgl lib32-amdgpu-pro-opencl lib32-amdgpu-pro-vdpau lib32-amdgpu-pro-vulkan xf86-video-amdgpu-pro)
-pkgver=16.60.379184
+pkgver=17.10.401251
pkgrel=2
arch=('x86_64')
url='http://www.amd.com'
@@ -13,22 +13,18 @@ makedepends=('wget')
DLAGENTS='https::/usr/bin/wget --referer https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx -N %u'
-source=(https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-16.60-379184.tar.xz
- 0001-add-archlinux-as-build-option.patch
- 0002-fix_get_user_pages_calls.patch
- 0003-fix_drm_connector.patch
- 0004-Change-seq_printf-format-for-64-bit-context.patch
- 0005-fix_drm_vma_node_verify_access.patch
- 0006-fix_dm_plane_helper_funcs.patch
- 0007-disable-dal-by-default.patch)
-sha256sums=(d88b5a747ac765a75eb738aaf5641428c3b1c9c02bc6fde452c423de7dd620bd
- 400df0077464003fad74bb77a8f6e5ba24bffc7c2e32e6b3f0dab08a17eb3486
- 5708b6641bd62fe768e1cb36f88d0895c4fdf90d1d3110033bafdabc47fe1e31
- b6a98ed84733bab544461991f642dc1a73ee065b32f7c1b3a235d5e2bc814943
- 21c78811107d8ee59f3566d21ed4a7ccfd622f4e07350fca7ed662392ab07190
- 885330f3749db53a491b7c35c7e0d9d58965a717e62434101c4d72f1a31ef39a
- b10bb6b2382f995ee90f9cc807b69cb336d0edb65096b66df315f0c60132e04d
- e28d79fcb808d7c275938a4d9871da3138fdd38eb7c1c69495bf9a9d36dc271a)
+source=(https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.10-401251.tar.xz
+ 0001-disable-firmware-copy.patch
+ 0002-linux-4.9-fixes.patch
+ 0003-Change-seq_printf-format-for-64-bit-context.patch
+ 0004-fix-warnings-for-Werror.patch
+ 0005-add-archlinux-as-build-option.patch)
+sha256sums=(0a10cf39841bf77eacb393ca112ce5f82ca0c4ea728d2fce975732855c039600
+ 6aaf7566a70d1654bfc1ddfc73f25b246518e39c504c350cd131f4c40ce5a583
+ 858828f9292e552dc2a20d838c602ab76e56c32384352d3de26e519c18a16db5
+ 1e22be9d3e3aed6848cc0030f37d3fe710b37322d6db2219521827edf02cf38c
+ 375a0caad148e018774fae57cc1c05926b01b71497c363b38d83163b0e6961ca
+ 4e29fd4c1fd319b22c42d4d9e26e5cc75b9eab61e15f65e8acbe6db8a31ca3fb)
@@ -69,20 +65,20 @@ package_amdgpu-pro () {
arch=('x86_64')
depends=('glib2>=2.37.3' 'gst-plugins-base>=1.6.0' 'gstreamer>=1.0.0' 'libomxil-bellagio' 'libx11' 'libx11>=1.4.99.1' 'libxcb' 'libxcb>=1.8' 'libxcb>=1.9.2' 'libxdamage>=1.1' 'libxext' 'libxfixes' 'libxshmfence' 'libxxf86vm' 'ncurses5-compat-libs>=6' 'openssl>=1.0.0' 'zlib>=1.2.0')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./amdgpu-pro_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./amdgpu-pro-lib32_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./gst-omx-amdgpu-pro_1.0.0.1-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libegl1-amdgpu-pro_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgbm1-amdgpu-pro_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgbm1-amdgpu-pro-base_16.60-379184_all.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgbm1-amdgpu-pro-dev_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgl1-amdgpu-pro-appprofiles_16.60-379184_all.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgl1-amdgpu-pro-dri_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgl1-amdgpu-pro-ext_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgl1-amdgpu-pro-glx_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libglamor-amdgpu-pro-dev_1.18.3-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgles2-amdgpu-pro_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./mesa-amdgpu-pro-omx-drivers_12.0.3-379184_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro-lib32_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./gst-omx-amdgpu-pro_1.0.0.1-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libegl1-amdgpu-pro_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro-base_17.10-401251_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro-dev_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-appprofiles_17.10-401251_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-dri_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-ext_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-glx_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libglamor-amdgpu-pro-dev_1.18.3-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgles2-amdgpu-pro_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./mesa-amdgpu-pro-omx-drivers_13.0.3-401251_amd64.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
@@ -101,29 +97,25 @@ package_amdgpu-pro-dkms () {
arch=('any')
depends=('dkms>=1.95')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./amdgpu-pro-dkms_16.60-379184_all.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro-dkms_17.10-401251_all.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
# extra_commands:
msg 'Applying patches...'
- (cd ${pkgdir}/usr/src/amdgpu-pro-16.60-379184;
+ (cd ${pkgdir}/usr/src/amdgpu-pro-17.10-401251;
sed -i 's/\/extra/\/extramodules/' dkms.conf
- msg2 '0001-add-archlinux-as-build-option.patch'
- patch -p1 -i "${srcdir}/0001-add-archlinux-as-build-option.patch";
- msg2 '0002-fix_get_user_pages_calls.patch'
- patch -p1 -i "${srcdir}/0002-fix_get_user_pages_calls.patch";
- msg2 '0003-fix_drm_connector.patch'
- patch -p1 -i "${srcdir}/0003-fix_drm_connector.patch";
- msg2 '0004-Change-seq_printf-format-for-64-bit-context.patch'
- patch -p1 -i "${srcdir}/0004-Change-seq_printf-format-for-64-bit-context.patch";
- msg2 '0005-fix_drm_vma_node_verify_access.patch'
- patch -p1 -i "${srcdir}/0005-fix_drm_vma_node_verify_access.patch";
- msg2 '0006-fix_dm_plane_helper_funcs.patch'
- patch -p1 -i "${srcdir}/0006-fix_dm_plane_helper_funcs.patch";
- msg2 '0007-disable-dal-by-default.patch'
- patch -p1 -i "${srcdir}/0007-disable-dal-by-default.patch"
+ msg2 '0001-disable-firmware-copy.patch'
+ patch -p1 -i "${srcdir}/0001-disable-firmware-copy.patch";
+ msg2 '0002-linux-4.9-fixes.patch'
+ patch -p1 -i "${srcdir}/0002-linux-4.9-fixes.patch";
+ msg2 '0003-Change-seq_printf-format-for-64-bit-context.patch'
+ patch -p1 -i "${srcdir}/0003-Change-seq_printf-format-for-64-bit-context.patch";
+ msg2 '0004-fix-warnings-for-Werror.patch'
+ patch -p1 -i "${srcdir}/0004-fix-warnings-for-Werror.patch";
+ msg2 '0005-add-archlinux-as-build-option.patch'
+ patch -p1 -i "${srcdir}/0005-add-archlinux-as-build-option.patch"
)
}
@@ -135,11 +127,11 @@ package_amdgpu-pro-libdrm () {
conflicts=('libdrm')
depends=('bcunit')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm-amdgpu-pro-amdgpu1_2.4.70-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm-amdgpu-pro-dev_2.4.70-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm-amdgpu-pro-radeon1_2.4.70-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm-amdgpu-pro-utils_2.4.70-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm2-amdgpu-pro_2.4.70-379184_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-amdgpu1_2.4.70-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-dev_2.4.70-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-radeon1_2.4.70-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-utils_2.4.70-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm2-amdgpu-pro_2.4.70-401251_amd64.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
@@ -167,9 +159,9 @@ package_amdgpu-pro-opencl () {
provides=('opencl-driver')
depends=()
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./clinfo-amdgpu-pro_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libopencl1-amdgpu-pro_16.60-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./opencl-amdgpu-pro-icd_16.60-379184_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./clinfo-amdgpu-pro_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libopencl1-amdgpu-pro_17.10-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./opencl-amdgpu-pro-icd_17.10-401251_amd64.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
@@ -180,9 +172,9 @@ package_amdgpu-pro-opencl () {
package_amdgpu-pro-vdpau () {
pkgdesc="The AMDGPU Pro VDPAU driver"
arch=('x86_64')
- depends=('amdgpu-pro-libdrm=16.60.379184-2' 'libvdpau>=1.1' 'libxcb' 'libxcb>=1.8' 'ncurses5-compat-libs>=6' 'openssl>=1.0.0' 'zlib>=1.2.0')
+ depends=('amdgpu-pro-libdrm=17.10.401251-2' 'libvdpau>=1.1' 'libxcb' 'libxcb>=1.8' 'ncurses5-compat-libs>=6' 'openssl>=1.0.0' 'zlib>=1.2.0')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libvdpau-amdgpu-pro_12.0.3-379184_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libvdpau-amdgpu-pro_13.0.3-401251_amd64.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
@@ -199,9 +191,9 @@ package_amdgpu-pro-vulkan () {
pkgdesc="The AMDGPU Pro Vulkan driver"
arch=('x86_64')
provides=('vulkan-driver')
- depends=('amdgpu-pro-libdrm=16.60.379184-2')
+ depends=('amdgpu-pro-libdrm=17.10.401251-2')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./vulkan-amdgpu-pro_16.60-379184_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./vulkan-amdgpu-pro_17.10-401251_amd64.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"
@@ -218,17 +210,17 @@ package_lib32-amdgpu-pro () {
arch=('x86_64')
depends=('lib32-glib2>=2.37.3' 'lib32-gst-plugins-base>=1.6.0' 'lib32-gstreamer>=1.0.0' 'lib32-libomxil-bellagio' 'lib32-libx11' 'lib32-libx11>=1.4.99.1' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-libxcb>=1.9.2' 'lib32-libxdamage>=1.1' 'lib32-libxext' 'lib32-libxfixes' 'lib32-libxshmfence' 'lib32-libxxf86vm' 'lib32-ncurses5-compat-libs>=6' 'lib32-openssl>=1.0.0' 'lib32-zlib>=1.2.0')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./amdgpu-pro_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./gst-omx-amdgpu-pro_1.0.0.1-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libegl1-amdgpu-pro_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgbm1-amdgpu-pro_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgbm1-amdgpu-pro-dev_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgl1-amdgpu-pro-dri_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgl1-amdgpu-pro-ext_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgl1-amdgpu-pro-glx_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libglamor-amdgpu-pro-dev_1.18.3-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libgles2-amdgpu-pro_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./mesa-amdgpu-pro-omx-drivers_12.0.3-379184_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./amdgpu-pro_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./gst-omx-amdgpu-pro_1.0.0.1-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libegl1-amdgpu-pro_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgbm1-amdgpu-pro-dev_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-dri_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-ext_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgl1-amdgpu-pro-glx_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libglamor-amdgpu-pro-dev_1.18.3-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libgles2-amdgpu-pro_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./mesa-amdgpu-pro-omx-drivers_13.0.3-401251_i386.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
@@ -252,12 +244,12 @@ package_lib32-amdgpu-pro-libdrm () {
arch=('x86_64')
provides=('lib32-libdrm')
conflicts=('lib32-libdrm')
- depends=('amdgpu-pro-libdrm=16.60.379184-2')
+ depends=('amdgpu-pro-libdrm=17.10.401251-2')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm-amdgpu-pro-amdgpu1_2.4.70-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm-amdgpu-pro-dev_2.4.70-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm-amdgpu-pro-radeon1_2.4.70-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libdrm2-amdgpu-pro_2.4.70-379184_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-amdgpu1_2.4.70-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-dev_2.4.70-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm-amdgpu-pro-radeon1_2.4.70-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libdrm2-amdgpu-pro_2.4.70-401251_i386.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
@@ -295,8 +287,8 @@ package_lib32-amdgpu-pro-opencl () {
provides=('lib32-opencl-driver')
depends=()
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libopencl1-amdgpu-pro_16.60-379184_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./opencl-amdgpu-pro-icd_16.60-379184_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libopencl1-amdgpu-pro_17.10-401251_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./opencl-amdgpu-pro-icd_17.10-401251_i386.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
@@ -312,9 +304,9 @@ package_lib32-amdgpu-pro-opencl () {
package_lib32-amdgpu-pro-vdpau () {
pkgdesc="The AMDGPU Pro VDPAU driver (32bit libraries)"
arch=('x86_64')
- depends=('amdgpu-pro-libdrm=16.60.379184-2' 'lib32-libvdpau>=1.1' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-ncurses5-compat-libs>=6' 'lib32-openssl>=1.0.0' 'lib32-zlib>=1.2.0')
+ depends=('amdgpu-pro-libdrm=17.10.401251-2' 'lib32-libvdpau>=1.1' 'lib32-libxcb' 'lib32-libxcb>=1.8' 'lib32-ncurses5-compat-libs>=6' 'lib32-openssl>=1.0.0' 'lib32-zlib>=1.2.0')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./libvdpau-amdgpu-pro_12.0.3-379184_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./libvdpau-amdgpu-pro_13.0.3-401251_i386.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
@@ -336,9 +328,9 @@ package_lib32-amdgpu-pro-vulkan () {
pkgdesc="The AMDGPU Pro Vulkan driver (32bit libraries)"
arch=('x86_64')
provides=('lib32-vulkan-driver')
- depends=('amdgpu-pro-libdrm=16.60.379184-2')
+ depends=('amdgpu-pro-libdrm=17.10.401251-2')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./vulkan-amdgpu-pro_16.60-379184_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./vulkan-amdgpu-pro_17.10-401251_i386.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/i386-linux-gnu" "usr/lib32"
move_libdir "${pkgdir}/lib" "usr/lib32"
@@ -361,11 +353,11 @@ package_xf86-video-amdgpu-pro () {
provides=('xf86-video-amdgpu')
conflicts=('xf86-video-amdgpu' 'xorg-server<1.18.0' 'xorg-server>=1.19.0X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21')
groups=('xorg-driversxorg')
- depends=('amdgpu-pro-libdrm=16.60.379184-2' 'amdgpu-pro=16.60.379184-2' 'libepoxy>=1.0' 'libsystemd>=183')
+ depends=('amdgpu-pro-libdrm=17.10.401251-2' 'amdgpu-pro=17.10.401251-2' 'libepoxy>=1.0' 'libsystemd>=183')
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./xserver-xorg-video-amdgpu-pro_1.2.99-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./xserver-xorg-video-glamoregl-amdgpu-pro_1.18.3-379184_amd64.deb
- extract_deb "${srcdir}"/amdgpu-pro-16.60-379184/./xserver-xorg-video-modesetting-amdgpu-pro_1.18.3-379184_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./xserver-xorg-video-amdgpu-pro_1.2.99-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./xserver-xorg-video-glamoregl-amdgpu-pro_1.18.3-401251_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-17.10-401251/./xserver-xorg-video-modesetting-amdgpu-pro_1.18.3-401251_amd64.deb
#move_libdir "${pkgdir}/opt/amdgpu-pro" "usr"
#move_libdir "${pkgdir}/opt/amdgpu-pro/lib/x86_64-linux-gnu"
move_libdir "${pkgdir}/lib"