Re: [Intel-gfx] [PATCH v3 7/7] drm/i915/perf: remove perf.hook_lock

2017-04-12 Thread Matthew Auld
On 04/05, Robert Bragg wrote: > In earlier iterations of the i915-perf driver we had a number of > callbacks/hooks from other parts of the i915 driver to e.g. notify us > when a legacy context was pinned and these could run asynchronously with > respect to the stream file operations and might also

[Intel-gfx] [PATCH v3 7/7] drm/i915/perf: remove perf.hook_lock

2017-04-05 Thread Robert Bragg
In earlier iterations of the i915-perf driver we had a number of callbacks/hooks from other parts of the i915 driver to e.g. notify us when a legacy context was pinned and these could run asynchronously with respect to the stream file operations and might also run in atomic context. dev_priv->perf