]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53000ff12aa927b48f0e7d181aa40385d8e7736d
tree3b62539d79f3a6d03e6416af2f140456e1187ab9
parentd2db377681e061cc60c9e1590be56ff99a0bd67a
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