diff options
author | Harry Wentland <[email protected]> | 2017-10-30 15:53:40 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-12-06 12:47:27 -0500 |
commit | 83c3e57bc4703c5955da9942d7e57bc26465c770 (patch) | |
tree | 17776c8a59ebf6d617fae53374f0201aa03637fa | |
parent | 073a45e824db22f47940e203dc63ad081e53e9df (diff) |
drm/amd/display: Both timing_sync and multisync need stream_count > 1
Previous code threw a warning about misleading indentation
Signed-off-by: Harry Wentland <[email protected]>
Reviewed-by: Mikita Lipski <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 01ec1edd1c69..f3496881caf4 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -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); |