diff options
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); |