Hi, This series is kind of an optimization we can make on Gen7.5 for dealing with the perf stream in the case where we measure workloads at boundaries of the command stream (much like what i965 INTEL_performance_query does in Mesa). Along the way to implement this, quite a few cleanups manifested themselves. igt@perf@missing-sample-flags is expected to fail with this series. An igt patch will fix this. Cheers, Lionel Landwerlin (11): drm/i915/perf: pass stream to enable metric set vfuncs drm/i915/perf: check the value of PROP_SAMPLE_OA uapi parameter drm/i915/perf: simplify OA unit enabling on gen7 drm/i915/perf: do not warn when OA buffer is already allocated drm/i915/perf: remove empty line drm/i915: rename PPGTT/GGTT fields OA registers drm/i915/perf: pass stream as argument to oa enable vfunc drm/i915/perf: add more debug message on open perf open & configs drm/i915/perf: allowing opening the perf stream without sampling drm/i915/perf: limit OA buffer size to minimum when unread drm/i915/perf: remove redundant oa buffer initialization drivers/gpu/drm/i915/i915_drv.h | 22 +---- drivers/gpu/drm/i915/i915_perf.c | 168 ++++++++++++++++++++++++--------------- drivers/gpu/drm/i915/i915_reg.h | 6 +- 3 files changed, 112 insertions(+), 84 deletions(-) -- 2.16.3 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx