drm/amdkfd: Drop IH ring overflow message to dbg
authorKent Russell <kent.russell@amd.com>
Fri, 18 Feb 2022 21:59:23 +0000 (16:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Feb 2022 19:40:26 +0000 (14:40 -0500)
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@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c

index 9defdbbb4ff891575ff0de3f165993b0dad3522a..7041a6714baaba4392efd3b5d8b92ee08313e544 100644 (file)
@@ -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;