aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4544-drm-amd-display-DP-component-depth-16-bpc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4544-drm-amd-display-DP-component-depth-16-bpc.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4544-drm-amd-display-DP-component-depth-16-bpc.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4544-drm-amd-display-DP-component-depth-16-bpc.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4544-drm-amd-display-DP-component-depth-16-bpc.patch
new file mode 100644
index 00000000..28f14651
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4544-drm-amd-display-DP-component-depth-16-bpc.patch
@@ -0,0 +1,33 @@
+From ae657b4d551bf3ba5d2a2b5f32641740cd33102d Mon Sep 17 00:00:00 2001
+From: Eric Bernstein <eric.bernstein@amd.com>
+Date: Thu, 10 May 2018 15:12:09 -0400
+Subject: [PATCH 4544/5725] drm/amd/display: DP component depth 16 bpc
+
+Add register programming to support 16bpc component
+depth for DP.
+
+Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
+Acked-by: Harry Wentland <harry.wentland@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
+index 653b7b2..c928ee4 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
+@@ -319,6 +319,10 @@ void enc1_stream_encoder_dp_set_stream_attribute(
+ REG_UPDATE(DP_PIXEL_FORMAT, DP_COMPONENT_DEPTH,
+ DP_COMPONENT_PIXEL_DEPTH_12BPC);
+ break;
++ case COLOR_DEPTH_161616:
++ REG_UPDATE(DP_PIXEL_FORMAT, DP_COMPONENT_DEPTH,
++ DP_COMPONENT_PIXEL_DEPTH_16BPC);
++ break;
+ default:
+ REG_UPDATE(DP_PIXEL_FORMAT, DP_COMPONENT_DEPTH,
+ DP_COMPONENT_PIXEL_DEPTH_6BPC);
+--
+2.7.4
+