diff options
| author | Ben Gamari <[email protected]> | 2009-04-02 18:24:54 +0000 |
|---|---|---|
| committer | Eric Anholt <[email protected]> | 2009-04-08 17:18:06 +0000 |
| commit | 6911a9b8ae8b2a1dab4dfda9c2bd20f7ca2961d6 (patch) | |
| tree | 8679f210a6f214cdfd2bcfd0fc7c71464ec30919 /fs/jbd2/commit.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
| download | kernel-6911a9b8ae8b2a1dab4dfda9c2bd20f7ca2961d6.tar.gz kernel-6911a9b8ae8b2a1dab4dfda9c2bd20f7ca2961d6.zip | |
drm/i915: Implement batch and ring buffer dumping
We create a debugfs node (i915_ringbuffer_data) to expose a hex dump
of the ring buffer itself. We also expose another debugfs node
(i915_ringbuffer_info) with information on the state (i.e. head, tail
addresses) of the ringbuffer.
For batchbuffer dumping, we look at the device's active_list, dumping
each object which has I915_GEM_DOMAIN_COMMAND in its read
domains. This is all exposed through the dri/i915_batchbuffers debugfs
file with a header for each object (giving the objects gtt_offset so
that it can be matched against the offset given in the
BATCH_BUFFER_START command.
Signed-off-by: Ben Gamari <[email protected]>
Signed-off-by: Carl Worth <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
