summarylogtreecommitdiffstats
path: root/0003-Change-seq_printf-format-for-64-bit-context.patch
diff options
context:
space:
mode:
authorDavid McFarland2017-04-08 19:34:30 -0300
committerDavid McFarland2017-04-08 19:36:26 -0300
commitecef091f54a41fbfab721ea80c28801439476728 (patch)
tree643373b495c88db09367badc1c479a456937abb4 /0003-Change-seq_printf-format-for-64-bit-context.patch
parentcd4d76c29b7d08088ef9a091af0c04ad0e4c45be (diff)
downloadaur-ecef091f54a41fbfab721ea80c28801439476728.tar.gz
17.10-401251-2
Diffstat (limited to '0003-Change-seq_printf-format-for-64-bit-context.patch')
-rw-r--r--0003-Change-seq_printf-format-for-64-bit-context.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0003-Change-seq_printf-format-for-64-bit-context.patch b/0003-Change-seq_printf-format-for-64-bit-context.patch
new file mode 100644
index 00000000000..892d636d318
--- /dev/null
+++ b/0003-Change-seq_printf-format-for-64-bit-context.patch
@@ -0,0 +1,25 @@
+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 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 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,
+ 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.12.2
+