drm/amd/display: add DCN30 support FEC init
[Why] FEC init used on DCN30. [How] Check fec active when HW init. Co-authored-by: Jingwen Zhu <Jingwen.Zhu@amd.com> Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com> Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com> Signed-off-by: Jingwen Zhu <Jingwen.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
663d2daeae
commit
30ffa74a04
1 changed files with 5 additions and 1 deletions
|
@ -535,8 +535,12 @@ void dcn30_init_hw(struct dc *dc)
|
|||
|
||||
/* Check for enabled DIG to identify enabled display */
|
||||
if (link->link_enc->funcs->is_dig_enabled &&
|
||||
link->link_enc->funcs->is_dig_enabled(link->link_enc))
|
||||
link->link_enc->funcs->is_dig_enabled(link->link_enc)) {
|
||||
link->link_status.link_active = true;
|
||||
if (link->link_enc->funcs->fec_is_active &&
|
||||
link->link_enc->funcs->fec_is_active(link->link_enc))
|
||||
link->fec_state = dc_link_fec_enabled;
|
||||
}
|
||||
}
|
||||
|
||||
/* Power gate DSCs */
|
||||
|
|
Loading…
Add table
Reference in a new issue