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)
commit562f5d45508bc376cf537d414cd944cff5e453f7
treed9d5334b4be5f2bbeaa8d337284aa2f78bd1ba48
parent85e17f5974b357bc4a127be09de71b430be265e0
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