mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Wesley Chalmers 3b6df06f01 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>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-07-10 09:02:07 -04:00
..
amdgpu_dm drm/amd/display: Clean up warnings in amdgpu_dm _mst_types, _plane, _psr.c 2023-07-07 13:51:47 -04:00
dc drm/amd/display: Block optimize on consecutive FAMS enables 2023-07-10 09:02:07 -04:00
dmub drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix 2023-06-30 13:11:36 -04:00
include drm/amd/display: fix compilation error due to shifting negative value 2023-06-09 12:38:19 -04:00
modules Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON" 2023-06-30 13:11:36 -04:00
Kconfig Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2023-06-15 14:11:22 +10:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO