]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: implement interface to set watermarks for clock ranges
authorHuang Rui <ray.huang@amd.com>
Thu, 17 Jan 2019 07:25:37 +0000 (15:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commitccc48818949e65e03131f80c5676264ec8d5c23e
tree199a080e19ff9d29ef7b92f65dd452d4ee0cc636
parentd969d60ff72949db44963b68391238915902ab2a
drm/amd/powerplay: implement interface to set watermarks for clock ranges

This patch implements inteferface to set watermarks table for clock ranges on
smu 11. It fills watermark table before it is written to SMC.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <Kevin1.Wang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c