Skip to content

Commit 8e6a311

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
drm/amd/display: Code style adjustments
This commit address some small code style issues in DC. Signed-off-by: Rodrigo Siqueira <[email protected]> Acked-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent fc3408e commit 8e6a311

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/gpu/drm/amd/display/dc/dcn321/dcn321_dio_link_encoder.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ void dcn321_link_encoder_construct(
186186
__func__,
187187
result);
188188
}
189-
if (enc10->base.ctx->dc->debug.hdmi20_disable) {
189+
if (enc10->base.ctx->dc->debug.hdmi20_disable)
190190
enc10->base.features.flags.bits.HDMI_6GB_EN = 0;
191-
}
192191
}

drivers/gpu/drm/amd/display/dc/dm_helpers.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
struct dc_dp_mst_stream_allocation_table;
3737
struct aux_payload;
3838
enum aux_return_code_type;
39+
enum set_config_status;
3940

4041
/*
4142
* Allocate memory accessible by the GPU
@@ -200,7 +201,7 @@ int dm_helper_dmub_aux_transfer_sync(
200201
const struct dc_link *link,
201202
struct aux_payload *payload,
202203
enum aux_return_code_type *operation_result);
203-
enum set_config_status;
204+
204205
int dm_helpers_dmub_set_config_sync(struct dc_context *ctx,
205206
const struct dc_link *link,
206207
struct set_config_cmd_payload *payload,

0 commit comments

Comments
 (0)