]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Provide the perf pmu.module
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 16 Jul 2020 09:46:43 +0000 (10:46 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 17 Aug 2020 20:15:47 +0000 (16:15 -0400)
commit5e4aff4981d80f1d2acec4a3d8d684da1fecab70
tree7333244216c19e32ca8c62b39334efef713de517
parent36d8541a468eacd7f5dc7333ac629a89a693c2f4
drm/i915: Provide the perf pmu.module

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 <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200716094643.31410-1-chris@chris-wilson.co.uk
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/i915_pmu.c