2017-04-08 20:34:26 +02:00
|
|
|
From b6dd36dd90c5d88ae10b9dbc763d3bacb95ccddb Mon Sep 17 00:00:00 2001
|
2017-01-10 15:24:21 +01:00
|
|
|
From: "Luke A. Guest" <laguest@archeia.com>
|
|
|
|
Date: Sun, 25 Sep 2016 16:46:39 +0100
|
2017-01-28 22:10:50 +01:00
|
|
|
Subject: [PATCH 3/4] Change seq_printf format for 64 bit context
|
2017-01-10 15:24:21 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
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
|
2017-04-08 20:34:26 +02:00
|
|
|
index 74932bf..db4119a 100644
|
2017-01-10 15:24:21 +01:00
|
|
|
--- a/amd/amdgpu/amdgpu_sa.c
|
|
|
|
+++ b/amd/amdgpu/amdgpu_sa.c
|
2017-04-08 20:34:26 +02:00
|
|
|
@@ -428,7 +428,7 @@ void amdgpu_sa_bo_dump_debug_info(struct amdgpu_sa_manager *sa_manager,
|
2017-01-10 15:24:21 +01:00
|
|
|
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",
|
2017-04-08 20:34:26 +02:00
|
|
|
i->fence->seqno, i->fence->context);
|
2017-01-10 15:24:21 +01:00
|
|
|
#else
|
|
|
|
--
|
2017-04-08 20:34:26 +02:00
|
|
|
2.12.2
|
2017-01-10 15:24:21 +01:00
|
|
|
|