[Intel-gfx] [PATCH 1/1] drm/i915: track first and last processes that touch gem objects

Konstantin Belousov kostikbel at gmail.com
Fri Feb 3 15:53:20 CET 2012


On Fri, Feb 03, 2012 at 12:43:25PM -0200, Eugeni Dodonov wrote:
> This allows to hopefully find out who was responsible for the GPU death.
> We record the 1st and last process to touch each object, to keep track of
> the process which created the object originally and the last process to
> touch it.
> 
> To simplify post-mortem analysis, we also search for the processes names
> when gathering the i915_error_state and when peeking at the list of active
> gem objects in debugfs. This is not perfect for tracking all the
> processes, as they can quit or die before their batchbuffers got executed,
> but having to track them during the entire object lifetime would be
> excessively memcpy hungry.

May be this is too stupid question, but it seems you do not track
neither writers using I915_GEM_PWRITE nor writers which modified buffer
with mmaped access.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120203/4e0ea151/attachment.sig>


More information about the Intel-gfx mailing list