* [PATCH] drm/amdkfd: Add a message when SW scheduler is used
@ 2020-01-10 19:24 Yong Zhao
2020-01-13 2:57 ` Huang Rui
0 siblings, 1 reply; 2+ messages in thread
From: Yong Zhao @ 2020-01-10 19:24 UTC (permalink / raw)
To: amd-gfx; +Cc: 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
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
---
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
index d7eb6ac37f62..2870553a2ce0 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
@@ -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)
--
2.17.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amdkfd: Add a message when SW scheduler is used
2020-01-10 19:24 [PATCH] drm/amdkfd: Add a message when SW scheduler is used Yong Zhao
@ 2020-01-13 2:57 ` Huang Rui
0 siblings, 0 replies; 2+ messages in thread
From: Huang Rui @ 2020-01-13 2:57 UTC (permalink / raw)
To: Yong Zhao; +Cc: amd-gfx
On Fri, Jan 10, 2020 at 02:24:29PM -0500, Yong Zhao wrote:
> SW scheduler is previously called non HW scheduler, or non HWS. This
> message is useful when triaging issues from dmesg.
>
> Change-Id: I625518c88c043df5f60409d1ca520e7fc032251f
> Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> index d7eb6ac37f62..2870553a2ce0 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> @@ -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)
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> 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
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-13 2:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 19:24 [PATCH] drm/amdkfd: Add a message when SW scheduler is used Yong Zhao
2020-01-13 2:57 ` Huang Rui
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.