drm/i915: Use DRM_DEBUG_KMS for all messages in intel_bios.c
authorKeith Packard <keithp@keithp.com>
Thu, 22 Sep 2011 19:32:35 +0000 (12:32 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Sep 2011 18:12:10 +0000 (11:12 -0700)
These are all KMS related anyways, so don't hide them under other
debug levels.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_bios.c

index 4c530fa77a1d93267845885a33a0cccaf64c7f25..dcbc83986d412f006f23527a276ebcfc19b9174c 100644 (file)
@@ -309,6 +309,11 @@ parse_general_features(struct drm_i915_private *dev_priv,
                dev_priv->lvds_use_ssc = general->enable_ssc;
                dev_priv->lvds_ssc_freq =
                        intel_bios_ssc_frequency(dev, general->ssc_freq);
+               DRM_DEBUG_KMS("BDB_GENERAL_FEATURES int_tv_support %d int_crt_support %d lvds_use_ssc %d lvds_ssc_freq %d\n",
+                             dev_priv->int_tv_support,
+                             dev_priv->int_crt_support,
+                             dev_priv->lvds_use_ssc,
+                             dev_priv->lvds_ssc_freq);
        }
 }
 
@@ -610,7 +615,7 @@ init_vbt_defaults(struct drm_i915_private *dev_priv)
        /* Default to using SSC */
        dev_priv->lvds_use_ssc = 1;
        dev_priv->lvds_ssc_freq = intel_bios_ssc_frequency(dev, 1);
-       DRM_DEBUG("Set default to SSC at %dMHz\n", dev_priv->lvds_ssc_freq);
+       DRM_DEBUG_KMS("Set default to SSC at %dMHz\n", dev_priv->lvds_ssc_freq);
 
        /* eDP data */
        dev_priv->edp.bpp = 18;
@@ -639,7 +644,7 @@ intel_parse_bios(struct drm_device *dev)
        if (dev_priv->opregion.vbt) {
                struct vbt_header *vbt = dev_priv->opregion.vbt;
                if (memcmp(vbt->signature, "$VBT", 4) == 0) {
-                       DRM_DEBUG_DRIVER("Using VBT from OpRegion: %20s\n",
+                       DRM_DEBUG_KMS("Using VBT from OpRegion: %20s\n",
                                         vbt->signature);
                        bdb = (struct bdb_header *)((char *)vbt + vbt->bdb_offset);
                } else