drm/i915/bios: clean up VBT port info debug logging
authorJani Nikula <jani.nikula@intel.com>
Fri, 31 May 2019 13:14:56 +0000 (16:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 5 Jun 2019 12:03:05 +0000 (15:03 +0300)
Change the order, add some stylistic touches, and add LSPCON.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/3c9aaedcacaeaca24b2a35bf2af680dd118823d4.1559308269.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_bios.c

index 8cff17b..81ca944 100644 (file)
@@ -1445,8 +1445,9 @@ static void parse_ddi_port(struct drm_i915_private *dev_priv,
        if (bdb_version >= 209)
                info->supports_tbt = child->tbt;
 
-       DRM_DEBUG_KMS("Port %c VBT info: DP:%d HDMI:%d DVI:%d EDP:%d CRT:%d TCUSB:%d TBT:%d\n",
-                     port_name(port), is_dp, is_hdmi, is_dvi, is_edp, is_crt,
+       DRM_DEBUG_KMS("Port %c VBT info: CRT:%d DVI:%d HDMI:%d DP:%d eDP:%d LSPCON:%d USB-Type-C:%d TBT:%d\n",
+                     port_name(port), is_crt, is_dvi, is_hdmi, is_dp, is_edp,
+                     HAS_LSPCON(dev_priv) && child->lspcon,
                      info->supports_typec_usb, info->supports_tbt);
 
        if (is_edp && is_dvi)