[PATCH 37/43] drm/amd/display: Enable optimized handshake for DCN35

Wayne Lin Wayne.Lin at amd.com
Tue Mar 12 09:20:30 UTC 2024


From: Nicholas Kazlauskas <nicholas.kazlauskas at 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.ma at amd.com>
Acked-by: Wayne Lin <wayne.lin at amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas at 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



More information about the amd-gfx mailing list