aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1410-drm-amdkfd-Turn-pr_err-to-pr_debug-call-v2.patch
blob: 23541a4ced4082b3161aa8cd830ebb0e11f1ff95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From bfaca887763d413f842be726dff2d70ca611794f Mon Sep 17 00:00:00 2001
From: Serguei Sagalovitch <Serguei.Sagalovitch@amd.com>
Date: Thu, 24 Mar 2016 11:29:02 -0400
Subject: [PATCH 1410/4131] drm/amdkfd: Turn pr_err to pr_debug call v2

The scenario when we are not able to find process for address is
completely normal when we run non-HSA applications. Switch to
pr_debug to see message only when we want to debug.

v2: Fixed spelling in the commit message

Change-Id: Ia84055dd28c9ebda3dc427ecad860f34776e1835
Signed-off-by: Serguei Sagalovitch <Serguei.Sagalovitch@amd.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_rdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_rdma.c b/drivers/gpu/drm/amd/amdkfd/kfd_rdma.c
index 69bdaf1..f58b57e 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_rdma.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_rdma.c
@@ -225,7 +225,7 @@ static int is_gpu_address(uint64_t address, struct pid *pid)
 
 	p = kfd_lookup_process_by_pid(pid);
 	if (!p) {
-		pr_err("could not find the process in %s.\n",
+		pr_debug("could not find the process in %s.\n",
 				__func__);
 		return 0;
 	}
-- 
2.7.4