drm/i915: Make DP-MST connector info work
authorMaarten Lankhorst <[email protected]>
Mon, 26 Jun 2017 08:33:49 +0000 (10:33 +0200)
committerJani Nikula <[email protected]>
Tue, 11 Jul 2017 09:42:01 +0000 (12:42 +0300)
Commit 9a148a96fc3a ("drm/i915/debugfs: add dp mst info") adds support
for DP-MST to intel_connector_info, but forgot to remove the early
return for DP-MST.

Remove it, and print out MST connectors directly.

Fixes: 9a148a96fc3a ("drm/i915/debugfs: add dp mst info")
Cc: <[email protected]> # v4.11+
Cc: Dhinakaran Pandiyan <[email protected]>
Cc: Libin Yang <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Dhinakaran Pandiyan <[email protected]>
(cherry picked from commit 77d1f615c78a73a04254fa2bff07ee9fa27145d9)
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/i915_debugfs.c

index 4577b0af6886f8b3a9b4b12ba540c8e492142f0d..23cd865a3da66cfbeccc802a16ab211eab01450b 100644 (file)
@@ -3083,7 +3083,7 @@ static void intel_connector_info(struct seq_file *m,
                           connector->display_info.cea_rev);
        }
 
-       if (!intel_encoder || intel_encoder->type == INTEL_OUTPUT_DP_MST)
+       if (!intel_encoder)
                return;
 
        switch (connector->connector_type) {