[PATCH 2/2] drm/amdgpu/pm: update hwmon power documentation
Alex Deucher
alexdeucher at gmail.com
Fri Jan 13 19:18:11 UTC 2023
Can someone review this patch (2/2)? 1/2 is superseded by Jesse's
patch, but this one still makes sense.
Thanks
On Thu, Jan 12, 2023 at 11:25 AM Alex Deucher <alexander.deucher at amd.com> wrote:
>
> Power reporting is socket power. On APUs this includes
> the CPU. Update the documentation to clarify this.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index 236657eece47..76b9ec64ca50 100644
> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> @@ -3059,7 +3059,7 @@ static ssize_t amdgpu_hwmon_show_mclk_label(struct device *dev,
> *
> * hwmon interfaces for GPU power:
> *
> - * - power1_average: average power used by the GPU in microWatts
> + * - power1_average: average power used by the SoC in microWatts. On APUs this includes the CPU.
> *
> * - power1_cap_min: minimum cap supported in microWatts
> *
> --
> 2.39.0
>
More information about the amd-gfx
mailing list