]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu/pm: Enable sysfs nodes for vclk and dclk for NAVI12
authorMarko Zekovic <Marko.Zekovic@amd.com>
Mon, 28 Mar 2022 10:37:30 +0000 (12:37 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Apr 2022 14:26:28 +0000 (10:26 -0400)
commit3ab17f0a34c8ae1cbefdb9e296d01f9e18036129
treee513fc8e358ce38b32d0d5173733f47ba54611f3
parent5b6bcc70eee2993e83570ccd394f06378cf47cee
amdgpu/pm: Enable sysfs nodes for vclk and dclk for NAVI12

SMI clock measure API is failing on NAVI12, because
sysfs node for pp_dpm_vclk is not existing. Enable
sysfs node for pp_dpm_vclk for NAVI12.

v2: Also enable sysfs node for pp_dpm_dclk.

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Marko Zekovic <Marko.Zekovic@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c