]> git.baikalelectronics.ru Git - kernel.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)
commita6a829c8f3fb88dd9e302ff39c1ced8a537b4187
tree60ba54d955bb23dce8eef997abe2686e2dcbf6cd
parent0e789581aff1e58058c1a321acfbdff043f359f6
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