drm/amd/pm: add two new sysfs nodes for vangogh
authorXiaojian Du <Xiaojian.Du@amd.com>
Wed, 16 Dec 2020 06:44:10 +0000 (14:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:30:00 +0000 (11:30 -0500)
commit9577b0ec2be8410b94e9928f25b740b55de2c13d
treef07ede99d4de3dfadbd3cdf9743503cce4554e59
parent54800b589dabe3bbadf87664fd5731d907c7c610
drm/amd/pm: add two new sysfs nodes for vangogh

This patch is to add two new sysfs nodes for vangogh:
pp_dpm_dclk and pp_dpm_vclk.
The two sysfs nodes are similar to pp_dpm_fclk/memclk/socclk.
pp_dpm_dclk represents the DPM frequency of dcn unit.
pp_dpm_vclk represents the DPM frequency of vcn unit.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c