Commit 2ee7c03c authored by Dmytro Laktyushkin's avatar Dmytro Laktyushkin Committed by Alex Deucher

drm/amd/display: Rename configure_encoder to enc1_configure_encoder

Signed-off-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0f0c1924
...@@ -440,7 +440,7 @@ static uint8_t get_frontend_source( ...@@ -440,7 +440,7 @@ static uint8_t get_frontend_source(
} }
} }
void configure_encoder( void enc1_configure_encoder(
struct dcn10_link_encoder *enc10, struct dcn10_link_encoder *enc10,
const struct dc_link_settings *link_settings) const struct dc_link_settings *link_settings)
{ {
...@@ -910,7 +910,7 @@ void dcn10_link_encoder_enable_dp_output( ...@@ -910,7 +910,7 @@ void dcn10_link_encoder_enable_dp_output(
* but it's not passed to asic_control. * but it's not passed to asic_control.
* We need to set number of lanes manually. * We need to set number of lanes manually.
*/ */
configure_encoder(enc10, link_settings); enc1_configure_encoder(enc10, link_settings);
cntl.action = TRANSMITTER_CONTROL_ENABLE; cntl.action = TRANSMITTER_CONTROL_ENABLE;
cntl.engine_id = enc->preferred_engine; cntl.engine_id = enc->preferred_engine;
...@@ -949,7 +949,7 @@ void dcn10_link_encoder_enable_dp_mst_output( ...@@ -949,7 +949,7 @@ void dcn10_link_encoder_enable_dp_mst_output(
* but it's not passed to asic_control. * but it's not passed to asic_control.
* We need to set number of lanes manually. * We need to set number of lanes manually.
*/ */
configure_encoder(enc10, link_settings); enc1_configure_encoder(enc10, link_settings);
cntl.action = TRANSMITTER_CONTROL_ENABLE; cntl.action = TRANSMITTER_CONTROL_ENABLE;
cntl.engine_id = ENGINE_ID_UNKNOWN; cntl.engine_id = ENGINE_ID_UNKNOWN;
......
...@@ -271,7 +271,7 @@ void dcn10_link_encoder_setup( ...@@ -271,7 +271,7 @@ void dcn10_link_encoder_setup(
struct link_encoder *enc, struct link_encoder *enc,
enum signal_type signal); enum signal_type signal);
void configure_encoder( void enc1_configure_encoder(
struct dcn10_link_encoder *enc10, struct dcn10_link_encoder *enc10,
const struct dc_link_settings *link_settings); const struct dc_link_settings *link_settings);
......
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