Skip to content

Commit

Permalink
drm/amd/display: Code style adjustments
Browse files Browse the repository at this point in the history
This commit address some small code style issues in DC.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Rodrigo Siqueira authored and Alex Deucher committed Apr 26, 2024
1 parent fc3408e commit 8e6a311
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ void dcn321_link_encoder_construct(
__func__,
result);
}
if (enc10->base.ctx->dc->debug.hdmi20_disable) {
if (enc10->base.ctx->dc->debug.hdmi20_disable)
enc10->base.features.flags.bits.HDMI_6GB_EN = 0;
}
}
3 changes: 2 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dm_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
struct dc_dp_mst_stream_allocation_table;
struct aux_payload;
enum aux_return_code_type;
enum set_config_status;

/*
* Allocate memory accessible by the GPU
Expand Down Expand Up @@ -200,7 +201,7 @@ int dm_helper_dmub_aux_transfer_sync(
const struct dc_link *link,
struct aux_payload *payload,
enum aux_return_code_type *operation_result);
enum set_config_status;

int dm_helpers_dmub_set_config_sync(struct dc_context *ctx,
const struct dc_link *link,
struct set_config_cmd_payload *payload,
Expand Down

0 comments on commit 8e6a311

Please sign in to comment.