diff options
author | yakui_zhao <yakui.zhao@intel.com> | 2009-06-02 02:10:49 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-06-11 04:40:36 -0400 |
commit | 7fb85bfb54a64e9dd82ee4a79022c38ab58f21a0 (patch) | |
tree | 55dff991d28dc0a45f6abafa74ce07f037630bb8 /drivers | |
parent | 4fefcb27050b98c97b1c32bc710fc2f874449dee (diff) |
drm/i915: replace DRM_DEBUG with DRM_DEBUG_KMS in intel_lvds
Use the DRM_DEBUG_KMS macro definition to print the debug info for
the LVDS.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lvds.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index a7ae9f46aa9a..f22e6efbe6a3 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c | |||
@@ -37,6 +37,8 @@ | |||
37 | #include "i915_drm.h" | 37 | #include "i915_drm.h" |
38 | #include "i915_drv.h" | 38 | #include "i915_drv.h" |
39 | 39 | ||
40 | #define I915_LVDS "i915_lvds" | ||
41 | |||
40 | /** | 42 | /** |
41 | * Sets the backlight level. | 43 | * Sets the backlight level. |
42 | * | 44 | * |
@@ -447,7 +449,8 @@ static const struct drm_encoder_funcs intel_lvds_enc_funcs = { | |||
447 | 449 | ||
448 | static int __init intel_no_lvds_dmi_callback(const struct dmi_system_id *id) | 450 | static int __init intel_no_lvds_dmi_callback(const struct dmi_system_id *id) |
449 | { | 451 | { |
450 | DRM_DEBUG("Skipping LVDS initialization for %s\n", id->ident); | 452 | DRM_DEBUG_KMS(I915_LVDS, |
453 | "Skipping LVDS initialization for %s\n", id->ident); | ||
451 | return 1; | 454 | return 1; |
452 | } | 455 | } |
453 | 456 | ||
@@ -646,7 +649,7 @@ out: | |||
646 | return; | 649 | return; |
647 | 650 | ||
648 | failed: | 651 | failed: |
649 | DRM_DEBUG("No LVDS modes found, disabling.\n"); | 652 | DRM_DEBUG_KMS(I915_LVDS, "No LVDS modes found, disabling.\n"); |
650 | if (intel_output->ddc_bus) | 653 | if (intel_output->ddc_bus) |
651 | intel_i2c_destroy(intel_output->ddc_bus); | 654 | intel_i2c_destroy(intel_output->ddc_bus); |
652 | drm_connector_cleanup(connector); | 655 | drm_connector_cleanup(connector); |