Commit c5509aad authored by Eric Bernstein's avatar Eric Bernstein Committed by Alex Deucher

drm/amd/display: expose enable dp output functions

expose this function for future use

Implementation of DCN3 DIO Link Encoder including
dpcs register headers.
Signed-off-by: default avatarEric Bernstein <eric.bernstein@amd.com>
Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a6132cb1
...@@ -240,7 +240,7 @@ static bool update_cfg_data( ...@@ -240,7 +240,7 @@ static bool update_cfg_data(
return true; return true;
} }
static void dcn20_link_encoder_enable_dp_output( void dcn20_link_encoder_enable_dp_output(
struct link_encoder *enc, struct link_encoder *enc,
const struct dc_link_settings *link_settings, const struct dc_link_settings *link_settings,
enum clock_source_id clock_source) enum clock_source_id clock_source)
......
...@@ -155,6 +155,11 @@ void enc2_hw_init(struct link_encoder *enc); ...@@ -155,6 +155,11 @@ void enc2_hw_init(struct link_encoder *enc);
void link_enc2_read_state(struct link_encoder *enc, struct link_enc_state *s); void link_enc2_read_state(struct link_encoder *enc, struct link_enc_state *s);
#endif #endif
void dcn20_link_encoder_enable_dp_output(
struct link_encoder *enc,
const struct dc_link_settings *link_settings,
enum clock_source_id clock_source);
void dcn20_link_encoder_construct( void dcn20_link_encoder_construct(
struct dcn20_link_encoder *enc20, struct dcn20_link_encoder *enc20,
const struct encoder_init_data *init_data, const struct encoder_init_data *init_data,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment