[PATCH 09/28] drm/amd/display: fix static screen detection setting for DCN35

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Thu Sep 14 02:00:02 UTC 2023


From: Sung-huai Wang <danny.wang at amd.com>

[Why & How]
set_static_screen_control has been updated for
DCN3 series. Update it for DCN35.

Reviewed-by: Anthony Koo <anthony.koo at amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo at amd.com>
Signed-off-by: Sung-huai Wang <danny.wang at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 fdbc3a7854c2..d68efe5c64a4 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 = {
 	.update_bandwidth = dcn20_update_bandwidth,
 	.set_drr = dcn10_set_drr,
 	.get_position = dcn10_get_position,
-	.set_static_screen_control = dcn10_set_static_screen_control,
+	.set_static_screen_control = dcn30_set_static_screen_control,
 	.setup_stereo = dcn10_setup_stereo,
 	.set_avmute = dcn30_set_avmute,
 	.log_hw_state = dcn10_log_hw_state,
-- 
2.40.1



More information about the amd-gfx mailing list