提交 8e545104 编写于 作者: Z Zeyu Fan 提交者: Alex Deucher

drm/amd/display: Fix bugs causing Hawaii and Bonaire not light up.

Signed-off-by: NZeyu Fan <Zeyu.Fan@amd.com>
Acked-by: NJordan Lazare <Jordan.Lazare@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 56bc1c42
...@@ -186,7 +186,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id) ...@@ -186,7 +186,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id)
break; break;
} }
return atom_dig_encoder_sel; return 0;
} }
static bool clock_source_id_to_atom( static bool clock_source_id_to_atom(
......
...@@ -183,7 +183,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id) ...@@ -183,7 +183,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id)
break; break;
} }
return atom_dig_encoder_sel; return 0;
} }
static bool clock_source_id_to_atom( static bool clock_source_id_to_atom(
......
...@@ -1281,7 +1281,7 @@ void dce110_link_encoder_enable_dp_output( ...@@ -1281,7 +1281,7 @@ void dce110_link_encoder_enable_dp_output(
configure_encoder(enc110, link_settings); configure_encoder(enc110, link_settings);
cntl.action = TRANSMITTER_CONTROL_ENABLE; cntl.action = TRANSMITTER_CONTROL_ENABLE;
cntl.engine_id = ENGINE_ID_UNKNOWN; cntl.engine_id = enc->preferred_engine;
cntl.transmitter = enc110->base.transmitter; cntl.transmitter = enc110->base.transmitter;
cntl.pll_id = clock_source; cntl.pll_id = clock_source;
cntl.signal = SIGNAL_TYPE_DISPLAY_PORT; cntl.signal = SIGNAL_TYPE_DISPLAY_PORT;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册