drm/amd/powerplay: add append_powerplay_table function
authorHuang Rui <ray.huang@amd.com>
Thu, 20 Dec 2018 15:06:08 +0000 (23:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:56 +0000 (15:03 -0500)
commitc58952737623ed39848a7a997ae0d7c6580a42bc
tree9014f15a17f4e0be58e31ec519efa3898d9cb698
parent0914f1c63510c7c55de2e727a7e0b6c80ee9ab4f
drm/amd/powerplay: add append_powerplay_table function

It needs to add append_powerplay_table function to program the smc_dpm_table for
PPTable_t.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kevin Wang <Kevin1.Wang@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