drm/amdgpu: Print client id for the unregistered interrupt resource
authorMa Jun <Jun.Ma2@amd.com>
Wed, 7 Jun 2023 09:19:14 +0000 (17:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 15:06:57 +0000 (11:06 -0400)
Modify the debug information and print the clien id for these
interrupts as well.

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c

index 3481d28..5273dec 100644 (file)
@@ -467,7 +467,8 @@ void amdgpu_irq_dispatch(struct amdgpu_device *adev,
                        handled = true;
 
        } else {
-               DRM_DEBUG("Unhandled interrupt src_id: %d\n", src_id);
+               DRM_DEBUG("Unregistered interrupt src_id: %d of client_id:%d\n",
+                       src_id, client_id);
        }
 
        /* Send it to amdkfd as well if it isn't already handled */