drm/i915: PSR link standby at debugfs
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 12 Jan 2015 18:14:33 +0000 (10:14 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 Jan 2015 00:38:12 +0000 (01:38 +0100)
It is useful to know at debug time if we are keeping main link on.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c

index e515aad478585b7b72d5a080aa708688853252e9..0d11cbe9f80c5d1b0496be1c80f811f1a3df6a88 100644 (file)
@@ -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)) &