]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: add interface to parse pptable (v2)
authorHuang Rui <ray.huang@amd.com>
Tue, 4 Dec 2018 13:34:43 +0000 (21:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:54 +0000 (15:03 -0500)
commit2f4052f6768db2da3d079721948ddf361987c8db
treef9a8f5af5d8d73060d211d56a7121840afaf5ae3
parent1e8f86d735fefbd7c2e93ec637439b426aa35934
drm/amd/powerplay: add interface to parse pptable (v2)

This patch adds interface to parse pptable for smu.
It's to parse pptable format and fill PPTable_t smc_pptable to smu_table_context
structure. And read the smc_dpm_table from vbios, then fill it into smc_pptable.

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