drm/amd/pp: Adding set_watermarks_for_clocks_ranges for SMU10
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 10 Apr 2018 17:45:00 +0000 (13:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:20 +0000 (13:43 -0500)
commit03a27de648d8a2b2bf59a7f467855fac2d850350
treeb9bcf909a219c0208098a08cd645a4a00654ae49
parent361883649221f975d915e4bc79907da71017f38f
drm/amd/pp: Adding set_watermarks_for_clocks_ranges for SMU10

The function is never implemented for raven on linux.
It follows similair implementation as on windows.

SMU still needs to notify SMC and copy WM table, which is added
here. But on other Asics such as Vega this step is not implemented.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.h