Skip to content

Commit

Permalink
drm/amdkfd: Change pr_warn to pr_debug when init PeerDirect
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Serguei Sagalovitch authored and Andres Rodriguez committed Nov 4, 2016
1 parent a447318 commit f9f44ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdkfd/kfd_peerdirect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f9f44ab

Please sign in to comment.