From: Harry VanZyllDeJong <[email protected]> [Why] The shared FreeSync Replay inactive mask omits the stream regeneration wait event. Replay can become eligible before the regeneration wait period expires after stream enable.
[How] Include the regeneration wait in the inactive mask. Exercise the public event API to verify nominal coasting while waiting and restoration of static-screen coasting after the event clears. Cc: Leon Huang <[email protected]> Cc: Mario Limonciello <[email protected]> Cc: Alex Deucher <[email protected]> Cc: [email protected] Signed-off-by: Harry VanZyllDeJong <[email protected]> Signed-off-by: James Lin <[email protected]> --- drivers/gpu/drm/amd/display/modules/power/power_replay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/modules/power/power_replay.c b/drivers/gpu/drm/amd/display/modules/power/power_replay.c index fcfb6066066c..6b1955ff2109 100644 --- a/drivers/gpu/drm/amd/display/modules/power/power_replay.c +++ b/drivers/gpu/drm/amd/display/modules/power/power_replay.c @@ -232,6 +232,7 @@ static bool mod_power_update_replay_active_status(unsigned int active_replay_eve replay_event_sleep_resume | replay_event_disable_in_AC | replay_event_disable_replay_while_detect_display | + replay_event_waiting_stream_regen | replay_event_infopacket | replay_event_crc_window_active)) return false; -- 2.43.0
