Hi again, This break one of the commit in 2 so that hold preemption infrastructure is separate from perf using the feature. Hopefully it addresses the last bits of locking issues around OA configurations. Finally added the Rbs from Chris. Thanks a lot, Lionel Landwerlin (13): drm/i915/perf: ensure we keep a reference on the driver drm/i915/perf: add missing delay for OA muxes configuration drm/i915/perf: introduce a versioning of the i915-perf uapi drm/i915/perf: allow for CS OA configs to be created lazily drm/i915: enumerate scratch fields drm/i915/perf: implement active wait for noa configurations drm/i915: introduce a mechanism to extend execbuf2 drm/i915: add syncobj timeline support drm/i915: add a new perf configuration execbuf parameter drm/i915: add infrastructure to hold off preemption on a request drm/i915/perf: allow holding preemption on filtered ctx drm/i915/perf: execute OA configuration from command stream drm/i915: add support for perf configuration queries .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 468 +++++++++++-- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 + drivers/gpu/drm/i915/gt/intel_engine_types.h | 9 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 25 + drivers/gpu/drm/i915/gt/intel_gt.h | 6 +- drivers/gpu/drm/i915/gt/intel_gt_types.h | 20 + drivers/gpu/drm/i915/gt/intel_lrc.c | 32 +- drivers/gpu/drm/i915/gt/intel_ringbuffer.c | 35 +- drivers/gpu/drm/i915/i915_debugfs.c | 31 + drivers/gpu/drm/i915/i915_drv.c | 11 +- drivers/gpu/drm/i915/i915_drv.h | 62 +- drivers/gpu/drm/i915/i915_perf.c | 661 +++++++++++++++--- drivers/gpu/drm/i915/i915_priolist_types.h | 7 + drivers/gpu/drm/i915/i915_query.c | 277 ++++++++ drivers/gpu/drm/i915/i915_reg.h | 4 +- drivers/gpu/drm/i915/i915_request.c | 4 +- drivers/gpu/drm/i915/i915_request.h | 14 +- drivers/gpu/drm/i915/intel_guc_submission.c | 10 +- drivers/gpu/drm/i915/intel_pm.c | 5 +- include/uapi/drm/i915_drm.h | 193 ++++- 20 files changed, 1678 insertions(+), 198 deletions(-) -- 2.22.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx