]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf98d073edf24ccf8cf0387f002833f20adf4b722
treef07ede99d4de3dfadbd3cdf9743503cce4554e59
parent668d49a02beac183aa11f3c2a5ee9c26ff168c60
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