drm/amd/display: Fix bugs causing Hawaii and Bonaire not light up.
Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com> Acked-by: Jordan Lazare <Jordan.Lazare@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -186,7 +186,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id)
|
||||
break;
|
||||
}
|
||||
|
||||
return atom_dig_encoder_sel;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static bool clock_source_id_to_atom(
|
||||
|
||||
@@ -183,7 +183,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id)
|
||||
break;
|
||||
}
|
||||
|
||||
return atom_dig_encoder_sel;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static bool clock_source_id_to_atom(
|
||||
|
||||
@@ -1281,7 +1281,7 @@ void dce110_link_encoder_enable_dp_output(
|
||||
configure_encoder(enc110, link_settings);
|
||||
|
||||
cntl.action = TRANSMITTER_CONTROL_ENABLE;
|
||||
cntl.engine_id = ENGINE_ID_UNKNOWN;
|
||||
cntl.engine_id = enc->preferred_engine;
|
||||
cntl.transmitter = enc110->base.transmitter;
|
||||
cntl.pll_id = clock_source;
|
||||
cntl.signal = SIGNAL_TYPE_DISPLAY_PORT;
|
||||
|
||||
Reference in New Issue
Block a user