[PATCH i-g-t v2 00/10] Add per-client engine utilization tests
Umesh Nerlige Ramappa
umesh.nerlige.ramappa at intel.com
Wed Jul 3 00:25:22 UTC 2024
Port per client engine utilization tests from i915 to xe.
v2:
- Add a test to destroy exec queue before capturing sample
- Include review comments from Lucas/Riana
Opens from v1 review
---
1) Documenting mapping for TEST_BUSY/TEST_TRAILING_IDLE etc to tests
- Not seeing a clean way to do this since some tests iterate over all engine and
some over virtual engines and then some tests omit hwe/width/count params.
Would leave it as is if acceptable.
2) Busyness > 100%
- sampling RING_TIMESTAMP before utilization values is likely leading to this
error. Ideally RING TIMESTAMP should be sampled before 1st sample and after 2nd
sample, but that's not feasible. It can only be one way for each sample -
either before or after.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
Umesh Nerlige Ramappa (10):
tests/intel/xe_drm_fdinfo: Rename basic to basic-memory test
tests/intel/xe_drm_fdinfo: Add basic-engine-utilization test
tests/intel/xe_drm_fdinfo: Add helper to read utilization for all
classes
tests/intel/xe_drm_fdinfo: Add helpers for spinning batches
tests/intel/xe_drm_fdinfo: Add single engine tests
tests/intel/xe_drm_fdinfo: Add tests to verify all class utilization
tests/intel/xe_drm_fdinfo: Add an iterator for virtual engines
tests/intel/xe_drm_fdinfo: Add tests for virtual engines
tests/intel/xe_drm_fdinfo: Add tests for parallel engines
tests/intel/xe_drm_fdinfo: Ensure queue destroy records load correctly
tests/intel/xe_drm_fdinfo.c | 587 +++++++++++++++++++++++++++++++++++-
1 file changed, 577 insertions(+), 10 deletions(-)
--
2.38.1
More information about the igt-dev
mailing list