Re: [Intel-gfx] [RFC 03/12] drm/i915: Make GEM contexts track DRM clients

2020-03-10 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-03-09 18:31:20) > From: Tvrtko Ursulin > > If we make GEM contexts keep a reference to i915_drm_client for the whole > of their lifetime, we can consolidate the current task pid and name usage > by getting it from the client. > > Signed-off-by: Tvrtko Ursulin > ---

[Intel-gfx] [RFC 03/12] drm/i915: Make GEM contexts track DRM clients

2020-03-09 Thread Tvrtko Ursulin
From: Tvrtko Ursulin If we make GEM contexts keep a reference to i915_drm_client for the whole of their lifetime, we can consolidate the current task pid and name usage by getting it from the client. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 23 +