From: Ville Syrjälä Date: Fri, 13 May 2016 20:41:25 +0000 (+0300) Subject: drm/i915: Report the current DPLL0 vco on SKL/KBL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f2a121aba7652608bbe84574241e799cad35a73;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/i915: Report the current DPLL0 vco on SKL/KBL Signed-off-by: Ville Syrjälä Link: http://patchwork.freedesktop.org/patch/msgid/1463172100-24715-7-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 27b4b880dfcd..ff0766226c9f 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -5240,8 +5240,13 @@ static void intel_update_cdclk(struct drm_device *dev) struct drm_i915_private *dev_priv = dev->dev_private; dev_priv->cdclk_freq = dev_priv->display.get_display_clock_speed(dev); - DRM_DEBUG_DRIVER("Current CD clock rate: %d kHz\n", - dev_priv->cdclk_freq); + + if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) + DRM_DEBUG_DRIVER("Current CD clock rate: %d kHz, VCO: %d MHz\n", + dev_priv->cdclk_freq, dev_priv->skl_vco_freq); + else + DRM_DEBUG_DRIVER("Current CD clock rate: %d kHz\n", + dev_priv->cdclk_freq); /* * 9:0 CMBUS [sic] CDCLK frequency (cdfreq):