drm/i915/dp: debug log whether backlight is being enabled or disabled
authorJani Nikula <jani.nikula@intel.com>
Wed, 27 Aug 2014 11:08:43 +0000 (14:08 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:35 +0000 (11:04 +0200)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c

index 0b504c4ce73b92e80f71dc866a0a7101ef10e918..74a59b3e3bde5a498e672d9cfc3df93f97d9ed5c 100644 (file)
@@ -1481,7 +1481,8 @@ static void intel_edp_backlight_power(struct intel_connector *connector,
        if (is_enabled == enable)
                return;
 
-       DRM_DEBUG_KMS("\n");
+       DRM_DEBUG_KMS("panel power control backlight %s\n",
+                     enable ? "enable" : "disable");
 
        if (enable)
                _intel_edp_backlight_on(intel_dp);