Hi, This series adds support for loadable OA configurations. It is based off Matthew's initial work. This idea is to let userspace mostly hold these configurations, so they can be tweaked from userspace without patching the kernel, which is quite useful for debug purposes. I've made sent IGT tests for it : https://patchwork.freedesktop.org/series/27010/ Though this series depends on a bunch of commits not fully reviewed yet. You can find the branch here : https://github.com/djdeath/intel-gpu-tools/tree/wip/djdeath/oa-next I've also tested this with GPUTop : https://github.com/rib/gputop/commits/for-master Eventually I'll produce the patches for Mesa and we'll be able to remove most of the config from kernel space. I think it's best to leave the test configs which are quite useful to verify stuff works as expected, but if people feel they should go too, I'm okay with that. Cheers, Lionel Landwerlin (1): drm/i915/perf: prune OA configs Matthew Auld (1): drm/i915: Implement I915_PERF_ADD/REMOVE_CONFIG interface drivers/gpu/drm/i915/i915_drv.c | 2 + drivers/gpu/drm/i915/i915_drv.h | 30 + drivers/gpu/drm/i915/i915_oa_bdw.c | 5351 +-------------------------------- drivers/gpu/drm/i915/i915_oa_bxt.c | 2566 +--------------- drivers/gpu/drm/i915/i915_oa_chv.c | 2763 +---------------- drivers/gpu/drm/i915/i915_oa_glk.c | 2478 +-------------- drivers/gpu/drm/i915/i915_oa_hsw.c | 649 +--- drivers/gpu/drm/i915/i915_oa_kblgt2.c | 2876 +----------------- drivers/gpu/drm/i915/i915_oa_kblgt3.c | 2925 +----------------- drivers/gpu/drm/i915/i915_oa_sklgt2.c | 3363 +-------------------- drivers/gpu/drm/i915/i915_oa_sklgt3.c | 2924 +----------------- drivers/gpu/drm/i915/i915_oa_sklgt4.c | 2978 +----------------- drivers/gpu/drm/i915/i915_perf.c | 391 ++- drivers/gpu/drm/i915/i915_reg.h | 2 + include/uapi/drm/i915_drm.h | 21 + 15 files changed, 811 insertions(+), 28508 deletions(-) -- 2.13.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx