From: "Huang, Leon" <[email protected]> [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 <[email protected]> Reviewed-by: Alex Hung <[email protected]> Signed-off-by: Leon Huang <[email protected]> Signed-off-by: George Zhang <[email protected]> --- 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. -- 2.55.0
