Re: [Intel-gfx] [PATCH v2 06/10] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-05-03 Thread Robert Bragg
On Fri, Apr 29, 2016 at 7:50 PM, Matthew Auld < matthew.william.a...@gmail.com> wrote: > > + bo = i915_gem_object_create(dev_priv->dev, OA_BUFFER_SIZE); > > + if (bo == NULL) { > > IS_ERR() > Ah, yup, thanks. ___ Intel-gfx mailing list

Re: [Intel-gfx] [PATCH v2 06/10] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-04-29 Thread Matthew Auld
> + bo = i915_gem_object_create(dev_priv->dev, OA_BUFFER_SIZE); > + if (bo == NULL) { IS_ERR() ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] [PATCH v2 06/10] drm/i915: Enable i915 perf stream for Haswell OA unit

2016-04-29 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. Cc: Chris Wilson Signed-off-by: Robert