]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/dp_link_training: Add newlines to debug messages
authorSean Paul <seanpaul@chromium.org>
Wed, 10 Mar 2021 21:47:56 +0000 (16:47 -0500)
committerJani Nikula <jani.nikula@intel.com>
Mon, 15 Mar 2021 14:05:55 +0000 (16:05 +0200)
This patch adds some newlines which are missing from debug messages.
This will prevent logs from being stacked up in dmesg.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
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/20210310214845.29021-1-sean@poorly.run
drivers/gpu/drm/i915/display/intel_dp_link_training.c

index 892d7db7d94f699e996d27bc3fc552818935a1e7..ad02d493ec1652a30b24fd18a001ae0f8bc169c0 100644 (file)
@@ -29,7 +29,7 @@ static void
 intel_dp_dump_link_status(const u8 link_status[DP_LINK_STATUS_SIZE])
 {
 
-       DRM_DEBUG_KMS("ln0_1:0x%x ln2_3:0x%x align:0x%x sink:0x%x adj_req0_1:0x%x adj_req2_3:0x%x",
+       DRM_DEBUG_KMS("ln0_1:0x%x ln2_3:0x%x align:0x%x sink:0x%x adj_req0_1:0x%x adj_req2_3:0x%x\n",
                      link_status[0], link_status[1], link_status[2],
                      link_status[3], link_status[4], link_status[5]);
 }
@@ -731,7 +731,7 @@ intel_dp_link_train_phy(struct intel_dp *intel_dp,
 
 out:
        drm_dbg_kms(&dp_to_i915(intel_dp)->drm,
-                   "[CONNECTOR:%d:%s] Link Training %s at link rate = %d, lane count = %d, at %s",
+                   "[CONNECTOR:%d:%s] Link Training %s at link rate = %d, lane count = %d, at %s\n",
                    intel_connector->base.base.id,
                    intel_connector->base.name,
                    ret ? "passed" : "failed",