Commit 26b5cf26 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher
Browse files

drm/amd/display: add setup_stereo for dcn4x or later



[why]
stereo_sync pin is removed, but we still support display stereo

Reviewed-by: default avatarOvidiu (Ovi) Bunea <ovidiu.bunea@amd.com>
Signed-off-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Signed-off-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: default avatarDan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 06fee4fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+2 −0
Original line number Diff line number Diff line
@@ -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__ */