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

Huang Rui ray.huang at amd.com
Mon Jan 13 02:57:32 UTC 2020


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 at amd.com>

Acked-by: Huang Rui <ray.huang at 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 at 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


More information about the amd-gfx mailing list