* [PATCH] drm/amdkfd: Use pr_debug to print the message of reaching event limit
@ 2020-03-09 18:25 Yong Zhao
2020-03-09 19:30 ` Felix Kuehling
0 siblings, 1 reply; 2+ messages in thread
From: Yong Zhao @ 2020-03-09 18:25 UTC (permalink / raw)
To: amd-gfx; +Cc: Yong Zhao
People are inclined to think of the previous pr_warn message as an
error, so use pre_debug instead.
Change-Id: I3ac565a2bd3b8d57345812104c872183898d237f
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
---
drivers/gpu/drm/amd/amdkfd/kfd_events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.c b/drivers/gpu/drm/amd/amdkfd/kfd_events.c
index 1f8365575b12..15476fca8fa6 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_events.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_events.c
@@ -187,7 +187,7 @@ static int create_signal_event(struct file *devkfd,
if (p->signal_mapped_size &&
p->signal_event_count == p->signal_mapped_size / 8) {
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;
}
return -ENOSPC;
--
2.17.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amdkfd: Use pr_debug to print the message of reaching event limit
2020-03-09 18:25 [PATCH] drm/amdkfd: Use pr_debug to print the message of reaching event limit Yong Zhao
@ 2020-03-09 19:30 ` Felix Kuehling
0 siblings, 0 replies; 2+ messages in thread
From: Felix Kuehling @ 2020-03-09 19:30 UTC (permalink / raw)
To: Yong Zhao, amd-gfx
On 2020-03-09 14:25, Yong Zhao wrote:
> People are inclined to think of the previous pr_warn message as an
> error, so use pre_debug instead.
>
> Change-Id: I3ac565a2bd3b8d57345812104c872183898d237f
> Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Thanks,
Felix
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_events.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.c b/drivers/gpu/drm/amd/amdkfd/kfd_events.c
> index 1f8365575b12..15476fca8fa6 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_events.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_events.c
> @@ -187,7 +187,7 @@ static int create_signal_event(struct file *devkfd,
> if (p->signal_mapped_size &&
> p->signal_event_count == p->signal_mapped_size / 8) {
> 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;
> }
> return -ENOSPC;
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-09 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-09 18:25 [PATCH] drm/amdkfd: Use pr_debug to print the message of reaching event limit Yong Zhao
2020-03-09 19:30 ` Felix Kuehling
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.