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)
commita68bec2ce7d6d89136b91160c3428caf683acb91
treee513fc8e358ce38b32d0d5173733f47ba54611f3
parent30671b44aa570a2953aead09999d13e3b5a24d30
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