]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Check minimum disp_clk and dpp_clk debug option
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 14 Jun 2022 13:04:53 +0000 (09:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 22:17:24 +0000 (18:17 -0400)
commit074efb5cadcb3c9e40d536a730318bfab3384cad
treea883f3ca07ad80805788ac95cd6d12c6f0caa9cb
parenta30e8c13e7affd6fe379c6bf213133b0f917d1bf
drm/amd/display: Check minimum disp_clk and dpp_clk debug option

Our debug struct has the min_disp_clk_khz and min_dpp_clk_khz options,
which we ignore in the DCN32. This commit introduces those checks and
the necessary calculation.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Aurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c