]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: implment sysfs feature status function in smu
authorKevin Wang <kevin1.wang@amd.com>
Thu, 25 Jul 2019 03:47:44 +0000 (11:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:48:32 +0000 (23:48 -0500)
commite48bbc95f386e1632a730cb1057e4b142b2970a9
tree314c88415d6f1f5d5136efda86c7ae6e45cc25cb
parent594d2325c4d8947b0f14e41860e036ffca31a39f
drm/amd/powerplay: implment sysfs feature status function in smu

1. Unified feature enable status format in sysfs
2. Rename ppfeature to pp_features to adapt other pp sysfs node name
3. this function support all asic, not asic related function.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Rui Huang <ray.huang@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
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c