diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-01-29 18:07:01 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:19:45 -0500 |
commit | 8d81bce71deed6354f2035b613abf6e3033f34fb (patch) | |
tree | 42983837a1fd554ef6519c098afe32eb741003e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 6ab8555e04ecd2278fdca54c33a7ddac7d4ba5d2 (diff) |
drm/amdgpu: Get/set dgpu power cap via hwmon API
v2: change power unit to microWatt
Adust power limit through power1_cap
Get min/max power limit through power1_cap_min/power1_cap_max
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions