From: Nevenko Stupar <[email protected]>

Add this register for future use

Signed-off-by: Nevenko Stupar <[email protected]>
Reviewed-by: Vitaly Prosyak <[email protected]>
Acked-by: Leo Li <[email protected]>
---
 .../drm/amd/display/dc/dcn10/dcn10_stream_encoder.h    | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h 
b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
index ab0ead3c3f46..f585e7b620cc 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
@@ -89,7 +89,8 @@
        SRI(DP_VID_STREAM_CNTL, DP, id), \
        SRI(DP_VID_TIMING, DP, id), \
        SRI(DP_SEC_AUD_N, DP, id), \
-       SRI(DP_SEC_TIMESTAMP, DP, id)
+       SRI(DP_SEC_TIMESTAMP, DP, id), \
+       SRI(DIG_CLOCK_PATTERN, DIG, id)
 
 #define SE_DCN_REG_LIST(id)\
        SE_COMMON_DCN_REG_LIST(id)
@@ -170,6 +171,7 @@ struct dcn10_stream_enc_registers {
        uint32_t HDMI_METADATA_PACKET_CONTROL;
        uint32_t DP_SEC_FRAMING4;
 #endif
+       uint32_t DIG_CLOCK_PATTERN;
 };
 
 
@@ -298,7 +300,8 @@ struct dcn10_stream_enc_registers {
        SE_SF(DP0_DP_MSA_TIMING_PARAM4, DP_MSA_VHEIGHT, mask_sh),\
        SE_SF(DIG0_HDMI_DB_CONTROL, HDMI_DB_DISABLE, mask_sh),\
        SE_SF(DP0_DP_VID_TIMING, DP_VID_N_MUL, mask_sh),\
-       SE_SF(DIG0_DIG_FE_CNTL, DIG_SOURCE_SELECT, mask_sh)
+       SE_SF(DIG0_DIG_FE_CNTL, DIG_SOURCE_SELECT, mask_sh),\
+       SE_SF(DIG0_DIG_CLOCK_PATTERN, DIG_CLOCK_PATTERN, mask_sh)
 
 #define SE_COMMON_MASK_SH_LIST_SOC(mask_sh)\
        SE_COMMON_MASK_SH_LIST_SOC_BASE(mask_sh)
@@ -460,7 +463,8 @@ struct dcn10_stream_enc_registers {
        type HDMI_DB_DISABLE;\
        type DP_VID_N_MUL;\
        type DP_VID_M_DOUBLE_VALUE_EN;\
-       type DIG_SOURCE_SELECT
+       type DIG_SOURCE_SELECT;\
+       type DIG_CLOCK_PATTERN
 
 #if defined(CONFIG_DRM_AMD_DC_DCN2_0)
 #define SE_REG_FIELD_LIST_DCN2_0(type) \
-- 
2.22.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to