From: Rodrigo Vivi Date: Mon, 12 Jan 2015 18:14:33 +0000 (-0800) Subject: drm/i915: PSR link standby at debugfs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fb49581415b505fcfa47e978a1879befe378897b;p=linux-beck.git 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 Reviewed-by: Durgadoss R Signed-off-by: Daniel Vetter --- 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)) &