From 23ba9373ef0dc535b013a872fa565b326b93612d Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 27 Aug 2014 14:08:43 +0300 Subject: [PATCH] drm/i915/dp: debug log whether backlight is being enabled or disabled Signed-off-by: Jani Nikula Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_dp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 0b504c4ce73b..74a59b3e3bde 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -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); -- GitLab