Skip to contentSkip to conversation

drm/amdgpu: Print client id for the unregistered interrupt resource

PATCH In review Ma Jun 2 participants 2 messages Jun 9, 2023

Subsystems (2)
lore
Share & tools
lore

Ma Jun

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Print client id for the unregistered interrupt resource

Modify the debug information and print the clien id for these interrupts as well.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +2 -1
index b0808c1be013..e6edc67ef010 100644
@@ -486,7 +486,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 */
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

[Public]

________________________________
From: Ma, Jun <[email protected]>
Sent: Friday, June 9, 2023 1:52 AM
To: [email protected] <[email protected]>; Koenig, Christian <[email protected]>; Deucher, Alexander <[email protected]>
Cc: Ma, Jun <[email protected]>; Ma, Jun <[email protected]>
Subject: [PATCH] drm/amdgpu: Print client id for the unregistered interrupt resource

Modify the debug information and print the clien id for these interrupts as well.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +2 -1
index b0808c1be013..e6edc67ef010 100644
@@ -486,7 +486,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 */

--
2.34.1