OSDN Git Service

drm/amd/powerplay: add interface to init smc tables (v2)
authorHuang Rui <ray.huang@amd.com>
Tue, 4 Dec 2018 09:42:08 +0000 (17:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:54 +0000 (15:03 -0500)
commitcabd44c064c84064292508a58c97f4e9ad9a6409
treed88416ff08e84092d20467aa755b238afe440c95
parentb56240005f0cc1663ec290819497f85bd4367c62
drm/amd/powerplay: add interface to init smc tables (v2)

This patch adds interface to init smc tables for smu. It is to create smu_table
structure, and init smc tables such as TABLE_PPTABLE, TABLE_WATERMARKS,
TABLE_SMU_METRICS, and etc.

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