drm/amdgpu: add lock option for smu_set_soft_freq_range()
authorChengming Gui <Jack.Gui@amd.com>
Fri, 28 Feb 2020 06:54:50 +0000 (14:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:27:38 +0000 (00:27 -0500)
commit31faff1a1c2df06be0d7dfb083051675addcbff9
tree19fb8d430b5fcc79ccb62184eaf6e0bb9dcf5cfe
parent5b2b2416faf378b882ff7488aa8e8de315a6b62c
drm/amdgpu: add lock option for smu_set_soft_freq_range()

Add lock_needed param for smu_set_soft_freq_range()

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/renoir_ppt.c