[RFC,08/10] drm/i915: Add PPS delay values to debugfs.

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

Details

Message ID 1428958271-15653-9-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.
So that we verify which values are currently in use.

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

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 2394924..a9b96fd 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -2641,8 +2641,19 @@  static void intel_dp_info(struct seq_file *m,
 	seq_printf(m, "\tDPCD rev: %x\n", intel_dp->dpcd[DP_DPCD_REV]);
 	seq_printf(m, "\taudio support: %s\n", intel_dp->has_audio ? "yes" :
 		   "no");
-	if (intel_encoder->type == INTEL_OUTPUT_EDP)
+	if (intel_encoder->type == INTEL_OUTPUT_EDP) {
+		seq_printf(m, "\tpanel power on delay: %d\n",
+			   intel_dp->pps_delays.t1_t3);
+		seq_printf(m, "\tpanel backlight on delay: %d\n",
+			   intel_dp->pps_delays.t8);
+		seq_printf(m, "\tpanel backlight off delay: %d\n",
+			   intel_dp->pps_delays.t9);
+		seq_printf(m, "\tpanel power off delay: %d\n",
+			   intel_dp->pps_delays.t10);
+		seq_printf(m, "\tpanel power cycle delay: %d\n",
+			   intel_dp->pps_delays.t11_t12);
 		intel_panel_info(m, &intel_connector->panel);
+	}
 }
 
 static void intel_hdmi_info(struct seq_file *m,