[PATCH v8 07/12] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-10-31 Thread Matthew Auld
On 28 October 2016 at 03:14, Robert Bragg wrote: > Gen graphics hardware can be set up to periodically write snapshots of > performance counters into a circular buffer via its Observation > Architecture and this patch exposes that capability to userspace via the > i915 perf interface. > > v2: >

[PATCH v8 07/12] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-10-28 Thread Robert Bragg
Gen graphics hardware can be set up to periodically write snapshots of performance counters into a circular buffer via its Observation Architecture and this patch exposes that capability to userspace via the i915 perf interface. v2: Make sure to initialize ->specific_ctx_id when opening,