Skip to contentSkip to conversation

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

PATCH Applied Jani Nikula 2 participants 2 messages Aug 27, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

---
 drivers/gpu/drm/i915/intel_dp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dp.c +2 -1
index 0b504c4ce73b..74a59b3e3bde 100644
@@ -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);
Signature · 1 line
1.9.1
#1 lore raw
Quoted 10 lines · Jani Nikula
---
 drivers/gpu/drm/i915/intel_dp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dp.c +0 -0
index 0b504c4ce73b..74a59b3e3bde 100644

drivers/gpu/drm/i915/intel_dp.c static void intel_edp_backlight_power(struct intel_connector *connector, · line 1485

Quoted 6 lines
drivers/gpu/drm/i915/intel_dp.c +2 -1
@@ -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");

Queued for -next, thanks for the patch.
-Daniel

Quoted 10 lines
drivers/gpu/drm/i915/intel_dp.c +0 -0
 	if (enable)
 		_intel_edp_backlight_on(intel_dp);
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch