提交 cace841c 编写于 作者: D Daniel Vetter

drm/i915: Add fifo underrun reporting state to debugfs

On platforms with shared interrupt enable bits (which are shared even
with the pipe CRC logic) there's some tricky corner cases. Add
information to make debugging those easier.
Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 5ea1f752
...@@ -2357,6 +2357,10 @@ static int i915_display_info(struct seq_file *m, void *unused) ...@@ -2357,6 +2357,10 @@ static int i915_display_info(struct seq_file *m, void *unused)
x, y, crtc->cursor_addr, x, y, crtc->cursor_addr,
yesno(active)); yesno(active));
} }
seq_printf(m, "\tunderrun reporting: cpu=%s pch=%s \n",
yesno(!crtc->cpu_fifo_underrun_disabled),
yesno(!crtc->pch_fifo_underrun_disabled));
} }
seq_printf(m, "\n"); seq_printf(m, "\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册