]> 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)
commit62ec03e5e8ac2e9690a662a403e124ff449326e9
treee513fc8e358ce38b32d0d5173733f47ba54611f3
parentd88628002d016dcf562425e30c45cd546e209fb5
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