Commit 8f2e0c03 authored by Yong Zhao's avatar Yong Zhao Committed by Alex Deucher

drm/amdkfd: Use pr_debug to print the message of reaching event limit

People are inclined to think of the previous pr_warn message as an
error, so use pre_debug instead.
Signed-off-by: default avatarYong Zhao <Yong.Zhao@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ea29221d
...@@ -187,7 +187,7 @@ static int create_signal_event(struct file *devkfd, ...@@ -187,7 +187,7 @@ static int create_signal_event(struct file *devkfd,
if (p->signal_mapped_size && if (p->signal_mapped_size &&
p->signal_event_count == p->signal_mapped_size / 8) { p->signal_event_count == p->signal_mapped_size / 8) {
if (!p->signal_event_limit_reached) { if (!p->signal_event_limit_reached) {
pr_warn("Signal event wasn't created because limit was reached\n"); pr_debug("Signal event wasn't created because limit was reached\n");
p->signal_event_limit_reached = true; p->signal_event_limit_reached = true;
} }
return -ENOSPC; return -ENOSPC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment