Re: [Intel-gfx] [PATCH] drm/i915: Provide the perf pmu.module

2020-07-16 Thread Tvrtko Ursulin
On 16/07/2020 10:46, Chris Wilson wrote: Rather than manually implement our own module reference counting for perf pmu events, finally realise that there is a module parameter to struct pmu for this very purpose. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: sta...@vger.kernel.org ---

[Intel-gfx] [PATCH] drm/i915: Provide the perf pmu.module

2020-07-16 Thread Chris Wilson
Rather than manually implement our own module reference counting for perf pmu events, finally realise that there is a module parameter to struct pmu for this very purpose. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: sta...@vger.kernel.org --- drivers/gpu/drm/i915/i915_pmu.c | 7 ++-