]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: implement sysfs of pp_cur_state function
authorKevin Wang <Kevin1.Wang@amd.com>
Thu, 17 Jan 2019 05:29:06 +0000 (13:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:58 +0000 (15:03 -0500)
commitaa20bf3ad131f0287ba449a60489d1a4b93e8315
tree73e55e9a1d8f3757362ff51ecf2d9d03ceabbc81
parent74b049008d4c53409ba8a7941231321f39a4b4db
drm/amd/powerplay: implement sysfs of pp_cur_state function

add function of smu_get_currente_state for sw-smu.

v2: fix code typo error if (ret);

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-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/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h