drm/amd/pp: Remove duplicate code in vega12_hwmgr.c
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 20 Jun 2018 05:36:58 +0000 (13:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:39:57 +0000 (16:39 -0500)
commit860c15e903327f9af269d2ee7011454624dfcb90
treed7506a5e476f63b7b20198299e4709a4439094ce
parent99c5e27d3368eb92476f47530355a6f25bf486e8
drm/amd/pp: Remove duplicate code in vega12_hwmgr.c

use smu_helper function smu_set_watermarks_for_clocks_ranges
in vega12_set_watermarks_for_clocks_ranges.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c