From: Daniel Vetter Date: Thu, 22 May 2014 15:56:31 +0000 (+0200) Subject: drm/i915: Add fifo underrun reporting state to debugfs X-Git-Tag: next-20140530~66^2~36 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=859daf81d82a8025edc04c8af18b2d65a068d0ec;p=karo-tx-linux.git 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: Ville Syrjälä Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 333dd12d62f4..2e5f76a585ef 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -2357,6 +2357,10 @@ static int i915_display_info(struct seq_file *m, void *unused) x, y, crtc->cursor_addr, 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");