]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Cap certain DML values for Low Pix Clk on DCN2.1
authorSung Lee <sung.lee@amd.com>
Wed, 25 Mar 2020 18:44:25 +0000 (14:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:48 +0000 (18:11 -0400)
commit1a68f710ff5b01cd40ddb8c7715b51cc2a5541e6
treee41d17b939b8c7ff0120e05ac5047e6f1fde8ee1
parentf59e46a1fba9073a64f9e4d6ce4a4c19f7684af8
drm/amd/display: Cap certain DML values for Low Pix Clk on DCN2.1

[WHY]
In certain conditions with low pixel clock, some values in DML may go
past the max due to margining for latency hiding. This causes assertions
to get hit.

[HOW]
If the pixel clock is low and some values are high, cap it to the max.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c