Skip to content

Change OA IGT's to run on all OA units

Ashutosh Dixit igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 2 repliesIn review
  2. v118 patches 22 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18tests/intel/xe_oa: Add OAM formats to lnl_oa_formatstests/intel/xe_oa.c+12 -00 replies
2/18tests/intel/xe_oa: Get rid of unnecessary DRM_XE_OA_PROPERTY_OA_ENGINE_INSTANCEtests/intel/xe_oa.c+0 -140 replies
3/18tests/intel/xe_oa: Rename nth_oa_unit to oa_unit_by_idtests/intel/xe_oa.c+4 -40 replies
4/18tests/intel/xe_oa: Change oa_unit_engine to take an oa_unit argumenttests/intel/xe_oa.c+8 -240 replies
5/18tests/intel/xe_oa: Add oa_unit_by_typetests/intel/xe_oa.c+19 -20 replies
6/18tests/intel/xe_oa: Add for_each_oa_unittests/intel/xe_oa.c+23 -122 replies
7/18tests/intel/xe_oa: Convert test_oa_formats to take an OA unit argumenttests/intel/xe_oa.c+71 -210 replies
8/18tests/intel/xe_oa: Convert several more tests to take OA unit argumentstests/intel/xe_oa.c+30 -300 replies
9/18tests/intel/xe_oa: Convert test_non_zero_reason to take an OA unit argumenttests/intel/xe_oa.c+8 -80 replies
10/18tests/intel/xe_oa: Convert blocking/polling tests to take OA unit argumentstests/intel/xe_oa.c+13 -130 replies
11/18tests/intel/xe_oa: Convert test_mi_rpc to take an OA unit argumenttests/intel/xe_oa.c+6 -50 replies
12/18tests/intel/xe_oa: Convert test_single_ctx_render_target_writes_a_countertests/intel/xe_oa.c+11 -70 replies
13/18tests/intel/xe_oa: Convert OA buffer mmap tests to take OA unit argumentstests/intel/xe_oa.c+36 -350 replies
14/18tests/intel/xe_oa: Convert MMIO trigger tests to take OA unit argumentstests/intel/xe_oa.c+22 -190 replies
15/18tests/intel/xe_oa: Convert sync tests to take OA unit argumentstests/intel/xe_oa.c+8 -270 replies
16/18tests/intel/xe_oa: Run test_oa_unit_exclusive_stream on multiple OA unitstests/intel/xe_oa.c+10 -760 replies
17/18tests/intel/xe_oa: Add new non-zero-reason-all testtests/intel/xe_oa.c+14 -00 replies
18/18tests/intel/xe_oa: Constify arguments to various functionstests/intel/xe_oa.c+64 -560 replies

Reviews trailers per patch

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

PatchUmesh Nerlige Ramappa
1/18R-b
2/18R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b
7/18R-b
8/18R-b
9/18R-b
10/18R-b
11/18R-b
12/18R-b
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

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

Read the v2 thread

Cover letter [PATCH i-g-t v2 00/18] Change OA IGT's to run on all OA units

Previously OA IGT's were running only on the OAG OA unit. This patchset changes the tests so they can be run on any/all OA units. For example, on BMG, the non-zero-reason-all test will now result in the following output:

	$ sudo ./build/tests/xe_oa --r non-zero-reason-all
	IGT-Version: 2.2-g30a56696e (x86_64) (Linux: 6.15.0+ x86_64)
	Using IGT_SRANDOM=1759524233 for randomisation
	Opened device: /dev/dri/card0
	Starting subtest: non-zero-reason-all
	Starting dynamic subtest: oag-0
	Dynamic subtest oag-0: SUCCESS (0.055s)
	Starting dynamic subtest: sag-1
	Dynamic subtest sag-1: SUCCESS (0.071s)
	Starting dynamic subtest: oam-2
	Dynamic subtest oam-2: SUCCESS (0.069s)
	Starting dynamic subtest: oam-3
	Dynamic subtest oam-3: SUCCESS (0.068s)
	Subtest non-zero-reason-all: SUCCESS (0.263s)

v2: Address code review comments from Umesh

Ashutosh Dixit (18):
tests/intel/xe_oa: Add OAM formats to lnl_oa_formats tests/intel/xe_oa: Get rid of unnecessary
DRM_XE_OA_PROPERTY_OA_ENGINE_INSTANCE
tests/intel/xe_oa: Rename nth_oa_unit to oa_unit_by_id tests/intel/xe_oa: Change oa_unit_engine to take an oa_unit argument tests/intel/xe_oa: Add oa_unit_by_type
tests/intel/xe_oa: Add for_each_oa_unit
tests/intel/xe_oa: Convert test_oa_formats to take an OA unit argument tests/intel/xe_oa: Convert several more tests to take OA unit
arguments
tests/intel/xe_oa: Convert test_non_zero_reason to take an OA unit
argument
tests/intel/xe_oa: Convert blocking/polling tests to take OA unit
arguments
tests/intel/xe_oa: Convert test_mi_rpc to take an OA unit argument tests/intel/xe_oa: Convert
test_single_ctx_render_target_writes_a_counter
tests/intel/xe_oa: Convert OA buffer mmap tests to take OA unit
arguments
tests/intel/xe_oa: Convert MMIO trigger tests to take OA unit
arguments
tests/intel/xe_oa: Convert sync tests to take OA unit arguments tests/intel/xe_oa: Run test_oa_unit_exclusive_stream on multiple OA
units
tests/intel/xe_oa: Add new non-zero-reason-all test tests/intel/xe_oa: Constify arguments to various functions

 tests/intel/xe_oa.c | 506 ++++++++++++++++++++++----------------------
 1 file changed, 256 insertions(+), 250 deletions(-)
Signature · 1 line
2.48.1