OSDN Git Service

drm/amd/pm: add sysfs node vclk1 and dclk1
authorTong Liu01 <Tong.Liu01@amd.com>
Thu, 30 Mar 2023 03:07:08 +0000 (11:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 Mar 2023 15:18:55 +0000 (11:18 -0400)
commitd7001e7285f933584788edefb7350dd5a09a7463
treec77e96dd5394dfc69bd3db420ac384f90fd43bc3
parentfac7c51d62f3536a66e47f3da076803016cc355f
drm/amd/pm: add sysfs node vclk1 and dclk1

User can check pp_dpm_vclk1 and pp_dpm_dclk1 for DPM frequency of
vcn and dcn

Signed-off-by: Tong Liu01 <Tong.Liu01@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/swsmu/amdgpu_smu.c