]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/powerplay: implement sensor of get_gpu_power for smu11
authorKevin Wang <Kevin1.Wang@amd.com>
Wed, 16 Jan 2019 05:27:52 +0000 (13:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:58 +0000 (15:03 -0500)
commit2c272452affed210f0abb60d6f908f1d7b453eed
tree60ba54d955bb23dce8eef997abe2686e2dcbf6cd
parent2f613c7068e5ff6ec8b2ed32826b466ed676c0a1
drm/amd/powerplay: implement sensor of get_gpu_power for smu11

add sensor interface of get gpu power for debugfs and hwmon.

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c