[PATCH 0/4] drm/i915/pmu: Refactors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Extract refactors from https://patchwork.freedesktop.org/series/136362/
to land them independently. With recent developments in the perf side,
the fixes won't be needed anymore as perf_pmu_unregister() should be
able to do the right thing. See https://lore.kernel.org/all/20241104133909.669111662@xxxxxxxxxxxxx/

With that, we can drop a few patches, keeping just the generic
refactors my series included. And in future, with a fixed
perf_pmu_unregister() we may simplify our checks by
pmu->registered too.

Lucas De Marchi (4):
  drm/i915/pmu: Rename cpuhp_slot to cpuhp_state
  drm/i915/pmu: Stop setting event_init to NULL
  drm/i915/pmu: Replace closed with registered
  drm/i915/pmu: Remove pointless synchronize_rcu() call

 drivers/gpu/drm/i915/i915_pmu.c | 50 +++++++++++++--------------------
 drivers/gpu/drm/i915/i915_pmu.h |  4 +--
 2 files changed, 22 insertions(+), 32 deletions(-)

-- 
2.47.0




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux