diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-03-29 10:11:28 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-03-29 17:03:14 +0100 |
commit | d3cec95b5ef68728e3b993b3560288cf1a2c14a0 (patch) | |
tree | 4cb3126c1e23b0201d20e7e2c018b78090a49253 /lib/uwildmat | |
parent | 2cbd4ddf11b3eaf01f33d8bc2ad46411ec6c299a (diff) |
tests/perf_pmu: Fix usage of for_each_engine_class_instance
Wrong file descriptor was passed to the iterator. This had currently no
effect, since it wasn't used in the macro, but needs to be fixed.
At the same time make the macro consistent by checking for engine presence
like the other iterators do.
Added __for_each_engine_class_instance which does not check for engine
presence and so is useful for enumerating all possible engines - like for
instance for subtest enumeration.
And another 'wrong fd used' fixlet in the render node subtests.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reported-by: Michel Thierry <michel.thierry@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Diffstat (limited to 'lib/uwildmat')
0 files changed, 0 insertions, 0 deletions