diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2022-11-21 21:29:35 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-06 16:15:40 +0100 |
commit | f0882d3afb9a16285eaa2b76a7e60f46ebdefe92 (patch) | |
tree | 08bf07fdc25414855343ab4ca67d3285b77ee108 /drivers/gpu | |
parent | drm/amd/display: trigger timing sync only if TG is running (diff) | |
download | linux-f0882d3afb9a16285eaa2b76a7e60f46ebdefe92.tar.xz linux-f0882d3afb9a16285eaa2b76a7e60f46ebdefe92.zip |
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 <Martin.Leung@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 87994ae0a397..486d18290b9f 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1556,6 +1556,9 @@ bool dc_validate_boot_timing(const struct dc *dc, if (tg_inst >= dc->res_pool->timing_generator_count) return false; + if (tg_inst != link->link_enc->preferred_engine) + return false; + tg = dc->res_pool->timing_generators[tg_inst]; if (!tg->funcs->get_hw_timing) |