提交 fb495814 编写于 作者: R Rodrigo Vivi 提交者: Daniel Vetter

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: NRodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: NDurgadoss R <durgadoss.r@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 0243f7ba
...@@ -2248,6 +2248,9 @@ static int i915_edp_psr_status(struct seq_file *m, void *data) ...@@ -2248,6 +2248,9 @@ static int i915_edp_psr_status(struct seq_file *m, void *data)
} }
seq_puts(m, "\n"); 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 */ /* CHV PSR has no kind of performance counter */
if (HAS_PSR(dev) && HAS_DDI(dev)) { if (HAS_PSR(dev) && HAS_DDI(dev)) {
psrperf = I915_READ(EDP_PSR_PERF_CNT(dev)) & psrperf = I915_READ(EDP_PSR_PERF_CNT(dev)) &
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册