Commit b0fcf88b authored by Leo Chen's avatar Leo Chen Committed by Alex Deucher
Browse files

drm/amd/display: Adding braces to prepare for future changes to behavior of if block



[Why & How]
For certain features, there will be more implementations needed in the if-block.
Braces are added as part of the preparation.

Acked-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarLeo Chen <sancchen@amd.com>
Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6ffa6799
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2008,8 +2008,9 @@ bool dc_commit_state(struct dc *dc, struct dc_state *context)
		return result == DC_OK;
	}

	if (!streams_changed(dc, context->streams, context->stream_count))
	if (!streams_changed(dc, context->streams, context->stream_count)) {
		return DC_OK;
	}

	DC_LOG_DC("%s: %d streams\n",
				__func__, context->stream_count);