From 258403174db4e92cd90ea0f04989b9a2ba8fca31 Mon Sep 17 00:00:00 2001 From: "Huang, Leon" Date: Wed, 2 Sep 2026 23:02:50 +0800 Subject: [PATCH] drm/amd/display: Forward periodic ABM keep-alive scenario to DMU [Why & How] 1. The periodic ABM full-frame update for VESA PR is now owned by the DMU timer. 2. In PR_update_state, compute whether the current scenario allows the periodic keep-alive (not CTS, not front-buffer rendering, not force-full-frame, content actively updating) and forward it via the abm_periodic_ffu_allowed runtime flag only when it changes. Reviewed-by: Robin Chen Reviewed-by: Alex Hung Signed-off-by: Leon Huang Signed-off-by: George Zhang Tested-by: Dan Wheeler Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dc_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h index 01f7c9addc6c..7ff2152ff233 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_types.h @@ -1309,6 +1309,8 @@ struct replay_settings { uint16_t frame_skip_number; /* Current Panel Replay events */ uint32_t replay_events; + /* Last ABM periodic keep-alive FFU allowed bit sent to DMUB (VESA PR) */ + bool last_abm_periodic_ffu_allowed; }; /* To split out "global" and "per-panel" config settings.