drm/amd/powerplay: add power consumption display support in debugfs
authorEric Huang <JinHuiEric.Huang@amd.com>
Tue, 24 Jan 2017 21:59:27 +0000 (16:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:53 +0000 (23:52 -0400)
commit4f9afc9bd23fce85f2022af50d0127a64121bb37
treea8ce6bdc1230be1f5405f2f4f6266addab7e14c3
parentcd7b0c66ce35e8693a0018b4ce0bc59f46f97bd1
drm/amd/powerplay: add power consumption display support in debugfs

The additional output are:
vddc power in Watt;
vddci power in Watt;
max gpu power in Watt;
average gpu power in Watt.

Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h