[PATCH] drm/amdkfd: Drop IH ring overflow message to dbg

Felix Kuehling felix.kuehling at amd.com
Fri Feb 18 22:05:42 UTC 2022


Am 2022-02-18 um 17:01 schrieb Kent Russell:
> When this was first implemented, overflows weren't expected in regular
> operations, and tests weren't in place to cause said overflow. Now there
> are cases where overflows occur with real workloads, but we know that
> the kernel can handle this robustly, so move the message to a debug
> message.
>
> Signed-off-by: Kent Russell <kent.russell at amd.com>

Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>


> ---
>   drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c b/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
> index 9defdbbb4ff8..7041a6714baa 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
> @@ -117,7 +117,7 @@ bool enqueue_ih_ring_entry(struct kfd_dev *kfd,	const void *ih_ring_entry)
>   	count = kfifo_in(&kfd->ih_fifo, ih_ring_entry,
>   				kfd->device_info.ih_ring_entry_size);
>   	if (count != kfd->device_info.ih_ring_entry_size) {
> -		dev_err_ratelimited(kfd_chardev(),
> +		dev_dbg_ratelimited(kfd_chardev(),
>   			"Interrupt ring overflow, dropping interrupt %d\n",
>   			count);
>   		return false;


More information about the amd-gfx mailing list