[Intel-gfx] [PATCH 2/3] Implement batch and ring buffer dumping
Eric Anholt
eric at anholt.net
Wed Apr 1 22:44:53 CEST 2009
On Fri, 2009-03-20 at 11:54 -0700, Carl Worth wrote:
> From: Ben Gamari <bgamari at gmail.com>
>
> 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.
Since the lock fix series, this one's conflicting. However, the page
list get/put should be a lot simpler now. Could you rebase this onto
current master?
Oh, and the set_to_cpu_domain change appears to be spurious.
--
Eric Anholt
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090401/abfa2ee9/attachment.sig>
More information about the Intel-gfx
mailing list