OSDN Git Service

drm/amd/powerplay: set defalut dpm table for smu
authorLikun Gao <Likun.Gao@amd.com>
Thu, 20 Dec 2018 12:31:55 +0000 (20:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commitd6a4aa825a65ee7ec0293666fd1572e4621ad13d
tree3b62539d79f3a6d03e6416af2f140456e1187ab9
parente1c6f86a915f7c3f6bba7a72713f9e61221dafe4
drm/amd/powerplay: set defalut dpm table for smu

Add smu_set_default_dpm_table function to set dpm table for smu11.
Modified the sequence to populate smc pptable, as it should be done after
related dpm feature is enabled.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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
drivers/gpu/drm/amd/powerplay/vega20_ppt.c