]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebcdb10a574ca28f31563aceb1de79142e0d4921
treeb9bcf909a219c0208098a08cd645a4a00654ae49
parent57bdac1f6669a1e29c819d8fd9a35adc56a80130
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