]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: update dpp dto phase and modulo.
authorYongqiang Sun <yongqiang.sun@amd.com>
Mon, 26 Oct 2020 16:33:24 +0000 (12:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 19:25:38 +0000 (14:25 -0500)
commit700c527a2c15f162b6e81db51d1afcb439efa94f
treede356f48949e4c740b236539cbe607a43ec49b64
parent71f54a10d5f10ba2ae934958a2f8ba7146369a65
drm/amd/display: update dpp dto phase and modulo.

[Why & How]
Program modulo with ref dpp clk Mhz/10.
Program phase with pipe dpp clk Mhz /10.
DMUB FW could use these value to determine optimization clk
for PSR power saving.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dcn21/Makefile
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c