Skip to content

Commit 48c3815

Browse files
committed
drm/i915: use DRM_DEBUG_KMS() instead of drm_dbg(DRM_UT_KMS, ...)
Unify on current common usage to allow repurposing drm_dbg() later. Fix newlines while at it. Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0d52cc7 commit 48c3815

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpu/drm/i915/display/intel_display.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12556,10 +12556,10 @@ pipe_config_infoframe_mismatch(struct drm_i915_private *dev_priv,
1255612556
if ((drm_debug & DRM_UT_KMS) == 0)
1255712557
return;
1255812558

12559-
drm_dbg(DRM_UT_KMS, "fastset mismatch in %s infoframe", name);
12560-
drm_dbg(DRM_UT_KMS, "expected:");
12559+
DRM_DEBUG_KMS("fastset mismatch in %s infoframe\n", name);
12560+
DRM_DEBUG_KMS("expected:\n");
1256112561
hdmi_infoframe_log(KERN_DEBUG, dev_priv->drm.dev, a);
12562-
drm_dbg(DRM_UT_KMS, "found");
12562+
DRM_DEBUG_KMS("found:\n");
1256312563
hdmi_infoframe_log(KERN_DEBUG, dev_priv->drm.dev, b);
1256412564
} else {
1256512565
DRM_ERROR("mismatch in %s infoframe\n", name);
@@ -12581,7 +12581,7 @@ pipe_config_mismatch(bool fastset, const char *name, const char *format, ...)
1258112581
vaf.va = &args;
1258212582

1258312583
if (fastset)
12584-
drm_dbg(DRM_UT_KMS, "fastset mismatch in %s %pV", name, &vaf);
12584+
DRM_DEBUG_KMS("fastset mismatch in %s %pV\n", name, &vaf);
1258512585
else
1258612586
DRM_ERROR("mismatch in %s %pV\n", name, &vaf);
1258712587

0 commit comments

Comments
 (0)