drm/i915: semaphore debugfs
authorBen Widawsky <ben@bwidawsk.net>
Mon, 30 Jun 2014 16:53:42 +0000 (09:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 21:16:55 +0000 (23:16 +0200)
commite04934cf256154fd6cc88a0767e45bd1b4920419
tree86414b3146bac3ea3537a1a6998977c1684ccade
parent0ca36d78391dc97b7d3e3d26e4518e30f3e88c16
drm/i915: semaphore debugfs

Simple debugfs file to display the current state of semaphores. This is
useful if you want to see the state without hanging the GPU.

NOTE: This patch is optional to the series.

NOTE2: Like the GPU error state collection, the reads are currently
incoherent.

v2 (Rodrigo): * Iterate only on active rings.
          * s/ring_buffer/engine_cs.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c