diff options
author | Leo Chen <[email protected]> | 2022-12-09 19:08:54 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-03 16:57:57 -0500 |
commit | b0fcf88b3f10bf684d636e78113e678dc3b3f053 (patch) | |
tree | 08ad6a6f7cca10450f50ded71815ad7bcc990411 | |
parent | 6ffa679916474b26c9b6c81003b42f2e1f0feda1 (diff) |
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: Aurabindo Pillai <[email protected]>
Signed-off-by: Leo Chen <[email protected]>
Reviewed-by: Charlene Liu <[email protected]>
Tested-by: Daniel Wheeler <[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 f41933845d2a..dbf90ca0cf98 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -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); |