summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerguei Sagalovitch <Serguei.Sagalovitch@amd.com>2016-11-04 11:30:01 -0400
committerAndres Rodriguez <Andres.Rodriguez@amd.com>2016-11-04 16:46:11 -0400
commitf9f44ab1054ec417481e95dc88f69cf1eb0192dc (patch)
tree36946295a0d40e245a4f0dc7a3c27afbb87aca66
parenta447318a1ba24f1efd38859da87452bb6b617b4a (diff)
drm/amdkfd: Change pr_warn to pr_debug when init PeerDirectroc-1.3.0
Switch to use pr_debug instead of pr_warn to avoid message log pollution when PeerDirect support is not available Change-Id: I8366fab330632f144313a52ef2b99ab9cdf39bef Signed-off-by: Serguei Sagalovitch <Serguei.Sagalovitch@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_peerdirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_peerdirect.c b/drivers/gpu/drm/amd/amdkfd/kfd_peerdirect.c
index 0edc65263ad4..3fb889687381 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_peerdirect.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_peerdirect.c
@@ -457,7 +457,7 @@ void kfd_init_peer_direct(void)
if (!pfn_ib_register_peer_memory_client ||
!pfn_ib_unregister_peer_memory_client) {
- pr_warn("amdkfd: PeerDirect interface was not detected\n");
+ pr_debug("amdkfd: PeerDirect interface was not detected\n");
/* Do cleanup */
kfd_close_peer_direct();
return;