]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: add setup_stereo for dcn4x or later
authorCharlene Liu <Charlene.Liu@amd.com>
Mon, 12 Jan 2026 22:53:51 +0000 (17:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Jan 2026 23:10:51 +0000 (18:10 -0500)
[why]
stereo_sync pin is removed, but we still support display stereo

Reviewed-by: Ovidiu (Ovi) Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.h

index 8a23763ca98ec9074d514c725125ed20f034e88d..73f469ce7cdd5e47cc464367798b22db653b9367 100644 (file)
@@ -3474,7 +3474,7 @@ void dcn10_set_static_screen_control(struct pipe_ctx **pipe_ctx,
                                        triggers, params->num_frames);
 }
 
-static void dcn10_config_stereo_parameters(
+void dcn10_config_stereo_parameters(
                struct dc_stream_state *stream, struct crtc_stereo_flags *flags)
 {
        enum view_3d_format view_format = stream->view_format;
index 57d30ea225f2b67c77c05b4644d9cdf33d008de1..476095c5dd0cd0e6bc0beee9d100bd0bb2ada9d7 100644 (file)
@@ -217,5 +217,7 @@ void dcn10_update_visual_confirm_color(
 void dcn10_reset_surface_dcc_and_tiling(struct pipe_ctx *pipe_ctx,
                                        struct dc_plane_state *plane_state,
                                        bool clear_tiling);
+void dcn10_config_stereo_parameters(
+               struct dc_stream_state *stream, struct crtc_stereo_flags *flags);
 
 #endif /* __DC_HWSS_DCN10_H__ */