]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit98eb03bbf0175f009a74c80ac12b91a9680292f4
tree314c88415d6f1f5d5136efda86c7ae6e45cc25cb
parent26dd668155b24eb24401aed9d73e2f9c7b694ea6
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