]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: implement the processor clocks which read by metric
authorHuang Rui <ray.huang@amd.com>
Thu, 7 Jan 2021 10:42:34 +0000 (18:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:52:51 +0000 (23:52 -0500)
commitc6186830b574d2d8bcbaa58f2339d47bf397174f
treef4504859e8879dedc4497d0fdce05919f8cdea9b
parent6d49e622eccd087b67c07a60b1d0c00bab1ad567
drm/amd/pm: implement the processor clocks which read by metric

The core processor clocks will be stored in smu metric table, then we
add this runtime information into amdgpu_pm_info interface.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/pm/amdgpu_pm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c