drm/amd/display: expose dcn10_aux_initialize in header
authorYongqiang Sun <yongqiang.sun@amd.com>
Sun, 24 Jun 2018 16:18:54 +0000 (00:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:50:10 +0000 (14:50 -0500)
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn10/dcn10_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h

index 18a7cac4f6e31b30af1777b47c6db626747db1ce..be78ccb439e95ae27636bdce08fcda58dcb8346c 100644 (file)
@@ -65,11 +65,6 @@ enum {
        DP_MST_UPDATE_MAX_RETRY = 50
 };
 
-
-
-static void aux_initialize(struct dcn10_link_encoder *enc10);
-
-
 static const struct link_encoder_funcs dcn10_lnk_enc_funcs = {
        .validate_output_with_stream =
                dcn10_link_encoder_validate_output_with_stream,
@@ -811,7 +806,7 @@ void dcn10_link_encoder_hw_init(
                ASSERT(result == BP_RESULT_OK);
 
        }
-       aux_initialize(enc10);
+       dcn10_aux_initialize(enc10);
 
        /* reinitialize HPD.
         * hpd_initialize() will pass DIG_FE id to HW context.
@@ -1348,8 +1343,7 @@ void dcn10_link_encoder_disable_hpd(struct link_encoder *enc)
                                FN(reg, f1), v1,\
                                FN(reg, f2), v2)
 
-static void aux_initialize(
-       struct dcn10_link_encoder *enc10)
+void dcn10_aux_initialize(struct dcn10_link_encoder *enc10)
 {
        enum hpd_source_id hpd_source = enc10->base.hpd_source;
 
index cd3bb5d40579c38aff03011653bfac8c0a030f49..49ead12b25329f497e6acf2c43411e1a8548ff11 100644 (file)
@@ -336,4 +336,6 @@ void dcn10_psr_program_secondary_packet(struct link_encoder *enc,
 
 bool dcn10_is_dig_enabled(struct link_encoder *enc);
 
+void dcn10_aux_initialize(struct dcn10_link_encoder *enc10);
+
 #endif /* __DC_LINK_ENCODER__DCN10_H__ */