Skip to content

Commit f0882d3

Browse files
Dmytro Laktyushkinalexdeucher
authored andcommitted
drm/amd/display: prevent seamless boot on displays that don't have the preferred dig
Seamless boot requires VBIOS to select dig matching to link order wise. A significant amount of dal logic makes assumption we are using preferred dig for eDP and if this isn't the case then seamless boot is not supported. Reviewed-by: Martin Leung <[email protected]> Acked-by: Stylon Wang <[email protected]> Signed-off-by: Dmytro Laktyushkin <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 5f9f97c commit f0882d3

File tree

1 file changed

+3
-0
lines changed
  • drivers/gpu/drm/amd/display/dc/core

1 file changed

+3
-0
lines changed

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,9 @@ bool dc_validate_boot_timing(const struct dc *dc,
15561556
if (tg_inst >= dc->res_pool->timing_generator_count)
15571557
return false;
15581558

1559+
if (tg_inst != link->link_enc->preferred_engine)
1560+
return false;
1561+
15591562
tg = dc->res_pool->timing_generators[tg_inst];
15601563

15611564
if (!tg->funcs->get_hw_timing)

0 commit comments

Comments
 (0)