drm/amd/powerplay: move the function of get[set]_power_profile to asic file
authorKevin Wang <kevin1.wang@amd.com>
Thu, 30 May 2019 04:09:06 +0000 (23:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:25 +0000 (18:59 -0500)
commit667273c166e98e3e38e6ac1f2b69950309bc42a5
tree48d02f2cabf3a41e15e822f2efa959afb8a46b5f
parent940680c3b48a5d90896e638cb6ec3bf1a2cebcfa
drm/amd/powerplay: move the function of get[set]_power_profile to asic file

The callback of get[set]_power_profile is asic related function,
so move theme into vega20_ppt file.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c