drm/amd/pp: Adding set_watermarks_for_clocks_ranges for SMU10
authorMikita Lipski <[email protected]>
Tue, 10 Apr 2018 17:45:00 +0000 (13:45 -0400)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Rex Zhu <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.h