aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h
diff options
context:
space:
mode:
authorAnthony Koo <Anthony.Koo@amd.com>2019-12-09 17:26:34 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-01-16 14:16:08 -0500
commit5b5abe9526073ccbf3032d27b5864520829cdd9c (patch)
tree463af72328d69cda99084b76e8eec69ac171fac3 /drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h
parentdrm/amd/display: 3.2.67 (diff)
downloadlinux-dev-5b5abe9526073ccbf3032d27b5864520829cdd9c.tar.xz
linux-dev-5b5abe9526073ccbf3032d27b5864520829cdd9c.zip
drm/amd/display: make PSR static screen entry within 30 ms
[Why] With different refresh rate panels, the PSR entry/exit time is different since it is dependent on 2 frame entry time today [How] Make static screen num frame entry time to be calculated such that entry time is within 30 ms instead of fixed num frames. Signed-off-by: Anthony Koo <Anthony.Koo@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h
index 768ccf27ada9..d8a5ed7b485d 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h
@@ -231,7 +231,8 @@ void dce110_timing_generator_set_drr(
void dce110_timing_generator_set_static_screen_control(
struct timing_generator *tg,
- uint32_t value);
+ uint32_t event_triggers,
+ uint32_t num_frames);
void dce110_timing_generator_get_crtc_scanoutpos(
struct timing_generator *tg,