drm/amd/pm: add support to get dpm clock value for yellow carp
authorXiaomeng Hou <Xiaomeng.Hou@amd.com>
Fri, 5 Mar 2021 07:26:24 +0000 (15:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:20 +0000 (16:03 -0400)
commita831bafa00c390e99d204bf4eaf45ddc47de7e0d
treea9514f62cd3f1376f26a2886810873570c582c2a
parentd54e9e70f5e86e510eac888a683587136455444e
drm/amd/pm: add support to get dpm clock value for yellow carp

Implement the sysfs API for getting values of pp dpm
clocks(pp_dpm_socclk/mclk/fclk/vclk/dclk) for yellow carp.

Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c