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

Submitted by Bob Paauwe on April 13, 2015, 8:51 p.m.

Details

Message ID 1428958271-15653-10-git-send-email-bob.j.paauwe@intel.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Bob Paauwe April 13, 2015, 8:51 p.m.
To allow us to verify the current backlight max and level values.

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

Patch hide | download patch | download mbox

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