Re: [Intel-gfx] [RFC 02/10] drm/i915: Update client name on context create

2020-03-13 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-03-11 18:26:10) > diff --git a/drivers/gpu/drm/i915/gem/i915_gem_context.c > b/drivers/gpu/drm/i915/gem/i915_gem_context.c > index cb6b6be48978..2c3fd9748d39 100644 > --- a/drivers/gpu/drm/i915/gem/i915_gem_context.c > +++ b/drivers/gpu/drm/i915/gem/i915_gem_context.c

[Intel-gfx] [RFC 02/10] drm/i915: Update client name on context create

2020-03-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Some clients have the DRM fd passed to them over a socket by the X server. Grab the real client and pid when they create their first context and update the exposed data for more useful enumeration. To enable lockless access to client name and pid data from the following