Commit 83c3e57b authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

drm/amd/display: Both timing_sync and multisync need stream_count > 1

Previous code threw a warning about misleading indentation
Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarMikita Lipski <Mikita.Lipski@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 073a45e8
......@@ -913,9 +913,10 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c
}
result = dc->hwss.apply_ctx_to_hw(dc, context);
if (context->stream_count > 1)
if (context->stream_count > 1) {
enable_timing_multisync(dc, context);
program_timing_sync(dc, context);
}
dc_enable_stereo(dc, context, dc_streams, context->stream_count);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment