drm/amd/powerplay: move smu_feature_update_enable_state to up level
authorKevin Wang <kevin1.wang@amd.com>
Thu, 25 Jul 2019 03:57:25 +0000 (11:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:48:32 +0000 (23:48 -0500)
commit26dd668155b24eb24401aed9d73e2f9c7b694ea6
tree6d51b980c1cbf14b111ea61372f0c2eaf4997846
parentcb33363d0e85341c8781d9095341a981ab410a80
drm/amd/powerplay: move smu_feature_update_enable_state to up level

this function is not ip or asic related function,
so move it to top level as public api in smu.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c