1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30
Alvin Lee be6ccdf861 drm/amd/display: Don't compare dppclk before updating DTO
[Why]
In dcn3_update_clocks there are situations where dppclk is not
lowered (i.e. stays the same), but DTO still needs to be increased
before we program pipe frontend (i.e. in prepare_bandwidth). If we
don't program the new DTO value before we program the pipe,
we will underflow as soon as the pipe lock is released until the
next call to dcn3_update_clocks where the DTO is updated.

[How]
Remove dppclk check before programming new DTO value.

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-07-27 16:23:34 -04:00
..
dalsmc.h drm/amd/display: Add DCN3 CLK_MGR 2020-07-01 01:59:14 -04:00
dcn30_clk_mgr.c drm/amd/display: Don't compare dppclk before updating DTO 2020-07-27 16:23:34 -04:00
dcn30_clk_mgr.h drm/amd/display: Add DCN3 CLK_MGR 2020-07-01 01:59:14 -04:00
dcn30_clk_mgr_smu_msg.c drm/amd/display: Add logger for SMU msg 2020-07-08 09:02:31 -04:00
dcn30_clk_mgr_smu_msg.h drm/amd/display: Add DCN3 CLK_MGR 2020-07-01 01:59:14 -04:00