From: Alex Deucher Date: Thu, 12 Jan 2023 16:18:52 +0000 (-0500) Subject: drm/amdgpu/pm: update hwmon power documentation X-Git-Tag: v6.3-rc1~28^2~24^2~38 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=29f5be8dcc73c19de9a27ff21f044c4d7942abe6;p=tomoyo%2Ftomoyo-test1.git drm/amdgpu/pm: update hwmon power documentation Power reporting is socket power. On APUs this includes the CPU. Update the documentation to clarify this. Reviewed-by: Aaron Liu Reviewed-by: Evan Quan Signed-off-by: Alex Deucher --- 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 *