Re: [Intel-gfx] [PATCH i-g-t v6 7/9] tests/perf_pmu: Tests for i915 PMU API

2017-10-10 Thread Chris Wilson
Quoting Tvrtko Ursulin (2017-10-10 15:17:54) > +static void > +busy_check_all(int gem_fd, const struct intel_execution_engine2 *e, > + const unsigned int num_engines) > +{ > + const struct intel_execution_engine2 *e_; > + uint64_t val[num_engines]; > + int fd[num_engi

[Intel-gfx] [PATCH i-g-t v6 7/9] tests/perf_pmu: Tests for i915 PMU API

2017-10-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin A bunch of tests for the new i915 PMU feature. Parts of the code were initialy sketched by Dmitry Rogozhkin. v2: (Most suggestions by Chris Wilson) * Add new class/instance based engine list. * Add gem_has_engine/gem_require_engine to work with class/instance. * Use the