diff options
author | Wesley Chalmers <Wesley.Chalmers@amd.com> | 2023-05-31 13:29:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-10 09:02:07 -0400 |
commit | 3b6df06f01cdbff3b610b492ad4879691afdc70d (patch) | |
tree | 2174a5d47821db18916bcbb6c2ad45de9881da9d /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c | |
parent | 09c8cbedba5fa85f15ac91ed74848aceff69f8e5 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c')
0 files changed, 0 insertions, 0 deletions