mirror-linux/drivers/gpu/drm/amd/display/dc/dcn20
Wesley Chalmers ce560ac402 drm/amd/display: Block optimize on consecutive FAMS enables
[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>
2023-04-26 22:27:26 -04:00
..
Makefile
dcn20_dccg.c
dcn20_dccg.h drm/amd/display: add dscclk instance offset check 2023-04-11 18:03:35 -04:00
dcn20_dpp.c
dcn20_dpp.h
dcn20_dpp_cm.c
dcn20_dsc.c drm/amd/display: change several dcn20 variables storage-class-specifier to static 2023-03-07 14:22:42 -05:00
dcn20_dsc.h
dcn20_dwb.c drm/amd/display: change several dcn20 variables storage-class-specifier to static 2023-03-07 14:22:42 -05:00
dcn20_dwb.h drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00
dcn20_dwb_scl.c
dcn20_hubbub.c drm/amd/display: Fix spelling mistake: "dram_clk_chanage" -> "dram_clk_change" 2022-12-09 16:50:30 -05:00
dcn20_hubbub.h
dcn20_hubp.c drm/amd/display: Fix rotated cursor offset calculation 2022-11-23 09:47:14 -05:00
dcn20_hubp.h
dcn20_hwseq.c drm/amd/display: Block optimize on consecutive FAMS enables 2023-04-26 22:27:26 -04:00
dcn20_hwseq.h
dcn20_init.c
dcn20_init.h
dcn20_link_encoder.c drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn20_link_encoder.h
dcn20_mmhubbub.c drm/amd/display: change several dcn20 variables storage-class-specifier to static 2023-03-07 14:22:42 -05:00
dcn20_mmhubbub.h drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00
dcn20_mpc.c drm/amd/display: change several dcn20 variables storage-class-specifier to static 2023-03-07 14:22:42 -05:00
dcn20_mpc.h
dcn20_opp.c
dcn20_opp.h
dcn20_optc.c drm/amd/display: Add a missing hook to DCN20 2022-10-10 17:32:55 -04:00
dcn20_optc.h
dcn20_resource.c Revert "drm/amdgpu/display: change pipe policy for DCN 2.0" 2023-03-22 01:06:41 -04:00
dcn20_resource.h
dcn20_stream_encoder.c drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn20_stream_encoder.h
dcn20_vmid.c
dcn20_vmid.h drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00