[Intel-gfx] [PATCH 7/9] drm/i915: Compact display clock logging

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Apr 27 10:07:00 UTC 2016


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Merge two subsequent DRM_DEBUG_DRIVER lines into one so instead of:

 [    4.273133] [drm:intel_update_max_cdclk] Max CD clock rate: 540000 kHz
 [    4.273134] [drm:intel_update_max_cdclk] Max dotclock rate: 540000 kHz

We get:

 [    4.231702] [drm:intel_update_max_cdclk] Max CD clock rate: 540000 kHz; Max dotclock rate: 540000 kHz

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index e8339639d9ed..ba8a9a770b85 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -5312,10 +5312,8 @@ static void intel_update_max_cdclk(struct drm_device *dev)
 
 	dev_priv->max_dotclk_freq = intel_compute_max_dotclk(dev_priv);
 
-	DRM_DEBUG_DRIVER("Max CD clock rate: %d kHz\n",
-			 dev_priv->max_cdclk_freq);
-
-	DRM_DEBUG_DRIVER("Max dotclock rate: %d kHz\n",
+	DRM_DEBUG_DRIVER("Max CD clock rate: %d kHz; Max dotclock rate: %d kHz\n",
+			 dev_priv->max_cdclk_freq,
 			 dev_priv->max_dotclk_freq);
 }
 
-- 
1.9.1



More information about the Intel-gfx mailing list