On Fri, 25 Oct 2019 at 17:55, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: > > As the GT may be running in parallel with the module initialisation > code, we may enter i915_pmu_gt_parked() as we are executing > i915_pmu_register(). We have to init the spinlock before we mark > pmu.event_init so that it is available for use by i915_pmu_gt_parked() > (which may run as soon as event_init is set). > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112127 > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx> _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx