drm/amd/display: Save hpd_src for dc_link

Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Zeyu Fan 2017-06-13 11:54:10 -04:00 committed by Alex Deucher
parent b6d6103bbb
commit 7a0963345f
2 changed files with 6 additions and 0 deletions

View File

@ -987,6 +987,9 @@ static bool construct(
enc_init_data.connector = link->link_id;
enc_init_data.channel = get_ddc_line(link);
enc_init_data.hpd_source = get_hpd_line(link);
link->public.hpd_src = enc_init_data.hpd_source;
enc_init_data.transmitter =
translate_encoder_to_transmitter(enc_init_data.encoder);
link->link_enc = link->dc->res_pool->funcs->link_enc_create(

View File

@ -658,6 +658,9 @@ struct dc_link {
struct dc_lane_settings cur_lane_setting;
uint8_t ddc_hw_inst;
uint8_t hpd_src;
uint8_t link_enc_hw_inst;
bool test_pattern_enabled;