aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDillon Varone <dillon.varone@amd.com>2024-03-21 13:49:43 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-09 23:32:26 -0400
commit953927587f37b731abdeabe46ad44a3b3ec67a52 (patch)
tree06ba942603f9e4825e8ff061b6c6f435d8f3413c
parent81901d8d0472e9a19d294ae1dea76b950548195d (diff)
downloadlinux-953927587f37b731abdeabe46ad44a3b3ec67a52.tar.gz
drm/amd/display: Do not recursively call manual trigger programming
[WHY&HOW] We should not be recursively calling the manual trigger programming function when FAMS is not in use. Cc: stable@vger.kernel.org Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c b/drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c
index f07a4c7e48bc23..52eab8fccb7f16 100644
--- a/drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c
+++ b/drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c
@@ -267,9 +267,6 @@ static void optc32_setup_manual_trigger(struct timing_generator *optc)
OTG_V_TOTAL_MAX_SEL, 1,
OTG_FORCE_LOCK_ON_EVENT, 0,
OTG_SET_V_TOTAL_MIN_MASK, (1 << 1)); /* TRIGA */
-
- // Setup manual flow control for EOF via TRIG_A
- optc->funcs->setup_manual_trigger(optc);
}
}