mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-27 08:14:35 +08:00
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 <rodrigo.vivi@intel.com> Reviewed-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
0243f7baca
commit
fb49581415
@ -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)) &
|
||||
|
Loading…
Reference in New Issue
Block a user