[Intel-gfx] [PATCH 32/37] drm/i915: Move debug only per-request pid tracking from request to ctx

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Aug 12 09:03:16 UTC 2016


On pe, 2016-08-12 at 07:54 +0100, Chris Wilson wrote:
> Since contexts are not currently shared between userspace processes, we
> have an exact correspondence between context creator and guilty batch
> submitter. Therefore we can save some per-batch work by inspecting the
> context->pid upon error instead. Note that we take the context's
> creator's pid rather than the file's pid in order to better track fd
> passed over sockets.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list