aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0122-drm-amd-display-Fix-misleading-indentation-bug-in-li.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0122-drm-amd-display-Fix-misleading-indentation-bug-in-li.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0122-drm-amd-display-Fix-misleading-indentation-bug-in-li.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0122-drm-amd-display-Fix-misleading-indentation-bug-in-li.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0122-drm-amd-display-Fix-misleading-indentation-bug-in-li.patch
new file mode 100644
index 00000000..983bdee1
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0122-drm-amd-display-Fix-misleading-indentation-bug-in-li.patch
@@ -0,0 +1,34 @@
+From 9e5eb0d94c8d99af45e3ad9b9120ec0da50cc724 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Wed, 4 Jan 2017 18:43:04 -0500
+Subject: [PATCH 0122/4131] 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>
+---
+ drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+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 cb5e595..8114458 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;
+ }
+--
+2.7.4
+