aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0004-drm-amd-include-Add-hdmi_redriver_set-to-atomfirmwar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0004-drm-amd-include-Add-hdmi_redriver_set-to-atomfirmwar.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0004-drm-amd-include-Add-hdmi_redriver_set-to-atomfirmwar.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0004-drm-amd-include-Add-hdmi_redriver_set-to-atomfirmwar.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0004-drm-amd-include-Add-hdmi_redriver_set-to-atomfirmwar.patch
new file mode 100644
index 00000000..82e27bf0
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0004-drm-amd-include-Add-hdmi_redriver_set-to-atomfirmwar.patch
@@ -0,0 +1,55 @@
+From b200cfa6b04c8bdea1d71b26cfc64606ca99a3b5 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Mon, 21 Aug 2017 15:43:32 -0400
+Subject: [PATCH 0004/4131] drm/amd/include: Add hdmi_redriver_set to
+ atomfirmware
+
+We'll need this for a some upcoming display changes
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/include/atomfirmware.h | 19 ++++++++++++++++++-
+ 1 file changed, 18 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
+index 837296d..7c92f47 100644
+--- a/drivers/gpu/drm/amd/include/atomfirmware.h
++++ b/drivers/gpu/drm/amd/include/atomfirmware.h
+@@ -1017,6 +1017,19 @@ struct atom_14nm_combphy_tmds_vs_set
+ uint8_t margin_deemph_lane0__deemph_sel_val;
+ };
+
++struct atom_i2c_reg_info {
++ uint8_t ucI2cRegIndex;
++ uint8_t ucI2cRegVal;
++};
++
++struct atom_hdmi_retimer_redriver_set {
++ uint8_t HdmiSlvAddr;
++ uint8_t HdmiRegNum;
++ uint8_t Hdmi6GRegNum;
++ struct atom_i2c_reg_info HdmiRegSetting[9]; //For non 6G Hz use
++ struct atom_i2c_reg_info Hdmi6GhzRegSetting[3]; //For 6G Hz use.
++};
++
+ struct atom_integrated_system_info_v1_11
+ {
+ struct atom_common_table_header table_header;
+@@ -1052,7 +1065,11 @@ struct atom_integrated_system_info_v1_11
+ struct atom_14nm_dpphy_dp_tuningset dp_tuningset;
+ struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;
+ struct atom_camera_data camera_info;
+- uint32_t reserved[138];
++ struct atom_hdmi_retimer_redriver_set dp0_retimer_set; //for DP0
++ struct atom_hdmi_retimer_redriver_set dp1_retimer_set; //for DP1
++ struct atom_hdmi_retimer_redriver_set dp2_retimer_set; //for DP2
++ struct atom_hdmi_retimer_redriver_set dp3_retimer_set; //for DP3
++ uint32_t reserved[108];
+ };
+
+
+--
+2.7.4
+