Re: [Intel-gfx] [PATCH 3/9] drm/i915: Make GEM contexts track DRM clients

2020-09-14 Thread Tvrtko Ursulin
On 11/09/2020 07:44, Lucas De Marchi wrote: On Fri, Sep 04, 2020 at 01:59:28PM +0100, Tvrtko Ursulin wrote: 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 fr

[Intel-gfx] [PATCH 3/9] drm/i915: Make GEM contexts track DRM clients

2020-09-14 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. v2: * Don't bother supporting selftests contexts from debugfs. (Chris) v3: * Trivial rebase.

Re: [Intel-gfx] [PATCH 3/9] drm/i915: Make GEM contexts track DRM clients

2020-09-11 Thread Tvrtko Ursulin
On 11/09/2020 07:44, Lucas De Marchi wrote: On Fri, Sep 04, 2020 at 01:59:28PM +0100, Tvrtko Ursulin wrote: 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 fr

Re: [Intel-gfx] [PATCH 3/9] drm/i915: Make GEM contexts track DRM clients

2020-09-10 Thread Lucas De Marchi
On Fri, Sep 04, 2020 at 01:59:28PM +0100, Tvrtko Ursulin wrote: 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. v2: * Don't bother supporting

[Intel-gfx] [PATCH 3/9] drm/i915: Make GEM contexts track DRM clients

2020-09-04 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. v2: * Don't bother supporting selftests contexts from debugfs. (Chris) v3: * Trivial rebase.

[Intel-gfx] [PATCH 3/9] drm/i915: Make GEM contexts track DRM clients

2020-04-15 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. v2: * Don't bother supporting selftests contexts from debugfs. (Chris) Signed-off-by: Tvrtko U