Skip to contentSkip to conversation

drm/amdkfd: Add a message when SW scheduler is used

PATCH In review Yong Zhao 2 participants 2 messages Jan 10, 2020 – Jan 13, 2020

Subsystems (3)
lore
Share & tools
lore

Yong Zhao

author
#0 lore raw

PATCH 1/1 drm/amdkfd: Add a message when SW scheduler is used

SW scheduler is previously called non HW scheduler, or non HWS. This message is useful when triaging issues from dmesg.

Change-Id I625518c88c043df5f60409d1ca520e7fc032251f
---
 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +1 -0
index d7eb6ac37f62..2870553a2ce0 100644
@@ -934,6 +934,7 @@ static void uninitialize(struct device_queue_manager *dqm)
 
 static int start_nocpsch(struct device_queue_manager *dqm)
 {
+	pr_info("SW scheduler is used");
 	init_interrupts(dqm);
 	
 	if (dqm->dev->device_info->asic_family == CHIP_HAWAII)
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Yong Zhao

SW scheduler is previously called non HW scheduler, or non HWS. This message is useful when triaging issues from dmesg.

Change-Id I625518c88c043df5f60409d1ca520e7fc032251f
Quoted 23 lines
---
 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +1 -0
index d7eb6ac37f62..2870553a2ce0 100644
@@ -934,6 +934,7 @@ static void uninitialize(struct device_queue_manager *dqm)
 
 static int start_nocpsch(struct device_queue_manager *dqm)
 {
+	pr_info("SW scheduler is used");
 	init_interrupts(dqm);
 
 	if (dqm->dev->device_info->asic_family == CHIP_HAWAII)
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7Cray.huang%40amd.com%7C6b815ca66a604cf8bdc808d79602bf9c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637142810865612294&sdata=smKBx880vj61EOJ3iHXQdSCb3upww6EyHKjD3xfWdX4%3D&reserved=0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx