summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-01-04 18:43:04 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:08:37 -0400
commit5727c77cf8de2fd603780151b9c9e17828464360 (patch)
tree2a931f595101c57ac6cc87d1ade77bb6b7ae6564
parent7a8b8b1403a115fe303e67d356df7520095222d4 (diff)
downloadlinux-stable-5727c77cf8de2fd603780151b9c9e17828464360.tar.gz
linux-stable-5727c77cf8de2fd603780151b9c9e17828464360.tar.bz2
linux-stable-5727c77cf8de2fd603780151b9c9e17828464360.zip
drm/amd/display: Fix misleading indentation bug in link_encoder
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
index cb5e5953b7ab..81144586995a 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
@@ -1017,11 +1017,12 @@ bool dce110_link_encoder_construct(
/* Override features with DCE-specific values */
if (BP_RESULT_OK == bp_funcs->get_encoder_cap_info(
enc110->base.ctx->dc_bios, enc110->base.id,
- &bp_cap_info))
+ &bp_cap_info)) {
enc110->base.features.flags.bits.IS_HBR2_CAPABLE =
bp_cap_info.DP_HBR2_CAP;
enc110->base.features.flags.bits.IS_HBR3_CAPABLE =
bp_cap_info.DP_HBR3_EN;
+ }
return true;
}