summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorKrzysztof Nowicki <krzysztof.a.nowicki@gmail.com>2017-01-27 18:58:27 +0100
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:13:51 -0400
commita2b763cbd69e59854ed3ff9f79b7e8471748ea69 (patch)
tree78e2212fd07cbdfb10d8891f308c98ec259c68fd /drivers/gpu
parentf7f3cfee084b0c68789e2b4231b0d3de3466a52b (diff)
drm/amd/display: Fix MST physical ports always disconnected
Remove a false assumption that a cached EDID will be present whenever the connector is in a connected state as this will only be true for logical MST ports. For physical ports the EDID will never be cached, which will cause them to always appear as disconnected. This reverts commit 4ff8a88888de271bfb7750b2a5c68163848e2bf1 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
index e4d94d4c215d..41988c89d471 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
@@ -127,14 +127,6 @@ dm_dp_mst_detect(struct drm_connector *connector, bool force)
&master->mst_mgr,
aconnector->port);
- /*
- * we do not want to make this connector connected until we have edid on
- * it
- */
- if (status == connector_status_connected &&
- !aconnector->port->cached_edid)
- status = connector_status_disconnected;
-
return status;
}