diff options
author | 2023-12-08 18:49:19 -0500 | |
---|---|---|
committer | 2023-12-19 14:59:03 -0500 | |
commit | 85fce153995e177ca307786b4ecf190b4daa540c (patch) | |
tree | 21747f46863683bfaeaaafc263a099a593d8a4e8 /drivers/gpu/drm/amd/display/dc/dcn35 | |
parent | drm/amd/display: Fix hang/underflow when transitioning to ODM4:1 (diff) | |
download | linux-85fce153995e177ca307786b4ecf190b4daa540c.tar.gz linux-85fce153995e177ca307786b4ecf190b4daa540c.tar.bz2 linux-85fce153995e177ca307786b4ecf190b4daa540c.zip |
drm/amd/display: change static screen wait frame_count for ips
[Why]
the original wait for 2 static frames before enter static screen
was not good enough for IPS-enabled case since enter/exit takes more time.
[How]
Changed logic for hardcoded wait frame values.
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Allen Pan <allen.pan@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn35')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c index d594905eb246..a630aa77dcec 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c +++ b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c @@ -68,7 +68,7 @@ static const struct hw_sequencer_funcs dcn35_funcs = { .prepare_bandwidth = dcn35_prepare_bandwidth, .optimize_bandwidth = dcn35_optimize_bandwidth, .update_bandwidth = dcn20_update_bandwidth, - .set_drr = dcn10_set_drr, + .set_drr = dcn35_set_drr, .get_position = dcn10_get_position, .set_static_screen_control = dcn30_set_static_screen_control, .setup_stereo = dcn10_setup_stereo, |