[Intel-gfx] [RFC 09/10] drm/i915: Add backlight max and level to debugfs output.

Bob Paauwe bob.j.paauwe at intel.com
Mon Apr 13 13:51:10 PDT 2015


To allow us to verify the current backlight max and level values.

Signed-off-by: Bob Paauwe <bob.j.paauwe at intel.com>
---
 drivers/gpu/drm/i915/i915_debugfs.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index a9b96fd..2bac3bc 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -2652,6 +2652,11 @@ static void intel_dp_info(struct seq_file *m,
 			   intel_dp->pps_delays.t10);
 		seq_printf(m, "\tpanel power cycle delay: %d\n",
 			   intel_dp->pps_delays.t11_t12);
+		seq_printf(m, "\tpanel backlight max: %d\n",
+			   intel_connector->panel.backlight.max);
+		seq_printf(m, "\tpanel backlight level: %d\n",
+			   intel_connector->panel.backlight.level);
+
 		intel_panel_info(m, &intel_connector->panel);
 	}
 }
-- 
2.1.0



More information about the Intel-gfx mailing list