Skip to content

Commit

Permalink
drm/i915: Add fifo underrun reporting state to debugfs
Browse files Browse the repository at this point in the history
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ä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Daniel Vetter committed Jun 5, 2014
1 parent 5ea1f75 commit cace841
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/i915/i915_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit cace841

Please sign in to comment.