[PATCH 3/3] drm/amdgpu: add printing to indicate rpm completeness

Lazar, Lijo lijo.lazar at amd.com
Wed Nov 23 05:57:36 UTC 2022



On 11/23/2022 7:14 AM, Guchun Chen wrote:
> Add an explicit printing to tell when finishing rpm execution
> in amdgpu.
> 
> Signed-off-by: Guchun Chen <guchun.chen at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> index bf2d50c8c92a..fa42c0fcf848 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -2572,6 +2572,8 @@ static int amdgpu_pmops_runtime_suspend(struct device *dev)
>   		amdgpu_device_baco_enter(drm_dev);
>   	}
>   
> +	dev_info(&pdev->dev, "amdgpu finishes runtime suspend\n");
> +

This may be an annoyance. Maybe dev_dbg?

Series is:
	Reviewed-by: Lijo Lazar <lijo.lazar at amd.com>

Thanks,
Lijo

>   	return 0;
>   }
>   


More information about the amd-gfx mailing list