Commit 1f255112 authored by Eric Bernstein's avatar Eric Bernstein Committed by Alex Deucher

drm/amd/display: Allow Diagnostics test with eDP not connected

[Why]
Diagnostics DIO test with eDP not connected is required to run

[How]
Allow Diagnostics test with eDP not connected to skip link detection but
still execute DIO test
Signed-off-by: default avatarEric Bernstein <eric.bernstein@amd.com>
Reviewed-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0976ef31
...@@ -186,9 +186,10 @@ static bool create_links( ...@@ -186,9 +186,10 @@ static bool create_links(
bool should_destory_link = false; bool should_destory_link = false;
if (link->connector_signal == SIGNAL_TYPE_EDP) { if (link->connector_signal == SIGNAL_TYPE_EDP) {
if (dc->config.edp_not_connected) if (dc->config.edp_not_connected) {
if (!IS_DIAG_DC(dc->ctx->dce_environment))
should_destory_link = true; should_destory_link = true;
else if (dc->debug.remove_disconnect_edp) { } else {
enum dc_connection_type type; enum dc_connection_type type;
dc_link_detect_sink(link, &type); dc_link_detect_sink(link, &type);
if (type == dc_connection_none) if (type == dc_connection_none)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment