Re: [PATCH 2/8] drm/i915/pmu: Let resource survive unbind

2024-10-18 Thread Matt Roper
On Fri, Oct 11, 2024 at 03:54:24PM -0700, Lucas De Marchi wrote: > There's no need to free the resources during unbind. Since perf events > may still access them due to open events, it's safer to free them when > dropping the last i915 reference. It will also allow to ask perf to > release its own

[PATCH 2/8] drm/i915/pmu: Let resource survive unbind

2024-10-11 Thread Lucas De Marchi
There's no need to free the resources during unbind. Since perf events may still access them due to open events, it's safer to free them when dropping the last i915 reference. It will also allow to ask perf to release its own resources when dropping the last reference in a follow up change. Signed