Skip to content

Commit 0524dd3

Browse files
Dennis Chanalexdeucher
Dennis Chan
authored andcommitted
drm/amd/display: Revised for Replay Pseudo vblank control
[why & how] Revised Replay Full screen video Pseudo vblank control. Reviewed-by: Allen Li <[email protected]> Signed-off-by: Dennis Chan <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 4e5a9bc commit 0524dd3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

drivers/gpu/drm/amd/display/dc/dc_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,8 +1145,8 @@ struct replay_settings {
11451145
uint32_t defer_update_coasting_vtotal_table[PR_COASTING_TYPE_NUM];
11461146
/* Maximum link off frame count */
11471147
uint32_t link_off_frame_count;
1148-
/* Replay pseudo vtotal for abm + ips on full screen video which can improve ips residency */
1149-
uint16_t abm_with_ips_on_full_screen_video_pseudo_vtotal;
1148+
/* Replay pseudo vtotal for low refresh rate*/
1149+
uint16_t low_rr_full_screen_video_pseudo_vtotal;
11501150
/* Replay last pseudo vtotal set to DMUB */
11511151
uint16_t last_pseudo_vtotal;
11521152
/* Replay desync error */

drivers/gpu/drm/amd/display/modules/power/power_helpers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,9 +996,9 @@ void set_replay_coasting_vtotal(struct dc_link *link,
996996
link->replay_settings.coasting_vtotal_table[type] = vtotal;
997997
}
998998

999-
void set_replay_ips_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal)
999+
void set_replay_low_rr_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal)
10001000
{
1001-
link->replay_settings.abm_with_ips_on_full_screen_video_pseudo_vtotal = vtotal;
1001+
link->replay_settings.low_rr_full_screen_video_pseudo_vtotal = vtotal;
10021002
}
10031003

10041004
void calculate_replay_link_off_frame_count(struct dc_link *link,

drivers/gpu/drm/amd/display/modules/power/power_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void set_replay_defer_update_coasting_vtotal(struct dc_link *link,
6262
uint32_t vtotal);
6363
void update_replay_coasting_vtotal_from_defer(struct dc_link *link,
6464
enum replay_coasting_vtotal_type type);
65-
void set_replay_ips_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal);
65+
void set_replay_low_rr_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal);
6666
void calculate_replay_link_off_frame_count(struct dc_link *link,
6767
uint16_t vtotal, uint16_t htotal);
6868

0 commit comments

Comments
 (0)