drm/i915: Make DP-MST connector info work
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 26 Jun 2017 08:33:49 +0000 (10:33 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 10 Jul 2017 12:12:15 +0000 (14:12 +0200)
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: <stable@vger.kernel.org> # v4.11+
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Libin Yang <libin.yang@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170626083349.24389-1-maarten.lankhorst@linux.intel.com
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c

index ca2e34b1c798c0733688fcc422698f1933a419ef..620c9218d1c10a35aca60a0ffe5de753d25790e1 100644 (file)
@@ -3108,7 +3108,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) {