]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: add interface to populate smc pptable (v2)
authorHuang Rui <ray.huang@amd.com>
Tue, 4 Dec 2018 13:42:41 +0000 (21:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:54 +0000 (15:03 -0500)
commitc59baf91b93a201b605595ee2112665623eb0624
tree60d36f90e352eea8653148eecd1d379441009006
parent2f4052f6768db2da3d079721948ddf361987c8db
drm/amd/powerplay: add interface to populate smc pptable (v2)

This patch adds interface to populate smc pptable for smu.
It's to set initialized values (get from vbios) to dpm tables context such as
gfxclk, memclk, dcefclk, and etc. And enable the DPM feature for each type of
clks.

v2: add detailed info to describe this function

Signed-off-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