]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Create a unique name for the context
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 12:58:54 +0000 (13:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 19:53:55 +0000 (20:53 +0100)
commit8c8aae49aeccedaa3561e048134a4974c7c50861
treed9d5334b4be5f2bbeaa8d337284aa2f78bd1ba48
parent0a70eb27d3b8c32e126163557391251e0f7d4240
drm/i915: Create a unique name for the context

This will be used for communicating issues with this context to
userspace, so we want to identify the parent process and the individual
context. Note that the name isn't quite unique, it makes the presumption
of there only being a single device fd per process.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161028125858.23563-31-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c