[PATCH 6.5 040/112] drm/i915/pmu: Check if pmu is closed before stopping event