summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorHuang, Leon <Leon.Huang1@amd.com>2026-09-02 23:02:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-09-23 13:11:10 -0400
commit258403174db4e92cd90ea0f04989b9a2ba8fca31 (patch)
tree00fdd4cbd6c61230ae99bc42c01715fcce8d094b /drivers/gpu
parentec30a576c2d4c0364549e6c04218f50704ef56c8 (diff)
downloadlinux-next-258403174db4e92cd90ea0f04989b9a2ba8fca31.tar.gz
linux-next-258403174db4e92cd90ea0f04989b9a2ba8fca31.zip
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 <robin.chen@amd.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Leon Huang <Leon.Huang1@amd.com> Signed-off-by: George Zhang <george.zhang@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h2
1 files changed, 2 insertions, 0 deletions
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.