Skip to content

corresponding changes for i915-perf interface

Robert Bragg intel-gfx 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest13 patches 4 repliesIn review
  2. v311 patches 13 repliesSuperseded
  3. v26 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches1 replySuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13igt/perf: add i915 perf stream tests for Haswelltests/Makefile.sources tests/perf.c+2374 -00 replies
2/13igt/gem_exec_parse: some minor cleanupstests/gem_exec_parse.c+66 -1300 replies
3/13igt/gem_exec_parse: move hsw_load_register_reg downtests/gem_exec_parse.c+91 -910 replies
4/13igt/gem_exec_parse: update hsw_load_register_regtests/gem_exec_parse.c+64 -730 replies
5/13igt/gem_exec_parse: make global vars local to main()tests/gem_exec_parse.c+3 -31 reply
6/13igt/gem_exec_parse: init global parser_version in fixturetests/gem_exec_parse.c+4 -91 reply
7/13igt/gem_exec_parse: req. v < 9 for oacontrol tracking testtests/gem_exec_parse.c+3 -00 replies
8/13igt/gem_exec_parse: make basic-rejected version agnostictests/gem_exec_parse.c+20 -110 replies
9/13igt/gem_exec_parse: update bitmasks test for v >=8tests/gem_exec_parse.c+14 -40 replies
10/13igt/gem_exec_parse: update cmd-crossing-page for >= v8tests/gem_exec_parse.c+13 -20 replies
11/13igt/gem_exec_parse: update hsw_load_register_reg for v >= 8tests/gem_exec_parse.c+13 -10 replies
12/13igt/gem_exec_parse: update registers test for v >= 8tests/gem_exec_parse.c+49 -456 replies
13/13igt/gem_exec_parse: check oacontrol lri bad for >= v9tests/gem_exec_parse.c+25 -00 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchMatthew AuldChris Wilson
1/13R-b
2/13R-b
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b R-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH igt v4 00/13] corresponding changes for i915-perf interface

The i915-perf series affects the command parser and itself includes new uapi which these i-g-t changes try to cover.

This update follows up on review from both Matt and Chris.

A minor change I ended up making was to rename the hsw_oa_formats[] array to oa_formats[] indexed by the format ID so the test could more easily get to the C counter offset for a given format which I think helps make test_oa_exponents clearer, avoiding using '224' with a /* C offset */ comment. The same array may be extended later for testing gen8+ so I've removed the hsw_ prefix for now.

I noticed the existing handle and fd global variables could be made local to main() and so added a minor patch for that.

perf.c no longer depends on the i915_drm.h copy in libdrm including the i915 perf interface since the test itself includes a guarded copy of the new uapi for now.

- Robert

Robert Bragg (13):
igt/perf: add i915 perf stream tests for Haswell igt/gem_exec_parse: some minor cleanups igt/gem_exec_parse: move hsw_load_register_reg down igt/gem_exec_parse: update hsw_load_register_reg igt/gem_exec_parse: make global vars local to main() igt/gem_exec_parse: init global parser_version in fixture igt/gem_exec_parse: req. v < 9 for oacontrol tracking test igt/gem_exec_parse: make basic-rejected version agnostic igt/gem_exec_parse: update bitmasks test for v >=8 igt/gem_exec_parse: update cmd-crossing-page for >= v8 igt/gem_exec_parse: update hsw_load_register_reg for v >= 8 igt/gem_exec_parse: update registers test for v >= 8 igt/gem_exec_parse: check oacontrol lri bad for >= v9

 tests/Makefile.sources |    1 +
 tests/gem_exec_parse.c |  568 ++++++------
 tests/perf.c           | 2373 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 2656 insertions(+), 286 deletions(-)
 create mode 100644 tests/perf.c
Signature · 6 lines
2.10.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx