[WHY] It is possible to commit state multiple times in rapid succession with FAMS enabled; if each of these commits were to set optimized_required, then the user may see latency. [HOW] fw_based_mclk_switching is currently not used in dc->clk_mgr; use it to track whether the current state has FAMS enabled; if it has, then do not disable FAMS in prepare_bandwidth, and do not set optimized_required. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| dcn20_dccg.c | ||
| dcn20_dccg.h | ||
| dcn20_dpp.c | ||
| dcn20_dpp.h | ||
| dcn20_dpp_cm.c | ||
| dcn20_dsc.c | ||
| dcn20_dsc.h | ||
| dcn20_dwb.c | ||
| dcn20_dwb.h | ||
| dcn20_dwb_scl.c | ||
| dcn20_hubbub.c | ||
| dcn20_hubbub.h | ||
| dcn20_hubp.c | ||
| dcn20_hubp.h | ||
| dcn20_hwseq.c | ||
| dcn20_hwseq.h | ||
| dcn20_init.c | ||
| dcn20_init.h | ||
| dcn20_link_encoder.c | ||
| dcn20_link_encoder.h | ||
| dcn20_mmhubbub.c | ||
| dcn20_mmhubbub.h | ||
| dcn20_mpc.c | ||
| dcn20_mpc.h | ||
| dcn20_opp.c | ||
| dcn20_opp.h | ||
| dcn20_optc.c | ||
| dcn20_optc.h | ||
| dcn20_resource.c | ||
| dcn20_resource.h | ||
| dcn20_stream_encoder.c | ||
| dcn20_stream_encoder.h | ||
| dcn20_vmid.c | ||
| dcn20_vmid.h | ||