Hey again everyone, Here is my latest attempt at implementing batch buffer dumping in GEM. The patches have changed relatively little except for the fact that they now work. At this point, reading from the debugfs file will dump not only the ring buffer but also any batch buffers still valid and mapped into the GTT. While my GEM knowledge is pretty limited, I think I've done everything necessary to safely access the batch buffer object.
My one remaining concern is that we read out the batch buffer through the GTT. Does anyone know if the GTT will stop working if the chip wedges up (especially with something like an MMU fault)? The other option (as suggested by keithp) is to use the non-GTT mapping. I would have done this but I just happened to get this approach working by the time the alternative was suggested. Anyways, I think this patch set can still be considered to be in RFC status. Let me know what you think. Thanks, - Ben ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel