]> 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)
commit31ca4859b1253d66c759c41ed8811df91f72ae64
treed9d5334b4be5f2bbeaa8d337284aa2f78bd1ba48
parentba7dfa3d150d342d221094cbb2769535d5903a2c
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