drm/i915/dp: debug log whether backlight is being enabled or disabled

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Jani Nikula 2014-08-27 14:08:43 +03:00 committed by Daniel Vetter
parent be292e1563
commit 23ba9373ef
1 changed files with 2 additions and 1 deletions

View 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);