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

Quan, Evan Evan.Quan at amd.com
Wed Nov 23 07:36:51 UTC 2022


[AMD Official Use Only - General]



> -----Original Message-----
> From: Chen, Guchun <Guchun.Chen at amd.com>
> Sent: Wednesday, November 23, 2022 9:44 AM
> To: amd-gfx at lists.freedesktop.org; Deucher, Alexander
> <Alexander.Deucher at amd.com>; Zhang, Hawking
> <Hawking.Zhang at amd.com>; Lazar, Lijo <Lijo.Lazar at amd.com>; Quan, Evan
> <Evan.Quan at amd.com>
> Cc: Chen, Guchun <Guchun.Chen at amd.com>
> Subject: [PATCH 3/3] drm/amdgpu: add printing to indicate rpm
> completeness
> 
> 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");
[Quan, Evan] Maybe better with something like "asic/device is runtime suspended". 
Anyway, the series is Reviewed-by: Evan Quan <evan.quan at amd.com>

Evan
> +
>  	return 0;
>  }
> 
> --
> 2.25.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 15746 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20221123/93fa4214/attachment-0001.bin>


More information about the amd-gfx mailing list