aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Vivi <[email protected]>2015-01-12 10:14:33 -0800
committerDaniel Vetter <[email protected]>2015-01-15 01:38:12 +0100
commitfb49581415b505fcfa47e978a1879befe378897b (patch)
treec6192a75cacdbbd9a7c273442456bae054f01157
parent0243f7bacae353d6a37b1f276bec41d613785e61 (diff)
drm/i915: PSR link standby at debugfs
It is useful to know at debug time if we are keeping main link on. Signed-off-by: Rodrigo Vivi <[email protected]> Reviewed-by: Durgadoss R <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index e515aad47858..0d11cbe9f80c 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -2248,6 +2248,9 @@ static int i915_edp_psr_status(struct seq_file *m, void *data)
}
seq_puts(m, "\n");
+ seq_printf(m, "Link standby: %s\n",
+ yesno((bool)dev_priv->psr.link_standby));
+
/* CHV PSR has no kind of performance counter */
if (HAS_PSR(dev) && HAS_DDI(dev)) {
psrperf = I915_READ(EDP_PSR_PERF_CNT(dev)) &