From: Nicholas Kazlauskas <nicholas.kazlaus...@amd.com>

[Why]
To reduce the handshake overhead for static screen and video playback.

[How]
Flip the debug option to enable by default.

Reviewed-by: Duncan Ma <duncan...@amd.com>
Acked-by: Wayne Lin <wayne....@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlaus...@amd.com>
---
 drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c 
b/drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c
index a8f4023ff3b1..4ba234b01f04 100644
--- a/drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c
@@ -785,6 +785,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        .ips2_entry_delay_us = 800,
        .disable_dmub_reallow_idle = true,
        .static_screen_wait_frames = 2,
+       .optimize_ips_handshake = true,
 };
 
 static const struct dc_panel_config panel_config_defaults = {
-- 
2.37.3

Reply via email to