Some pertinent changes suggested by Chris. The most important one being using the indirect-ctx batchbuffer. Cheers, Lionel Landwerlin (4): drm/i915: don't specify pinned size for wa_bb pin/allocation drm/i915: extract per-ctx/indirect bb programming drm/i915: pass wa_ctx as argument drm/i915: reprogram NOA muxes on context switch when using perf drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_perf.c | 130 ++++++++++++++++++++++++++++----------- drivers/gpu/drm/i915/intel_lrc.c | 113 ++++++++++++++++++++++++++-------- drivers/gpu/drm/i915/intel_lrc.h | 1 + 4 files changed, 187 insertions(+), 59 deletions(-) -- 2.14.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx