Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
313 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
pkgs/os-specific/linux/amdgpu-pro/patches/0001-Find-correct-System.map.patch
This file was deleted.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
...-Fix-kernel-module-install-location.patch → ...-Fix-kernel-module-install-location.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
From c1860b4e8c2ebb784a07d6ba067c510950e67d24 Mon Sep 17 00:00:00 2001 | ||
From e787277fd4f43399de2da355b08e478c2a58d589 Mon Sep 17 00:00:00 2001 | ||
From: "Luke A. Guest" <laguest@archeia.com> | ||
Date: Sun, 25 Sep 2016 15:31:13 +0100 | ||
Subject: [PATCH 02/14] Fix kernel module install location | ||
Subject: [PATCH 01/11] Fix kernel module install location | ||
|
||
--- | ||
dkms.conf | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/dkms.conf b/dkms.conf | ||
index d1a5e1d..0e03f08 100644 | ||
index 7f11158..2f080e2 100644 | ||
--- a/dkms.conf | ||
+++ b/dkms.conf | ||
@@ -2,7 +2,7 @@ PACKAGE_NAME="amdgpu-pro" | ||
PACKAGE_VERSION="16.40-348864" | ||
PACKAGE_VERSION="16.50-362463" | ||
BUILT_MODULE_NAME[0]="amdgpu" | ||
BUILT_MODULE_LOCATION[0]="amd/amdgpu" | ||
-DEST_MODULE_LOCATION[0]="/extra" | ||
-DEST_MODULE_LOCATION[0]="/updates" | ||
+DEST_MODULE_LOCATION[0]="/kernel/drivers/gpu/drm/amd/amdgpu" | ||
AUTOINSTALL="yes" | ||
PRE_BUILD="pre-build.sh $kernelver" | ||
REMAKE_INITRD="yes" | ||
|
||
-- | ||
2.10.1 | ||
2.11.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...-specific/linux/amdgpu-pro/patches/0004-Change-seq_printf-format-for-64-bit-context.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 084b2915e6876d8fdb913938569c0ce7ffef65bc 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 | ||
|
||
--- | ||
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 | ||
--- 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, | ||
soffset, eoffset, eoffset - soffset); | ||
|
||
if (i->fence) | ||
-#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); | ||
#else | ||
-- | ||
2.11.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.