diff options
| author | ChunTao Tso <[email protected]> | 2024-05-13 05:48:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-14 19:34:02 +0000 |
| commit | 57a0d65bd1d0bb22c9a73ddf61e91b3478706522 (patch) | |
| tree | b133dfddc3ec678d78098346f704b4c39e16fd38 /drivers/gpu/drm/amd/display/modules/power/power_helpers.h | |
| parent | drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_p... (diff) | |
| download | kernel-57a0d65bd1d0bb22c9a73ddf61e91b3478706522.tar.gz kernel-57a0d65bd1d0bb22c9a73ddf61e91b3478706522.zip | |
drm/amd/display: Introduce deferred Replay coasting vtotal update
Add functions to defer updating of coasting vtotal after source refresh rate update.
Reviewed-by: Robin Chen <[email protected]>
Acked-by: Zaeem Mohamed <[email protected]>
Signed-off-by: ChunTao Tso <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/modules/power/power_helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h index ff7e6f3cd6be..cac302e8fa10 100644 --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h @@ -57,6 +57,11 @@ void init_replay_config(struct dc_link *link, struct replay_config *pr_config); void set_replay_coasting_vtotal(struct dc_link *link, enum replay_coasting_vtotal_type type, uint32_t vtotal); +void set_replay_defer_update_coasting_vtotal(struct dc_link *link, + enum replay_coasting_vtotal_type type, + uint32_t vtotal); +void update_replay_coasting_vtotal_from_defer(struct dc_link *link, + enum replay_coasting_vtotal_type type); void set_replay_ips_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal); void calculate_replay_link_off_frame_count(struct dc_link *link, uint16_t vtotal, uint16_t htotal); |
