From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> 1. Fixes for intel-gpu-overlay to work on top of the proposed i915 PMU perf API. 2. New test to exercise the same API. 3. Update to gem_wsim and media-bench.pl to be able to use engine busyness via PMU for making balancing decisions. v2: * Added gem_wsim and media-bench.pl patches. * Comments and fixes for the perf_pmu test. Tvrtko Ursulin (7): intel-gpu-overlay: Move local perf implementation to a library intel-gpu-overlay: Consolidate perf PMU access to library intel-gpu-overlay: Fix interrupts PMU readout intel-gpu-overlay: Catch-up to new i915 PMU tests/perf_pmu: Tests for i915 PMU API gem_wsim: Busy stats balancers media-bench.pl: Add busy balancers to the list benchmarks/gem_wsim.c | 140 ++++++++ lib/Makefile.sources | 2 + lib/igt_gt.c | 50 +++ lib/igt_gt.h | 38 +++ lib/igt_perf.c | 59 ++++ lib/igt_perf.h | 100 ++++++ overlay/Makefile.am | 6 +- overlay/gem-interrupts.c | 25 +- overlay/gpu-freq.c | 25 +- overlay/gpu-perf.c | 3 +- overlay/gpu-top.c | 87 +++-- overlay/perf.c | 26 -- overlay/perf.h | 64 ---- overlay/power.c | 22 +- overlay/rc6.c | 27 +- scripts/media-bench.pl | 5 +- tests/Makefile.sources | 1 + tests/perf_pmu.c | 869 +++++++++++++++++++++++++++++++++++++++++++++++ 18 files changed, 1326 insertions(+), 223 deletions(-) create mode 100644 lib/igt_perf.c create mode 100644 lib/igt_perf.h delete mode 100644 overlay/perf.c delete mode 100644 overlay/perf.h create mode 100644 tests/perf_pmu.c -- 2.9.5 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx