diff options
author | 2023-02-28 13:48:00 -0500 | |
---|---|---|
committer | 2023-04-18 16:28:51 -0400 | |
commit | 751e17147953bc30036b8fe0eaaf780b6951404c (patch) | |
tree | 2304532743c9741c7a2b59b3077d7be7d47b7b6f /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
parent | drm/amd/display: Do not set drr on pipe commit (diff) | |
download | wireguard-linux-751e17147953bc30036b8fe0eaaf780b6951404c.tar.xz wireguard-linux-751e17147953bc30036b8fe0eaaf780b6951404c.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h')
0 files changed, 0 insertions, 0 deletions