mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Include scaling factor for SubVP command 2022-08-16 18:14:20 -04:00
bios drm/amd: Fix an out of bounds error in BIOS parser 2023-04-11 18:03:43 -04:00
clk_mgr drm/amd/display: On clock init, maintain DISPCLK freq 2023-04-11 18:03:35 -04:00
core drm/amd/display: remove unused matching_stream_ptrs variable 2023-04-11 18:03:44 -04:00
dce drm/amd/display: Add 90Mhz to video_optimized_pixel_rates 2023-03-31 11:18:54 -04:00
dce60 drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings 2023-03-22 00:48:00 -04:00
dce80 drm/amd/display: prevent memory leak 2022-10-27 15:12:08 -04:00
dce100 drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
dce110 drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dce112 drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
dce120 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN 2022-11-23 09:47:13 -05:00
dcn10 drm/amd/display: set variables aperture_default_system and context0_default_system storage-class-specifier to static 2023-04-11 18:03:44 -04:00
dcn20 drm/amd/display: Block optimize on consecutive FAMS enables 2023-04-26 22:27:26 -04:00
dcn21 drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn30 drm/amd/display: Block optimize on consecutive FAMS enables 2023-04-26 22:27:26 -04:00
dcn31 drm/amd/display: Improve robustness of FIXED_VS link training at DP1 rates 2023-04-11 18:03:43 -04:00
dcn32 drm/amd/display: Adjust code identation and other minor details 2023-04-18 16:28:50 -04:00
dcn201 drm/amd/display: remove legacy fields of dc_plane_cap struct 2023-03-08 14:05:31 -05:00
dcn301 drm/amd/display: Set MPC_SPLIT_DYNAMIC for DCN301 2023-03-22 01:00:19 -04:00
dcn302 drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn303 drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn314 drm/amd/display: set variable dccg314_init storage-class-specifier to static 2023-04-18 16:28:51 -04:00
dcn315 drm/amd/display: remove legacy fields of dc_plane_cap struct 2023-03-08 14:05:31 -05:00
dcn316 drm/amd/display: remove legacy fields of dc_plane_cap struct 2023-03-08 14:05:31 -05:00
dcn321 drm/amd/display: On clock init, maintain DISPCLK freq 2023-04-11 18:03:35 -04:00
dml drm/amd/display: Use pointer in the memcpy 2023-04-18 16:28:51 -04:00
dsc drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
gpio drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
hdcp drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
inc drm/amd/display: On clock init, maintain DISPCLK freq 2023-04-11 18:03:35 -04:00
irq drm/amd/display: Turn global functions into static 2023-02-15 22:24:30 -05:00
link drm/amd/display: Add logging when DP link training Clock recovery is Successful 2023-04-14 13:47:49 -04:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h drm/amd/display: Skip backlight control delay on external powered links 2023-01-17 15:40:28 -05:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: Add FPO + VActive support 2023-04-11 18:03:35 -04:00
dc_dmub_srv.h drm/amd/display: Use the same cursor info across features 2022-10-10 17:32:55 -04:00
dc_dp_types.h drm/amd/display: Add support for 6.75 GBps link rate 2023-03-31 11:18:54 -04:00
dc_dsc.h drm/amd/display: fix typo in dc_dsc_config_options structure 2023-03-07 14:22:39 -05:00
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in 2023-03-22 00:47:59 -04:00
dc_helper.c
dc_hw_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
dc_stat.h
dc_stream.h drm/amd/display: Use per pipe P-State force for FPO 2023-03-31 11:18:54 -04:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: hpd rx irq not working with eDP interface 2023-03-15 18:45:13 -04:00
dc.h drm/amd/display: 3.2.230 2023-04-11 18:03:43 -04:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
dm_pp_smu.h
dm_services_types.h
dm_services.h
irq_types.h
Makefile drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
os_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00