]> 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)
commit9e7a796885cb21289d44f2f2aa770ab75d735515
tree60d36f90e352eea8653148eecd1d379441009006
parentf5db027d77819eb33ff7255ae35b7e51c8feae97
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