Re: [PATCH 6/8] drm/i915/pmu: Replace closed with registered

2024-10-29 Thread Matt Roper
On Fri, Oct 11, 2024 at 03:54:28PM -0700, Lucas De Marchi wrote: > Since i915 calls perf_pmu_register/perf_pmu_unregister, let's call the > variable "registered" so we can flip the logic and rely on it being > false by default. Looking at other drivers, it's also more common. > Examples: arch/x86/e

[PATCH 6/8] drm/i915/pmu: Replace closed with registered

2024-10-11 Thread Lucas De Marchi
Since i915 calls perf_pmu_register/perf_pmu_unregister, let's call the variable "registered" so we can flip the logic and rely on it being false by default. Looking at other drivers, it's also more common. Examples: arch/x86/events/intel/uncore.c and drivers/powercap/intel_rapl_common.c. Signed-of