Files
linux/drivers/gpu/drm
Chris Wilson fc4f125d95 drm/i915/gem: Embed context/timeline name inside the GEM context
Use a small char buffer inside the i915_gem_context to store the user
friendly name so that ctx->name has the same lifetime as the RCU
protected GEM context. That is, e.g. when using print_request() that
prints the timeline name (ctx->name), the name will not be prematurely
freed upon the context being closed and the last reference dropped.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191111114323.5833-2-chris@chris-wilson.co.uk
2019-11-11 11:46:40 +00:00
..
2019-08-14 18:31:10 +02:00
2019-10-04 17:04:05 +01:00
2019-10-03 16:38:50 +02:00
2019-06-30 09:48:05 +02:00
2019-10-03 16:38:50 +02:00
2019-10-03 16:38:50 +02:00
2019-07-17 12:52:55 +02:00
2019-07-15 18:11:31 +02:00
2019-09-16 15:14:43 +02:00
2019-07-17 12:52:55 +02:00
2019-10-03 16:38:50 +02:00
2019-07-22 21:24:10 +02:00
2019-10-02 16:28:55 +03:00
2019-07-22 21:24:10 +02:00
2019-10-02 16:28:55 +03:00
2019-10-03 16:38:50 +02:00