Better document i915 tests
v2 cover Better document i915 tests
From: Mauro Carvalho Chehab <[email protected]>
The i915 test documentation has several gaps. Convert them to use igt_doc.py tool, adding information from existing sources.
Please notice that the last two patches on this series were generated by a script which collects data from several different sources.
This is the first step to have a more comprehensive documentation for i915 tests. Manual work will be needed in order to do some additional cleanups.
---
v2:
- add support to expand testlist fields, as i915 may have the same test on multiple test lists;
- do some test_list.py cleanups based on Ruff warnings;
- rebased to be applied after KMS test documentation;
- feature names are now alphabetically sorted;
- some minor improvements at the igt doc comments, due to some improvements at the generation script.
Mauro Carvalho Chehab (6):
scripts/test_list.py: expand testlist fields scripts/test_list.py: add support to exclude files scripts/test_list.py: fix some hints pointed by Ruff testplan/meson.build: add i915 support for a testplan document tests/i915: Improve test documentation
tests/i915: Enhance test documentation
docs/testplan/conf.py | 2 +- docs/testplan/meson.build | 6 +- scripts/test_list.py | 38 +- tests/core_auth.c | 25 + tests/core_getclient.c | 12 + tests/core_getstats.c | 12 + tests/core_getversion.c | 12 + tests/core_hotunplug.c | 50 + tests/core_setmaster.c | 19 + tests/core_setmaster_vs_auth.c | 13 + tests/debugfs_test.c | 38 + tests/device_reset.c | 25 + tests/dmabuf.c | 8 + tests/drm_mm.c | 8 + tests/dumb_buffer.c | 37 + tests/i915/api_intel_allocator.c | 77 + tests/i915/api_intel_bb.c | 111 ++ tests/i915/drm_fdinfo.c | 44 + tests/i915/gem_bad_reloc.c | 19 + tests/i915/gem_barrier_race.c | 14 + tests/i915/gem_basic.c | 37 + tests/i915/gem_blits.c | 11 + tests/i915/gem_busy.c | 46 + tests/i915/gem_caching.c | 20 + tests/i915/gem_ccs.c | 33 + tests/i915/gem_close.c | 13 + tests/i915/gem_close_race.c | 53 + tests/i915/gem_create.c | 89 ++ tests/i915/gem_cs_tlb.c | 12 + tests/i915/gem_ctx_bad_destroy.c | 18 + tests/i915/gem_ctx_create.c | 77 + tests/i915/gem_ctx_engines.c | 26 + tests/i915/gem_ctx_exec.c | 53 + tests/i915/gem_ctx_freq.c | 11 + tests/i915/gem_ctx_isolation.c | 53 + tests/i915/gem_ctx_param.c | 146 ++ tests/i915/gem_ctx_persistence.c | 154 ++ tests/i915/gem_ctx_shared.c | 56 + tests/i915/gem_ctx_sseu.c | 14 + tests/i915/gem_ctx_switch.c | 365 +++++ tests/i915/gem_eio.c | 178 +++ tests/i915/gem_evict_alignment.c | 17 + tests/i915/gem_evict_everything.c | 61 + tests/i915/gem_exec_alignment.c | 27 + tests/i915/gem_exec_async.c | 14 + tests/i915/gem_exec_await.c | 16 + tests/i915/gem_exec_balancer.c | 218 +++ tests/i915/gem_exec_basic.c | 16 + tests/i915/gem_exec_big.c | 14 + tests/i915/gem_exec_capture.c | 40 + tests/i915/gem_exec_create.c | 44 + tests/i915/gem_exec_endless.c | 11 + tests/i915/gem_exec_fair.c | 92 ++ tests/i915/gem_exec_fence.c | 369 +++++ tests/i915/gem_exec_flush.c | 1496 +++++++++++++++++++ tests/i915/gem_exec_gttfill.c | 35 + tests/i915/gem_exec_latency.c | 30 + tests/i915/gem_exec_lut_handle.c | 7 + tests/i915/gem_exec_nop.c | 63 + tests/i915/gem_exec_parallel.c | 43 + tests/i915/gem_exec_params.c | 179 +++ tests/i915/gem_exec_reloc.c | 593 ++++++++ tests/i915/gem_exec_schedule.c | 336 +++++ tests/i915/gem_exec_store.c | 33 + tests/i915/gem_exec_suspend.c | 81 + tests/i915/gem_exec_whisper.c | 256 ++++ tests/i915/gem_exercise_blt.c | 17 + tests/i915/gem_fd_exhaustion.c | 6 + tests/i915/gem_fence_thrash.c | 19 + tests/i915/gem_fence_upload.c | 16 + tests/i915/gem_fenced_exec_thrash.c | 18 + tests/i915/gem_flink_basic.c | 39 + tests/i915/gem_flink_race.c | 17 + tests/i915/gem_gpgpu_fill.c | 11 + tests/i915/gem_gtt_cpu_tlb.c | 8 + tests/i915/gem_gtt_hog.c | 6 + tests/i915/gem_gtt_speed.c | 6 + tests/i915/gem_huc_copy.c | 11 + tests/i915/gem_linear_blits.c | 25 + tests/i915/gem_lmem_evict.c | 10 + tests/i915/gem_lmem_swapping.c | 121 ++ tests/i915/gem_lut_handle.c | 7 + tests/i915/gem_madvise.c | 31 + tests/i915/gem_media_fill.c | 8 + tests/i915/gem_media_vme.c | 8 + tests/i915/gem_mmap.c | 57 + tests/i915/gem_mmap_gtt.c | 488 ++++++ tests/i915/gem_mmap_offset.c | 76 + tests/i915/gem_mmap_wc.c | 67 + tests/i915/gem_partial_pwrite_pread.c | 62 + tests/i915/gem_pipe_control_store_loop.c | 17 + tests/i915/gem_ppgtt.c | 29 + tests/i915/gem_pread.c | 17 + tests/i915/gem_pread_after_blit.c | 29 + tests/i915/gem_pwrite.c | 67 + tests/i915/gem_pwrite_snooped.c | 8 + tests/i915/gem_pxp.c | 79 + tests/i915/gem_read_read_speed.c | 61 + tests/i915/gem_readwrite.c | 15 + tests/i915/gem_reg_read.c | 11 + tests/i915/gem_render_copy.c | 120 ++ tests/i915/gem_render_copy_redux.c | 17 + tests/i915/gem_render_linear_blits.c | 16 + tests/i915/gem_render_tiled_blits.c | 27 + tests/i915/gem_request_retire.c | 12 + tests/i915/gem_reset_stats.c | 178 +++ tests/i915/gem_ringfill.c | 123 ++ tests/i915/gem_set_tiling_vs_blt.c | 15 + tests/i915/gem_set_tiling_vs_gtt.c | 8 + tests/i915/gem_set_tiling_vs_pwrite.c | 8 + tests/i915/gem_shrink.c | 111 ++ tests/i915/gem_softpin.c | 203 +++ tests/i915/gem_spin_batch.c | 66 + tests/i915/gem_streaming_writes.c | 29 + tests/i915/gem_stress.c | 7 + tests/i915/gem_sync.c | 247 +++ tests/i915/gem_tiled_blits.c | 17 + tests/i915/gem_tiled_fence_blits.c | 15 + tests/i915/gem_tiled_partial_pwrite_pread.c | 12 + tests/i915/gem_tiled_pread_basic.c | 8 + tests/i915/gem_tiled_pread_pwrite.c | 8 + tests/i915/gem_tiled_swapping.c | 10 + tests/i915/gem_tiled_wb.c | 10 + tests/i915/gem_tiled_wc.c | 7 + tests/i915/gem_tiling_max_stride.c | 8 + tests/i915/gem_unfence_active_buffers.c | 8 + tests/i915/gem_unref_active_buffers.c | 12 + tests/i915/gem_userptr_blits.c | 356 +++++ tests/i915/gem_vm_create.c | 39 + tests/i915/gem_wait.c | 71 + tests/i915/gem_watchdog.c | 11 + tests/i915/gem_workarounds.c | 71 + tests/i915/gen3_mixed_blits.c | 7 + tests/i915/gen3_render_linear_blits.c | 7 + tests/i915/gen3_render_mixed_blits.c | 7 + tests/i915/gen3_render_tiledx_blits.c | 7 + tests/i915/gen3_render_tiledy_blits.c | 7 + tests/i915/gen7_exec_parse.c | 31 + tests/i915/gen9_exec_parse.c | 47 + tests/i915/i915_fb_tiling.c | 8 + tests/i915/i915_getparams_basic.c | 19 + tests/i915/i915_hangman.c | 83 + tests/i915/i915_hwmon.c | 13 + tests/i915/i915_module_load.c | 40 + tests/i915/i915_pciid.c | 13 + tests/i915/i915_pipe_stress.c | 17 + tests/i915/i915_pm_backlight.c | 25 + tests/i915/i915_pm_dc.c | 41 + tests/i915/i915_pm_freq_api.c | 11 + tests/i915/i915_pm_freq_mult.c | 10 + tests/i915/i915_pm_lpsp.c | 12 + tests/i915/i915_pm_rc6_residency.c | 16 + tests/i915/i915_pm_rpm.c | 190 +++ tests/i915/i915_pm_rps.c | 42 + tests/i915/i915_pm_sseu.c | 8 + tests/i915/i915_power.c | 12 + tests/i915/i915_query.c | 97 ++ tests/i915/i915_selftest.c | 16 + tests/i915/i915_suspend.c | 79 + tests/i915/i915_test_config.json | 88 ++ tests/i915/perf.c | 266 ++++ tests/i915/perf_pmu.c | 250 ++++ tests/i915/sysfs_defaults.c | 12 + tests/i915/sysfs_heartbeat_interval.c | 25 + tests/i915/sysfs_preempt_timeout.c | 18 + tests/i915/sysfs_timeslice_duration.c | 24 + tests/prime_busy.c | 27 + tests/prime_mmap.c | 33 + tests/prime_mmap_coherency.c | 20 + tests/prime_self_import.c | 50 + tests/prime_vgem.c | 110 ++ tests/sw_sync.c | 46 + tests/syncobj_basic.c | 34 + tests/syncobj_timeline.c | 398 +++++ tests/syncobj_wait.c | 284 ++++ tests/vgem_basic.c | 117 ++ tests/vgem_slow.c | 13 + 177 files changed, 12110 insertions(+), 13 deletions(-) create mode 100644 tests/i915/i915_test_config.json
Signature · 1 line
2.40.1
PATCH v2 1/6 scripts/test_list.py: expand testlist fields
From: Mauro Carvalho Chehab <[email protected]>
We're about to add support for i915 testlists. On those, it is possible to have functionalities mapped to different buckets, as the same test could be used to test multiple parts of the driver/hardware.
So, for instance, the subtest igt@prime_vgem@basic-fence-mmap actually tests two features:
- gtt
- prime
A description of such test will then be mapped as:
* SUBTEST: basic-fence-mmap
* Description: Examine GTT access path fencing.
* Feature: gtt, prime
In order to be able to generate per-feature testlists, we need to expand the Feature field, using the separator field (currently a comma) to expand the test lists.
--- scripts/test_list.py | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-)
scripts/test_list.py +14 -6
@@ -762,7 +762,7 @@ class TestList: # Subtest list methods # - def get_subtests(self, sort_field = None): + def get_subtests(self, sort_field = None, expand = None): """Return an array with all subtests"""
@@ -789,10 +789,17 @@ class TestList: if sort_field: if sort_field in subtest: - if subtest[sort_field] not in subtests: - subtests[subtest[sort_field]] = [] - - subtests[subtest[sort_field]].append(subtest["Summary"]) + if expand: + test_list = subtest[sort_field].split(expand) + for test_elem in test_list: + test_elem = test_elem.strip() + if test_elem not in subtests: + subtests[test_elem] = [] + subtests[test_elem].append(subtest["Summary"]) + else: + if subtest[sort_field] not in subtests: + subtests[subtest[sort_field]] = [] + subtests[subtest[sort_field]].append(subtest["Summary"]) else: subtests[""].append(subtest["Summary"])
@@ -1132,7 +1139,8 @@ class TestList: test_prefix = os.path.commonprefix(self.get_subtests()[""]) test_prefix = re.sub(r'^igt@', '', test_prefix) - test_subtests = self.get_subtests(sort_field) + # NOTE: currently, it uses a comma for multi-value delimitter + test_subtests = self.get_subtests(sort_field, ",") if not os.path.exists(directory): os.makedirs(directory)
Signature · 1 line
2.40.1
PATCH v2 2/6 scripts/test_list.py: add support to exclude files
In reply to Mauro Carvalho ChehabFrom: Mauro Carvalho Chehab <[email protected]>
Specially when using wildcards, it is interesting to have a way to exclude some files. This is needed to support some kms helper functions that, instead of being part of the IGT library, are stored inside the tests sub-directories.
--- scripts/test_list.py | 10 ++++++++++ 1 file changed, 10 insertions(+)
scripts/test_list.py +10 -0
@@ -208,6 +208,7 @@ class TestList: { "files": [ "tests/driver/*.c" ], + "exclude_files": [ "tests/driver/*-helper.c" ], "fields": { "Category": { "Sub-category": {
@@ -302,10 +303,19 @@ class TestList: has_implemented = False if not self.filenames: self.filenames = [] + exclude_files = [] files = self.config["files"] + exclude_file_glob = self.config.get("exclude_files", []) + for cfg_file in exclude_file_glob: + cfg_file = os.path.realpath(os.path.dirname(config_fname)) + "/" + cfg_file + for fname in glob.glob(cfg_file): + exclude_files.append(fname) + for cfg_file in files: cfg_file = os.path.realpath(os.path.dirname(config_fname)) + "/" + cfg_file for fname in glob.glob(cfg_file): + if fname in exclude_files: + continue self.filenames.append(fname) has_implemented = True else:
Signature · 1 line
2.40.1
PATCH v2 3/6 scripts/test_list.py: fix some hints pointed by Ruff
In reply to Mauro Carvalho ChehabFrom: Mauro Carvalho Chehab <[email protected]>
There are some places where the wrong logic was used to check for dict members, causing those warnings on Ruff:
E713 [*] Test for membership should be not in
--- scripts/test_list.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
scripts/test_list.py +4 -4
@@ -689,7 +689,7 @@ class TestList: marker = 0 for cur_level in range(0, len(fields_order)): # pylint: disable=C0200 field = fields_order[cur_level] - if not "level" in self.props[field]["_properties_"]: + if "level" not in self.props[field]["_properties_"]: continue if field in fields: if old_fields[cur_level] != fields[field]:
@@ -698,9 +698,9 @@ class TestList: # print hierarchy for i in range(cur_level, len(fields_order)): - if not "level" in self.props[fields_order[i]]["_properties_"]: + if "level" not in self.props[fields_order[i]]["_properties_"]: continue - if not fields_order[i] in fields: + if fields_order[i] not in fields: continue if marker >= len(level_markers):
@@ -728,7 +728,7 @@ class TestList: # Store current values for i in range(cur_level, len(fields_order)): field = fields_order[i] - if not "level" in self.props[field]["_properties_"]: + if "level" not in self.props[field]["_properties_"]: continue if field in fields: old_fields[i] = fields[field]
Signature · 1 line
2.40.1
PATCH v2 4/6 testplan/meson.build: add i915 support for a testplan document
In reply to Mauro Carvalho ChehabFrom: Mauro Carvalho Chehab <[email protected]>
Prepare to support documenting the i915 tests via in-code macros, in a similar way to how Xe tests are documented.
For now, don't enable checking i915 documentation here, as this may consume a lot of build time on desktops.
Please notice that we had to exclude documentation for gem_concurrent_all.c, as there are too many subtests there:
${build}/tests/gem_concurrent_all --list|wc -l
428400Adding documentation for all of them (even with wildcards) would produce a very big document, seriously affecting build time.
--- docs/testplan/conf.py | 2 +- docs/testplan/meson.build | 6 ++- tests/i915/i915_test_config.json | 88 ++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 3 deletions(-) create mode 100644 tests/i915/i915_test_config.json
docs/testplan/conf.py +1 -1
@@ -68,5 +68,5 @@ htmlhelp_basename = 'IGT' # rst2pdf pdf_documents = [ - ('index', u'xe_tests', u'IGT Xe Tests', u'IGT authors'), + ('index', u'tests', u'IGT Xe Tests', u'IGT authors'), ]
docs/testplan/meson.build +4 -2
@@ -8,6 +8,7 @@ stylesheet = join_paths(meson.current_source_dir(), 'testplan.css') xe_test_config = join_paths(source_root, 'tests', 'xe', 'xe_test_config.json') kms_test_config = join_paths(source_root, 'tests', 'kms_test_config.json') +i915_test_config = join_paths(source_root, 'tests', 'i915', 'i915_test_config.json') check_testlist = [] if build_tests
@@ -26,6 +27,7 @@ endif test_dict = { 'xe_tests': { 'input': xe_test_config, 'extra_args': check_testlist }, 'kms_tests': { 'input': kms_test_config, 'extra_args': [] } + 'i915_tests': { 'input': i915_test_config, 'extra_args': [] }, } foreach testplan, fields: test_dict
@@ -70,14 +72,14 @@ if sphinx.found() if rst2pdf.found() sphinx_out_pdf = meson.current_build_dir() + '/pdf' - custom_target('xe_tests.pdf', + custom_target('tests.pdf', build_by_default : true, command : [ 'sphinx-build', '-c', meson.current_source_dir(), '-b', 'pdf', '-D', 'version=' + meson.project_version(), meson.current_build_dir(), sphinx_out_pdf], input : index_rst, - output : 'xe_tests.pdf' + output : 'tests.pdf' ) endif endif
tests/i915/i915_test_config.json new file +88 -0
88 lines not on this page · raw message
Signature · 1 line
2.40.1
PATCH v2 5/6 tests/i915: Improve test documentation
In reply to Mauro Carvalho ChehabFrom: Mauro Carvalho Chehab <[email protected]>
Currently, test documentation inside IGT describe macros and testlists.
There is also some internal documentation mapping features into buckets, which is used by some Intel CI scripts.
Place them inside i915 comments.
--- tests/core_auth.c | 21 + tests/core_getclient.c | 8 + tests/core_getstats.c | 8 + tests/core_getversion.c | 8 + tests/core_hotunplug.c | 39 + tests/core_setmaster.c | 15 + tests/core_setmaster_vs_auth.c | 8 + tests/debugfs_test.c | 25 + tests/device_reset.c | 21 + tests/dmabuf.c | 8 + tests/drm_mm.c | 8 + tests/dumb_buffer.c | 18 + tests/i915/api_intel_allocator.c | 41 + tests/i915/api_intel_bb.c | 63 + tests/i915/drm_fdinfo.c | 44 + tests/i915/gem_bad_reloc.c | 19 + tests/i915/gem_barrier_race.c | 11 + tests/i915/gem_basic.c | 24 + tests/i915/gem_blits.c | 7 + tests/i915/gem_busy.c | 39 + tests/i915/gem_caching.c | 12 + tests/i915/gem_ccs.c | 33 + tests/i915/gem_close.c | 9 + tests/i915/gem_close_race.c | 45 + tests/i915/gem_create.c | 50 + tests/i915/gem_cs_tlb.c | 8 + tests/i915/gem_ctx_bad_destroy.c | 14 + tests/i915/gem_ctx_create.c | 69 + tests/i915/gem_ctx_engines.c | 17 + tests/i915/gem_ctx_exec.c | 33 + tests/i915/gem_ctx_freq.c | 7 + tests/i915/gem_ctx_isolation.c | 23 + tests/i915/gem_ctx_param.c | 88 ++ tests/i915/gem_ctx_persistence.c | 69 + tests/i915/gem_ctx_shared.c | 34 + tests/i915/gem_ctx_sseu.c | 14 + tests/i915/gem_ctx_switch.c | 365 +++++ tests/i915/gem_eio.c | 93 ++ tests/i915/gem_evict_alignment.c | 17 + tests/i915/gem_evict_everything.c | 61 + tests/i915/gem_exec_alignment.c | 18 + tests/i915/gem_exec_async.c | 10 + tests/i915/gem_exec_await.c | 9 + tests/i915/gem_exec_balancer.c | 117 ++ tests/i915/gem_exec_basic.c | 11 + tests/i915/gem_exec_big.c | 10 + tests/i915/gem_exec_capture.c | 30 + tests/i915/gem_exec_create.c | 26 + tests/i915/gem_exec_endless.c | 7 + tests/i915/gem_exec_fair.c | 92 ++ tests/i915/gem_exec_fence.c | 240 +++ tests/i915/gem_exec_flush.c | 1496 +++++++++++++++++++ tests/i915/gem_exec_gttfill.c | 23 + tests/i915/gem_exec_latency.c | 30 + tests/i915/gem_exec_lut_handle.c | 7 + tests/i915/gem_exec_nop.c | 55 + tests/i915/gem_exec_parallel.c | 25 + tests/i915/gem_exec_params.c | 103 ++ tests/i915/gem_exec_reloc.c | 593 ++++++++ tests/i915/gem_exec_schedule.c | 182 +++ tests/i915/gem_exec_store.c | 21 + tests/i915/gem_exec_suspend.c | 81 + tests/i915/gem_exec_whisper.c | 189 +++ tests/i915/gem_exercise_blt.c | 12 + tests/i915/gem_fd_exhaustion.c | 6 + tests/i915/gem_fence_thrash.c | 19 + tests/i915/gem_fence_upload.c | 16 + tests/i915/gem_fenced_exec_thrash.c | 18 + tests/i915/gem_flink_basic.c | 21 + tests/i915/gem_flink_race.c | 10 + tests/i915/gem_gpgpu_fill.c | 7 + tests/i915/gem_gtt_cpu_tlb.c | 8 + tests/i915/gem_gtt_hog.c | 6 + tests/i915/gem_gtt_speed.c | 6 + tests/i915/gem_huc_copy.c | 11 + tests/i915/gem_linear_blits.c | 17 + tests/i915/gem_lmem_evict.c | 9 + tests/i915/gem_lmem_swapping.c | 89 ++ tests/i915/gem_lut_handle.c | 7 + tests/i915/gem_madvise.c | 25 + tests/i915/gem_media_fill.c | 8 + tests/i915/gem_media_vme.c | 8 + tests/i915/gem_mmap.c | 57 + tests/i915/gem_mmap_gtt.c | 488 ++++++ tests/i915/gem_mmap_offset.c | 36 + tests/i915/gem_mmap_wc.c | 67 + tests/i915/gem_partial_pwrite_pread.c | 62 + tests/i915/gem_pipe_control_store_loop.c | 12 + tests/i915/gem_ppgtt.c | 21 + tests/i915/gem_pread.c | 17 + tests/i915/gem_pread_after_blit.c | 29 + tests/i915/gem_pwrite.c | 67 + tests/i915/gem_pwrite_snooped.c | 8 + tests/i915/gem_pxp.c | 79 + tests/i915/gem_read_read_speed.c | 61 + tests/i915/gem_readwrite.c | 15 + tests/i915/gem_reg_read.c | 11 + tests/i915/gem_render_copy.c | 120 ++ tests/i915/gem_render_copy_redux.c | 17 + tests/i915/gem_render_linear_blits.c | 16 + tests/i915/gem_render_tiled_blits.c | 27 + tests/i915/gem_request_retire.c | 8 + tests/i915/gem_reset_stats.c | 178 +++ tests/i915/gem_ringfill.c | 111 ++ tests/i915/gem_set_tiling_vs_blt.c | 15 + tests/i915/gem_set_tiling_vs_gtt.c | 8 + tests/i915/gem_set_tiling_vs_pwrite.c | 8 + tests/i915/gem_shrink.c | 107 ++ tests/i915/gem_softpin.c | 113 ++ tests/i915/gem_spin_batch.c | 40 + tests/i915/gem_streaming_writes.c | 29 + tests/i915/gem_stress.c | 7 + tests/i915/gem_sync.c | 225 +++ tests/i915/gem_tiled_blits.c | 17 + tests/i915/gem_tiled_fence_blits.c | 15 + tests/i915/gem_tiled_partial_pwrite_pread.c | 12 + tests/i915/gem_tiled_pread_basic.c | 8 + tests/i915/gem_tiled_pread_pwrite.c | 8 + tests/i915/gem_tiled_swapping.c | 10 + tests/i915/gem_tiled_wb.c | 10 + tests/i915/gem_tiled_wc.c | 7 + tests/i915/gem_tiling_max_stride.c | 8 + tests/i915/gem_unfence_active_buffers.c | 8 + tests/i915/gem_unref_active_buffers.c | 8 + tests/i915/gem_userptr_blits.c | 280 ++++ tests/i915/gem_vm_create.c | 19 + tests/i915/gem_wait.c | 49 + tests/i915/gem_watchdog.c | 11 + tests/i915/gem_workarounds.c | 40 + tests/i915/gen3_mixed_blits.c | 7 + tests/i915/gen3_render_linear_blits.c | 7 + tests/i915/gen3_render_mixed_blits.c | 7 + tests/i915/gen3_render_tiledx_blits.c | 7 + tests/i915/gen3_render_tiledy_blits.c | 7 + tests/i915/gen7_exec_parse.c | 31 + tests/i915/gen9_exec_parse.c | 47 + tests/i915/i915_fb_tiling.c | 8 + tests/i915/i915_getparams_basic.c | 12 + tests/i915/i915_hangman.c | 41 + tests/i915/i915_hwmon.c | 12 + tests/i915/i915_module_load.c | 30 + tests/i915/i915_pciid.c | 8 + tests/i915/i915_pipe_stress.c | 17 + tests/i915/i915_pm_backlight.c | 25 + tests/i915/i915_pm_dc.c | 41 + tests/i915/i915_pm_freq_api.c | 11 + tests/i915/i915_pm_freq_mult.c | 10 + tests/i915/i915_pm_lpsp.c | 12 + tests/i915/i915_pm_rc6_residency.c | 16 + tests/i915/i915_pm_rpm.c | 185 +++ tests/i915/i915_pm_rps.c | 34 + tests/i915/i915_pm_sseu.c | 8 + tests/i915/i915_power.c | 9 + tests/i915/i915_query.c | 63 + tests/i915/i915_selftest.c | 16 + tests/i915/i915_suspend.c | 57 + tests/i915/perf.c | 144 ++ tests/i915/perf_pmu.c | 138 ++ tests/i915/sysfs_defaults.c | 7 + tests/i915/sysfs_heartbeat_interval.c | 19 + tests/i915/sysfs_preempt_timeout.c | 13 + tests/i915/sysfs_timeslice_duration.c | 15 + tests/prime_busy.c | 18 + tests/prime_mmap.c | 29 + tests/prime_mmap_coherency.c | 14 + tests/prime_self_import.c | 37 + tests/prime_vgem.c | 99 ++ tests/sw_sync.c | 42 + tests/syncobj_basic.c | 30 + tests/syncobj_timeline.c | 394 +++++ tests/syncobj_wait.c | 144 ++ tests/vgem_basic.c | 84 ++ tests/vgem_slow.c | 8 + 173 files changed, 9706 insertions(+)
tests/core_auth.c +21 -0
@@ -42,6 +42,27 @@#include <sys/poll.h> #include <sys/resource.h> #include "drm.h" +/** +* TEST: core auth +* Description: Call drmGetMagic() and drmAuthMagic() and see if it behaves. +* Feature: core +* +* SUBTEST: basic-auth +* Description: Test magic numbers for master and slave. +* Run type: BAT +* +* SUBTEST: getclient-master-drop +* Description: Use 2 clients, check second is authenticated even when first dropped. +* Run type: FULL +* +* SUBTEST: getclient-simple +* Description: Check drm client is always authenticated. +* Run type: FULL +* +* SUBTEST: many-magics +* Description: Test authentication and magic numbers uniqness for rlimit slaves. +* Run type: FULL +*/ #ifndef __linux__# include <pthread.h>
tests/core_getclient.c +8 -0
@@ -31,6 +31,14 @@#include <stdlib.h> #include <errno.h> +/** +* TEST: core getclient +* Description: Tests the DRM_IOCTL_GET_CLIENT ioctl. +* Feature: core +* Run type: FULL +* +* SUBTEST: +*/ IGT_TEST_DESCRIPTION ("Tests the DRM_IOCTL_GET_CLIENT ioctl." );
tests/core_getstats.c +8 -0
@@ -32,6 +32,14 @@#include <drm.h> +/** +* TEST: core getstats +* Description: Tests the DRM_IOCTL_GET_STATS ioctl. +* Feature: core +* Run type: FULL +* +* SUBTEST: +*/ /** * Checks DRM_IOCTL_GET_STATS.
tests/core_getversion.c +8 -0
@@ -28,6 +28,14 @@#include "igt.h" #include <string.h> #include <sys/ioctl.h> +/** +* TEST: core getversion +* Description: Tests the DRM_IOCTL_GET_VERSION ioctl and libdrm's drmGetVersion() interface to it. +* Feature: core +* Run type: FULL +* +* SUBTEST: +*/ IGT_TEST_DESCRIPTION ("Tests the DRM_IOCTL_GET_VERSION ioctl and libdrm's " "drmGetVersion() interface to it." );
tests/core_hotunplug.c +39 -0
@@ -39,6 +39,45 @@#include "igt_kmod.h" #include "igt_sysfs.h" #include "sw_sync.h" +/** +* TEST: core hotunplug +* Description: Examine behavior of a driver on device hot unplug +* Feature: SMI, core +* +* SUBTEST: hotrebind +* Description: +* Check if the driver can be cleanly rebound to a device with a still open hot unbound driver +* instance +* Run type: FULL +* +* SUBTEST: hotrebind-lateclose +* Description: Check if a hot unbound driver instance still open after hot rebind can be cleanly released +* Run type: FULL +* +* SUBTEST: hotreplug +* Description: Check if a hot unplugged and still open device can be cleanly restored +* Run type: FULL +* +* SUBTEST: hotreplug-lateclose +* Description: Check if an instance of a still open while hot replugged device can be cleanly released +* Run type: FULL +* +* SUBTEST: hotunbind-rebind +* Description: Check if the driver can be cleanly unbound from an open device, then released and rebound +* Run type: FULL +* +* SUBTEST: hotunplug-rescan +* Description: Check if an open device can be cleanly unplugged, then released and restored +* Run type: FULL +* +* SUBTEST: unbind-rebind +* Description: Check if the driver can be cleanly unbound from a device believed to be closed, then rebound +* Run type: BAT +* +* SUBTEST: unplug-rescan +* Description: Check if a device believed to be closed can be cleanly unplugged, then restored +* Run type: FULL +*/ IGT_TEST_DESCRIPTION ("Examine behavior of a driver on device hot unplug" );
tests/core_setmaster.c +15 -0
@@ -38,6 +38,21 @@#include <stdio.h> #include <string.h> #include <sys/stat.h> +/** +* TEST: core setmaster +* Description: Check that Drop/SetMaster behaves correctly wrt root/user access +* Feature: core +* Run type: FULL +* +* SUBTEST: master-drop-set-root +* Description: Ensure that root can Set/DropMaster +* +* SUBTEST: master-drop-set-shared-fd +* Description: Check the Set/DropMaster behaviour on shared fd +* +* SUBTEST: master-drop-set-user +* Description: Ensure first normal user can Set/DropMaster +*/ IGT_TEST_DESCRIPTION ("Check that Drop/SetMaster behaves correctly wrt root/user" " access" );
tests/core_setmaster_vs_auth.c +8 -0
@@ -40,6 +40,14 @@#include <string.h> #include "igt_device.h" +/** +* TEST: core setmaster vs auth +* Description: Check that drop/setMaster correctly transfer master state +* Feature: core +* Run type: FULL +* +* SUBTEST: +*/ IGT_TEST_DESCRIPTION ("Check that drop/setMaster correctly transfer master " "state" );
tests/debugfs_test.c +25 -0
@@ -29,6 +29,31 @@#include <fcntl.h> #include <sys/types.h> #include <dirent.h> +/** +* TEST: debugfs test +* Description: Read entries from debugfs, hwmon and sysfs paths. +* Feature: core +* +* SUBTEST: basic-hwmon +* Description: Read all entries from hwmon path +* Run type: BAT +* +* SUBTEST: read_all_entries +* Description: Read all entries from debugfs path. +* Run type: BAT +* +* SUBTEST: read_all_entries_display_off +* Description: Read all debugfs entries with display on/off. +* Run type: FULL +* +* SUBTEST: read_all_entries_display_on +* Description: Read all debugfs entries with display on/off. +* Run type: FULL +* +* SUBTEST: sysfs +* Description: Read all entries from sysfs path. +* Run type: FULL +*/ IGT_TEST_DESCRIPTION ("Read entries from debugfs, hwmon and sysfs paths." );
tests/device_reset.c +21 -0
@@ -14,6 +14,27 @@#include "igt_pci.h" #include "igt_sysfs.h" #include "igt_kmod.h" +/** +* TEST: device reset +* Description: Examine behavior of a driver on device sysfs reset +* Run type: FULL +* +* SUBTEST: cold-reset-bound +* Description: Cold Resets device with bound driver +* Feature: reset +* +* SUBTEST: reset-bound +* Description: Resets device with bound driver +* Feature: reset +* +* SUBTEST: unbind-cold-reset-rebind +* Description: Unbinds driver from device, initiates cold reset then rebinds driver to device +* Feature: reset +* +* SUBTEST: unbind-reset-rebind +* Description: Unbinds driver from device, initiates reset then rebinds driver to device +* Feature: reset, sriov-reset +*/ IGT_TEST_DESCRIPTION ("Examine behavior of a driver on device sysfs reset" );
tests/dmabuf.c +8 -0
@@ -23,6 +23,14 @@#include "igt.h" #include "igt_kmod.h" +/** +* TEST: dmabuf +* Description: Kernel selftests for the dmabuf API +* Feature: mapping, prime +* Run type: BAT +* +* SUBTEST: all-tests +*/ IGT_TEST_DESCRIPTION ("Kernel selftests for the dmabuf API" );
tests/drm_mm.c +8 -0
@@ -23,6 +23,14 @@#include "igt.h" #include "igt_kmod.h" +/** +* TEST: drm mm +* Description: Basic sanity check of DRM's range manager (struct drm_mm) +* Feature: mapping +* Run type: FULL +* +* SUBTEST: all-tests +*/ IGT_TEST_DESCRIPTION ("Basic sanity check of DRM's range manager (struct drm_mm)" );
tests/dumb_buffer.c +18 -0
@@ -49,6 +49,24 @@#include "drmtest.h" #include "igt_aux.h" #include "ioctl_wrappers.h" +/** +* TEST: dumb buffer +* Description: This is a test for the generic dumb buffer interface. +* Feature: prime +* Run type: FULL +* +* SUBTEST: create-clear +* +* SUBTEST: create-valid-dumb +* +* SUBTEST: invalid-bpp +* +* SUBTEST: map-invalid-size +* +* SUBTEST: map-uaf +* +* SUBTEST: map-valid +*/ IGT_TEST_DESCRIPTION ("This is a test for the generic dumb buffer interface." );
tests/i915/api_intel_allocator.c +41 -0
47 lines not on this page · raw message
tests/i915/api_intel_bb.c +63 -0
69 lines not on this page · raw message
tests/i915/drm_fdinfo.c +44 -0
50 lines not on this page · raw message
tests/i915/gem_bad_reloc.c +19 -0
@@ -41,6 +41,25 @@#include "i915/gem.h" #include "i915/gem_create.h" #include "igt.h" +/** +* TEST: gem bad reloc +* Description: +* Simulates SNA behaviour using negative self-relocations for STATE_BASE_ADDRESS command +* packets. +* Feature: cmd_submission +* Run type: FULL +* +* SUBTEST: negative-reloc +* Description: +* SNA behaviour is compressing batch buffer which leads to negative relocation deltas. +* Negative self-relocation happening with real offset 0. +* +* SUBTEST: negative-reloc-bltcopy +* Description: Exercising blitter operation with negative reloc. +* +* SUBTEST: negative-reloc-lut +* Description: Similar to previous test with flags for lut_based_execbuffer. +*/ IGT_TEST_DESCRIPTION ("Simulates SNA behaviour using negative self-relocations" " for STATE_BASE_ADDRESS command packets." );
tests/i915/gem_barrier_race.c +11 -0
@@ -17,6 +17,17 @@#include "i915/gem_create.h" #include "i915/gem_engine_topology.h" #include "i915/perf.h" +/** +* TEST: gem barrier race +* Description: Exercise engine barriers and their interaction with other subsystems +* Feature: core +* Run type: FULL +* +* SUBTEST: remote-request +* Description: +* Race intel_context_prepare_remote_request against +* intel_context_active_acquire/release +*/ IGT_TEST_DESCRIPTION ("Exercise engine barriers and their interaction with other subsystems" );
tests/i915/gem_basic.c +24 -0
@@ -41,6 +41,30 @@#include "igt.h" #include "igt_types.h" #include "lib/igt_device_scan.h" +/** +* TEST: gem basic +* Description: Tests basic gem_create and gem_close IOCTLs +* +* SUBTEST: bad-close +* Description: Verify that gem_close fails with bad params. +* Feature: gem_core +* Run type: BAT +* +* SUBTEST: create-close +* Description: Verify basic functionality of gem_create and gem_close. +* Feature: gem_core +* Run type: BAT +* +* SUBTEST: create-fd-close +* Description: Verify that closing drm driver is possible with opened gem object. +* Feature: gem_core +* Run type: BAT +* +* SUBTEST: multigpu-create-close +* Description: Verify basic functionality of gem_create and gem_close on multi-GPU. +* Feature: gem_core, multigpu +* Run type: FULL +*/ IGT_TEST_DESCRIPTION ("Tests basic gem_create and gem_close IOCTLs" );
tests/i915/gem_blits.c +7 -0
@@ -28,6 +28,13 @@#include "igt.h" #include "igt_x86.h" #include "i915/i915_blt.h" +/** +* TEST: gem blits +* Feature: blitter +* Run type: FULL +* +* SUBTEST: basic +*/ #define BCS_SWCTRL 0x22200#define BCS_SRC_Y (1 << 0)
tests/i915/gem_busy.c +39 -0
@@ -30,6 +30,45 @@#include "igt.h" #include "igt_rand.h" #include "igt_vgem.h" +/** +* TEST: gem busy +* Description: Basic check of busy-ioctl ABI. +* Feature: cmd_submission +* +* SUBTEST: busy +* Description: Basic test to check busyness of each engine. +* Run type: FULL +* +* SUBTEST: close-race +* Description: Test to check race condition by randomly closing the handle using gem_close. +* Run type: FULL +* +* SUBTEST: extended +* Description: Extended test to check busyness of dwstore-capable engines. +* Run type: FULL +* +* SUBTEST: hang +* Description: Basic test to check hang state behaviour of engines with increased timeout. +* Run type: FULL +* +* SUBTEST: hang-extended +* Description: +* Extended test to check hang state behaviour of dwstore-capable engines with increased +* timeout. +* Run type: FULL +* +* SUBTEST: parallel +* Description: +* Extended test to check busyness of dwstore-capable engines while doing parallel +* execution. +* Run type: FULL +* +* SUBTEST: semaphore +* Description: +* Test to check busyness of engine on submitting a new batch while engine is busy in executing +* previous batch. +* Run type: FULL +*/ #define PAGE_ALIGN (x) ALIGN(x, 4096)
tests/i915/gem_caching.c +12 -0
@@ -40,6 +40,18 @@#include "i915/gem.h" #include "igt.h" #include "i915/i915_blt.h" +/** +* TEST: gem caching +* Description: Test snoop consistency when touching partial cachelines. +* Feature: caching +* Run type: FULL +* +* SUBTEST: read-writes +* +* SUBTEST: reads +* +* SUBTEST: writes +*/ IGT_TEST_DESCRIPTION ("Test snoop consistency when touching partial" " cachelines." );
tests/i915/gem_ccs.c +33 -0
@@ -15,6 +15,39 @@#include "lib/intel_chipset.h" #include "i915/i915_blt.h" #include "i915/intel_mocs.h" +/** +* TEST: gem ccs +* Description: Exercise gen12 blitter with and without flatccs compression +* Run type: FULL +* +* SUBTEST: block-copy-compressed +* Description: Check block-copy flatccs compressed blit +* Feature: flat_ccs_mapping +* +* SUBTEST: block-copy-uncompressed +* Description: Check block-copy uncompressed blit +* Feature: ccs_uncompressed, flat_ccs_mapping +* +* SUBTEST: block-multicopy-compressed +* Description: Check block-multicopy flatccs compressed blit +* Feature: flat_ccs_mapping +* +* SUBTEST: block-multicopy-inplace +* Description: Check block-multicopy flatccs inplace decompression blit +* Feature: flat_ccs_mapping +* +* SUBTEST: ctrl-surf-copy +* Description: Check flatccs data can be copied from/to surface +* Feature: flat_ccs_mapping +* +* SUBTEST: ctrl-surf-copy-new-ctx +* Description: Check flatccs data are physically tagged and visible in different contexts +* Feature: flat_ccs_mapping +* +* SUBTEST: suspend-resume +* Description: Check flatccs data persists after suspend / resume (S0) +* Feature: flat_ccs_mapping, suspend +*/ IGT_TEST_DESCRIPTION ("Exercise gen12 blitter with and without flatccs compression" );
tests/i915/gem_close.c +9 -0
@@ -25,6 +25,15 @@#include "i915/gem_create.h" #include "igt.h" #include "igt_types.h" +/** +* TEST: gem close +* Feature: mapping +* Run type: FULL +* +* SUBTEST: basic +* +* SUBTEST: many-handles-one-vma +*/ static int batch_create (int fd) {
tests/i915/gem_close_race.c +45 -0
51 lines not on this page · raw message
tests/i915/gem_create.c +50 -0
56 lines not on this page · raw message
tests/i915/gem_cs_tlb.c +8 -0
@@ -52,6 +52,14 @@#include "i915/gem.h" #include "i915/gem_create.h" #include "igt.h" +/** +* TEST: gem cs tlb +* Description: Check whether we correctly invalidate the cs tlb. +* Feature: mapping +* Run type: FULL +* +* SUBTEST: engines +*/ IGT_TEST_DESCRIPTION ("Check whether we correctly invalidate the cs tlb." );
tests/i915/gem_ctx_bad_destroy.c +14 -0
@@ -34,6 +34,20 @@#include <string.h> #include <errno.h> +/** +* TEST: gem ctx bad destroy +* Description: Negative test cases for destroy contexts. +* Feature: context +* Run type: FULL +* +* SUBTEST: double-destroy +* +* SUBTEST: invalid-ctx +* +* SUBTEST: invalid-default-ctx +* +* SUBTEST: invalid-pad +*/ IGT_TEST_DESCRIPTION ("Negative test cases for destroy contexts." );
tests/i915/gem_ctx_create.c +69 -0
75 lines not on this page · raw message
tests/i915/gem_ctx_engines.c +17 -0
@@ -43,6 +43,23 @@#include "igt.h" #include "igt_types.h" #include "sw_sync.h" +/** +* TEST: gem ctx engines +* Feature: context +* Run type: FULL +* +* SUBTEST: execute-allforone +* +* SUBTEST: execute-one +* +* SUBTEST: execute-oneforall +* +* SUBTEST: independent +* +* SUBTEST: invalid-engines +* +* SUBTEST: none +*/ #define engine_class (e, n) ((e)->engines[(n)].engine_class)#define engine_instance (e, n) ((e)->engines[(n)].engine_instance)
tests/i915/gem_ctx_exec.c +33 -0
@@ -47,6 +47,39 @@#include "igt_rand.h" #include "igt_sysfs.h" #include "sw_sync.h" +/** +* TEST: gem ctx exec +* Description: Test context batch buffer execution. +* Feature: context +* +* SUBTEST: basic +* Description: Check the basic context batch buffer execution. +* Run type: BAT +* +* SUBTEST: basic-close-race +* Description: Race the execution and interrupt handlers along a context, while closing it at a random time. +* Run type: FULL +* +* SUBTEST: basic-invalid-context +* Description: Verify that execbuf with invalid context fails. +* Run type: FULL +* +* SUBTEST: basic-nohangcheck +* Description: Verify that contexts are automatically shotdown on close, if hangchecking is disabled. +* Run type: FULL +* +* SUBTEST: basic-norecovery +* Description: Check the status of context after a hang by setting and unsetting the RECOVERABLE. +* Run type: FULL +* +* SUBTEST: eviction +* Description: Check maximum number of buffers it can evict for a context. +* Run type: FULL +* +* SUBTEST: reset-pin-leak +* Description: Check if the kernel doesn't leak the vma pin_count for the last context on reset. +* Run type: FULL +*/ IGT_TEST_DESCRIPTION ("Test context batch buffer execution." );
tests/i915/gem_ctx_freq.c +7 -0
@@ -34,6 +34,13 @@#include "igt_perf.h" #include "igt_sysfs.h" #include "sw_sync.h" +/** +* TEST: gem ctx freq +* Feature: context +* Run type: FULL +* +* SUBTEST: sysfs +*/ #define SAMPLE_PERIOD (USEC_PER_SEC / 10)#define PMU_TOLERANCE 100
tests/i915/gem_ctx_isolation.c +23 -0
@@ -26,6 +26,29 @@#include "igt.h" #include "igt_dummyload.h" #include "igt_types.h" +/** +* TEST: gem ctx isolation +* Feature: context +* Run type: FULL +* +* SUBTEST: clean +* +* SUBTEST: dirty-create +* +* SUBTEST: dirty-switch +* +* SUBTEST: nonpriv +* +* SUBTEST: nonpriv-switch +* +* SUBTEST: preservation +* +* SUBTEST: preservation-S3 +* +* SUBTEST: preservation-S4 +* +* SUBTEST: preservation-reset +*/ /* MAX_REG must be greater than the maximum register address. */ #define MAX_REG 0x400000
tests/i915/gem_ctx_param.c +88 -0
94 lines not on this page · raw message
tests/i915/gem_ctx_persistence.c +69 -0
75 lines not on this page · raw message
tests/i915/gem_ctx_shared.c +34 -0
@@ -47,6 +47,40 @@#include "igt_vgem.h" #include "sw_sync.h" #include "sync_file.h" +/** +* TEST: gem ctx shared +* Description: Test shared contexts. +* Feature: context +* Run type: FULL +* +* SUBTEST: Q-in-order +* +* SUBTEST: Q-independent +* +* SUBTEST: Q-out-order +* +* SUBTEST: Q-promotion +* +* SUBTEST: Q-smoketest +* +* SUBTEST: Q-smoketest-all +* +* SUBTEST: create-shared-gtt +* +* SUBTEST: detached-shared-gtt +* +* SUBTEST: disjoint-timelines +* +* SUBTEST: exec-shared-gtt +* +* SUBTEST: exec-single-timeline +* +* SUBTEST: exhaust-shared-gtt +* +* SUBTEST: exhaust-shared-gtt-lrc +* +* SUBTEST: single-timeline +*/ #define LO 0#define HI 1
tests/i915/gem_ctx_sseu.c +14 -0
@@ -44,6 +44,20 @@#include "igt_perf.h" #include "igt_sysfs.h" #include "ioctl_wrappers.h" +/** +* TEST: gem ctx sseu +* Description: Test context render powergating programming. +* Feature: pm_sseu +* Run type: FULL +* +* SUBTEST: engines +* +* SUBTEST: invalid-args +* +* SUBTEST: invalid-sseu +* +* SUBTEST: mmap-args +*/ IGT_TEST_DESCRIPTION ("Test context render powergating programming." );
tests/i915/gem_ctx_switch.c +365 -0
371 lines not on this page · raw message
tests/i915/gem_eio.c +93 -0
99 lines not on this page · raw message
tests/i915/gem_evict_alignment.c +17 -0
@@ -47,6 +47,23 @@#include "i915/gem.h" #include "i915/gem_create.h" #include "igt.h" +/** +* TEST: gem evict alignment +* Description: Run a couple of big batches to force the unbind on misalignment code. +* Run type: FULL +* +* SUBTEST: major-hang +* +* SUBTEST: major-interruptible +* +* SUBTEST: major-normal +* +* SUBTEST: minor-hang +* +* SUBTEST: minor-interruptible +* +* SUBTEST: minor-normal +*/ IGT_TEST_DESCRIPTION ("Run a couple of big batches to force the unbind on" " misalignment code." );
tests/i915/gem_evict_everything.c +61 -0
67 lines not on this page · raw message
tests/i915/gem_exec_alignment.c +18 -0
@@ -45,6 +45,24 @@#include "i915/gem_create.h" #include "igt.h" #include "igt_types.h" +/** +* TEST: gem exec alignment +* Description: Exercises the basic execbuffer using object alignments +* Feature: cmd_submission +* Run type: FULL +* +* SUBTEST: forked +* +* SUBTEST: many +* +* SUBTEST: pi +* +* SUBTEST: pi-isolated +* +* SUBTEST: pi-shared +* +* SUBTEST: single +*/ IGT_TEST_DESCRIPTION ("Exercises the basic execbuffer using object alignments" );
tests/i915/gem_exec_async.c +10 -0
@@ -24,6 +24,16 @@#include "i915/gem.h" #include "i915/gem_create.h" #include "igt.h" +/** +* TEST: gem exec async +* Description: Check that we can issue concurrent writes across the engines. +* Feature: cmd_submission +* Run type: FULL +* +* SUBTEST: concurrent-writes +* +* SUBTEST: forked-writes +*/ IGT_TEST_DESCRIPTION ("Check that we can issue concurrent writes across the engines." );
tests/i915/gem_exec_await.c +9 -0
@@ -31,6 +31,15 @@#include "igt_rand.h" #include "igt_sysfs.h" #include "igt_vgem.h" +/** +* TEST: gem exec await +* Feature: cmd_submission +* Run type: FULL +* +* SUBTEST: wide-all +* +* SUBTEST: wide-contexts +*/ static double elapsed (const struct timespec *start,const struct timespec *end) {
tests/i915/gem_exec_balancer.c +117 -0
123 lines not on this page · raw message
tests/i915/gem_exec_basic.c +11 -0
@@ -25,6 +25,17 @@#include "igt_collection.h" #include "i915/gem_create.h" +/** +* TEST: gem exec basic +* Description: Basic sanity check of execbuf-ioctl rings. +* Feature: cmd_submission +* Run type: BAT +* +* SUBTEST: basic +* Description: +* Check basic functionality of GEM_EXECBUFFER2 ioctl on every ring and iterating over memory +* regions. +*/ IGT_TEST_DESCRIPTION ("Basic sanity check of execbuf-ioctl rings." );
tests/i915/gem_exec_big.c +10 -0
@@ -48,6 +48,16 @@#include "i915/gem.h" #include "i915/gem_create.h" #include "igt.h" +/** +* TEST: gem exec big +* Description: Run a large nop batch to stress test the error capture code. +* Feature: cmd_submission +* Run type: FULL +* +* SUBTEST: exhaustive +* +* SUBTEST: single +*/ IGT_TEST_DESCRIPTION ("Run a large nop batch to stress test the error capture" " code." );
tests/i915/gem_exec_capture.c +30 -0
@@ -31,6 +31,36 @@#include "igt_device.h" #include "igt_rand.h" #include "igt_sysfs.h" +/** +* TEST: gem exec capture +* Description: Check that we capture the user specified objects on a hang +* Feature: cmd_submission +* Run type: FULL +* +* SUBTEST: capture +* +* SUBTEST: capture-invisible +* Description: +* Check that the kernel doesn't crash if the pages can't be copied from the CPU during error +* capture. +* +* SUBTEST: capture-recoverable +* Description: Verify that the kernel rejects EXEC_OBJECT_CAPTURE with recoverable contexts. +* +* SUBTEST: many-256M-incremental +* +* SUBTEST: many-2M-incremental +* +* SUBTEST: many-2M-zero +* +* SUBTEST: many-4K-incremental +* +* SUBTEST: many-4K-zero +* +* SUBTEST: pi +* +* SUBTEST: userptr +*/ #define MAX_RESET_TIME 600
tests/i915/gem_exec_create.c +26 -0
@@ -46,6 +46,32 @@#include "i915_drm.h" #include "i915/intel_memory_region.h" +/** +* TEST: gem exec create +* Description: +* This test overloads the driver with transient active objects and checks if we don't kill the +* system under the memory pressure some of the symptoms this test look for include mysterious +* hangs. +* Feature: cmd_submission +* +* SUBTEST: basic +* Description: Check if we kill system by overloading it with active objects iterating over all engines. +* Run type: BAT +* +* SUBTEST: forked +* Description: Concurrently overloads system with active objects and checks if we kill system. +* Run type: FULL +* +* SUBTEST: legacy +* Description: +* Check if we kill the system by overloading it with active objects iterating over legacy +* engines. +* Run type: FULL +* +* SUBTEST: madvise +* Description: This test does a forced reclaim, behaving like a bad application leaking its bo cache. +* Run type: FULL +*/ IGT_TEST_DESCRIPTION ("This test overloads the driver with transient active objects" " and checks if we don't kill the system under the memory pressure"
tests/i915/gem_exec_endless.c +7 -0
@@ -30,6 +30,13 @@#include "igt_sysfs.h" #include "igt_types.h" #include "sw_sync.h" +/** +* TEST: gem exec endless +* Feature: cmd_submission +* Run type: FULL +* +* SUBTEST: dispatch +*/ #define MAX_ENGINES 64
tests/i915/gem_exec_fair.c +92 -0
98 lines not on this page · raw message
tests/i915/gem_exec_fence.c +240 -0
246 lines not on this page · raw message
tests/i915/gem_exec_flush.c +1496 -0
628 lines not on this page · raw message
tests/i915/gem_exec_nop.c +55 -0
55 lines not on this page · raw message
tests/i915/gem_exec_params.c +103 -0
103 lines not on this page · raw message
tests/i915/gem_exec_reloc.c +593 -0
593 lines not on this page · raw message
tests/i915/gem_exec_schedule.c +182 -0
182 lines not on this page · raw message
tests/i915/gem_exec_suspend.c +81 -0
81 lines not on this page · raw message
tests/i915/gem_exec_whisper.c +189 -0
189 lines not on this page · raw message
tests/i915/gem_lmem_swapping.c +89 -0
89 lines not on this page · raw message
tests/i915/gem_mmap.c +57 -0
57 lines not on this page · raw message
tests/i915/gem_mmap_gtt.c +488 -0
488 lines not on this page · raw message
tests/i915/gem_mmap_wc.c +67 -0
67 lines not on this page · raw message
tests/i915/gem_partial_pwrite_pread.c +62 -0
62 lines not on this page · raw message
tests/i915/gem_pipe_control_store_loop.c +12 -0
Lines of this file are not shown. View the raw message.
tests/i915/gem_pwrite.c +67 -0
67 lines not on this page · raw message
tests/i915/gem_pxp.c +79 -0
79 lines not on this page · raw message
tests/i915/gem_read_read_speed.c +61 -0
61 lines not on this page · raw message
tests/i915/gem_render_copy.c +120 -0
120 lines not on this page · raw message
tests/i915/gem_reset_stats.c +178 -0
178 lines not on this page · raw message
tests/i915/gem_ringfill.c +111 -0
111 lines not on this page · raw message
tests/i915/gem_shrink.c +107 -0
107 lines not on this page · raw message
tests/i915/gem_softpin.c +113 -0
113 lines not on this page · raw message
tests/i915/gem_sync.c +225 -0
225 lines not on this page · raw message
tests/i915/gem_tiled_partial_pwrite_pread.c +12 -0
Lines of this file are not shown. View the raw message.
tests/i915/gem_unfence_active_buffers.c +8 -0
Lines of this file are not shown. View the raw message.
tests/i915/gem_userptr_blits.c +280 -0
280 lines not on this page · raw message
tests/i915/gem_wait.c +49 -0
49 lines not on this page · raw message
tests/i915/gen9_exec_parse.c +47 -0
47 lines not on this page · raw message
tests/i915/i915_hangman.c +41 -0
41 lines not on this page · raw message
tests/i915/i915_pm_dc.c +41 -0
41 lines not on this page · raw message
tests/i915/i915_pm_rpm.c +185 -0
185 lines not on this page · raw message
tests/i915/i915_query.c +63 -0
63 lines not on this page · raw message
tests/i915/i915_suspend.c +57 -0
57 lines not on this page · raw message
tests/i915/perf.c +144 -0
144 lines not on this page · raw message
tests/i915/perf_pmu.c +138 -0
138 lines not on this page · raw message
tests/prime_vgem.c +99 -0
99 lines not on this page · raw message
tests/sw_sync.c +42 -0
42 lines not on this page · raw message
tests/syncobj_timeline.c +394 -0
394 lines not on this page · raw message
tests/syncobj_wait.c +144 -0
144 lines not on this page · raw message
tests/vgem_basic.c +84 -0
84 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.40.1
Part of the diff is not shown here. View the raw message.
PATCH v2 6/6 tests/i915: Enhance test documentation
In reply to Mauro Carvalho ChehabFrom: Mauro Carvalho Chehab <[email protected]>
Merge data from some ancillary documentation to the i915 test descriptions.
This patch was auto-generated via script.
--- tests/core_auth.c | 4 + tests/core_getclient.c | 4 + tests/core_getstats.c | 4 + tests/core_getversion.c | 4 + tests/core_hotunplug.c | 13 +- tests/core_setmaster.c | 4 + tests/core_setmaster_vs_auth.c | 5 + tests/debugfs_test.c | 17 ++- tests/device_reset.c | 4 + tests/dmabuf.c | 2 +- tests/dumb_buffer.c | 19 +++ tests/i915/api_intel_allocator.c | 38 ++++- tests/i915/api_intel_bb.c | 48 ++++++ tests/i915/gem_barrier_race.c | 3 + tests/i915/gem_basic.c | 15 +- tests/i915/gem_blits.c | 4 + tests/i915/gem_busy.c | 7 + tests/i915/gem_caching.c | 8 + tests/i915/gem_close.c | 4 + tests/i915/gem_close_race.c | 8 + tests/i915/gem_create.c | 41 ++++- tests/i915/gem_cs_tlb.c | 4 + tests/i915/gem_ctx_bad_destroy.c | 4 + tests/i915/gem_ctx_create.c | 8 + tests/i915/gem_ctx_engines.c | 9 ++ tests/i915/gem_ctx_exec.c | 20 +++ tests/i915/gem_ctx_freq.c | 4 + tests/i915/gem_ctx_isolation.c | 32 +++- tests/i915/gem_ctx_param.c | 58 +++++++ tests/i915/gem_ctx_persistence.c | 85 +++++++++++ tests/i915/gem_ctx_shared.c | 22 +++ tests/i915/gem_eio.c | 91 ++++++++++- tests/i915/gem_exec_alignment.c | 9 ++ tests/i915/gem_exec_async.c | 4 + tests/i915/gem_exec_await.c | 7 + tests/i915/gem_exec_balancer.c | 101 +++++++++++++ tests/i915/gem_exec_basic.c | 7 +- tests/i915/gem_exec_big.c | 4 + tests/i915/gem_exec_capture.c | 10 ++ tests/i915/gem_exec_create.c | 20 ++- tests/i915/gem_exec_endless.c | 4 + tests/i915/gem_exec_fence.c | 143 +++++++++++++++++- tests/i915/gem_exec_gttfill.c | 14 +- tests/i915/gem_exec_nop.c | 8 + tests/i915/gem_exec_parallel.c | 20 ++- tests/i915/gem_exec_params.c | 76 ++++++++++ tests/i915/gem_exec_schedule.c | 154 +++++++++++++++++++ tests/i915/gem_exec_store.c | 14 +- tests/i915/gem_exec_whisper.c | 67 +++++++++ tests/i915/gem_exercise_blt.c | 7 +- tests/i915/gem_flink_basic.c | 22 ++- tests/i915/gem_flink_race.c | 7 + tests/i915/gem_gpgpu_fill.c | 4 + tests/i915/gem_linear_blits.c | 8 + tests/i915/gem_lmem_evict.c | 1 + tests/i915/gem_lmem_swapping.c | 34 ++++- tests/i915/gem_madvise.c | 6 + tests/i915/gem_mmap_offset.c | 40 +++++ tests/i915/gem_pipe_control_store_loop.c | 5 + tests/i915/gem_ppgtt.c | 8 + tests/i915/gem_request_retire.c | 4 + tests/i915/gem_ringfill.c | 16 +- tests/i915/gem_shrink.c | 4 + tests/i915/gem_softpin.c | 96 +++++++++++- tests/i915/gem_spin_batch.c | 26 ++++ tests/i915/gem_sync.c | 28 +++- tests/i915/gem_unref_active_buffers.c | 4 + tests/i915/gem_userptr_blits.c | 76 ++++++++++ tests/i915/gem_vm_create.c | 20 +++ tests/i915/gem_wait.c | 22 +++ tests/i915/gem_workarounds.c | 37 ++++- tests/i915/i915_getparams_basic.c | 7 + tests/i915/i915_hangman.c | 56 ++++++- tests/i915/i915_hwmon.c | 1 + tests/i915/i915_module_load.c | 12 +- tests/i915/i915_pciid.c | 5 + tests/i915/i915_pm_rpm.c | 7 +- tests/i915/i915_pm_rps.c | 12 +- tests/i915/i915_power.c | 3 + tests/i915/i915_query.c | 36 ++++- tests/i915/i915_suspend.c | 34 ++++- tests/i915/perf.c | 184 +++++++++++++++++++---- tests/i915/perf_pmu.c | 180 +++++++++++++++++----- tests/i915/sysfs_defaults.c | 5 + tests/i915/sysfs_heartbeat_interval.c | 6 + tests/i915/sysfs_preempt_timeout.c | 5 + tests/i915/sysfs_timeslice_duration.c | 9 ++ tests/prime_busy.c | 9 ++ tests/prime_mmap.c | 4 + tests/prime_mmap_coherency.c | 6 + tests/prime_self_import.c | 15 +- tests/prime_vgem.c | 11 ++ tests/sw_sync.c | 4 + tests/syncobj_basic.c | 4 + tests/syncobj_timeline.c | 4 + tests/syncobj_wait.c | 140 +++++++++++++++++ tests/vgem_basic.c | 37 ++++- tests/vgem_slow.c | 5 + 98 files changed, 2407 insertions(+), 124 deletions(-)
tests/core_auth.c +4 -0
@@ -44,8 +44,12 @@#include "drm.h" /** * TEST: core auth +* Category: Desktop client * Description: Call drmGetMagic() and drmAuthMagic() and see if it behaves. * Feature: core +* Functionality: permission management for clients +* Sub-category: DRM +* Test category: GEM_Legacy * * SUBTEST: basic-auth * Description: Test magic numbers for master and slave.
tests/core_getclient.c +4 -0
@@ -33,9 +33,13 @@/** * TEST: core getclient +* Category: Desktop client * Description: Tests the DRM_IOCTL_GET_CLIENT ioctl. * Feature: core +* Functionality: permission management for clients * Run type: FULL +* Sub-category: DRM +* Test category: GEM_Legacy * * SUBTEST: */
tests/core_getstats.c +4 -0
@@ -34,9 +34,13 @@/** * TEST: core getstats +* Category: Desktop client * Description: Tests the DRM_IOCTL_GET_STATS ioctl. * Feature: core +* Functionality: permission management for clients * Run type: FULL +* Sub-category: DRM +* Test category: GEM_Legacy * * SUBTEST: */
tests/core_getversion.c +4 -0
@@ -30,9 +30,13 @@#include <sys/ioctl.h> /** * TEST: core getversion +* Category: Desktop client * Description: Tests the DRM_IOCTL_GET_VERSION ioctl and libdrm's drmGetVersion() interface to it. * Feature: core +* Functionality: permission management for clients * Run type: FULL +* Sub-category: DRM +* Test category: SysMan * * SUBTEST: */
tests/core_hotunplug.c +12 -1
@@ -48,11 +48,17 @@* Description: * Check if the driver can be cleanly rebound to a device with a still open hot unbound driver * instance +* Functionality: Check if a hot unbound driver instance still open after hot rebind can be cleanly released. * Run type: FULL +* Test category: SysMan * * SUBTEST: hotrebind-lateclose -* Description: Check if a hot unbound driver instance still open after hot rebind can be cleanly released +* Description: +* Check if a hot unbound driver instance still open after hot rebind can be cleanly released. +* Buffer is created only in lmem, created_bytes is being checked after creating and deleting buffer. +* Functionality: Check if the driver can be cleanly unbound from an open device, then released and rebound. * Run type: FULL +* Test category: SysMan * * SUBTEST: hotreplug * Description: Check if a hot unplugged and still open device can be cleanly restored
@@ -64,15 +70,20 @@* * SUBTEST: hotunbind-rebind * Description: Check if the driver can be cleanly unbound from an open device, then released and rebound +* Functionality: Check if the driver can be cleanly rebound to a device with a still open hot unbound driver instance. * Run type: FULL +* Test category: SysMan * * SUBTEST: hotunplug-rescan * Description: Check if an open device can be cleanly unplugged, then released and restored * Run type: FULL * * SUBTEST: unbind-rebind +* Category: Desktop client * Description: Check if the driver can be cleanly unbound from a device believed to be closed, then rebound +* Functionality: Check if the driver can be cleanly unbound from an open device, then released and rebound. * Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: unplug-rescan * Description: Check if a device believed to be closed can be cleanly unplugged, then restored
tests/core_setmaster.c +4 -0
@@ -40,9 +40,13 @@#include <sys/stat.h> /** * TEST: core setmaster +* Category: Desktop client * Description: Check that Drop/SetMaster behaves correctly wrt root/user access * Feature: core +* Functionality: permission management for clients * Run type: FULL +* Sub-category: DRM +* Test category: GEM_Legacy * * SUBTEST: master-drop-set-root * Description: Ensure that root can Set/DropMaster
tests/core_setmaster_vs_auth.c +5 -0
@@ -42,11 +42,16 @@#include "igt_device.h" /** * TEST: core setmaster vs auth +* Category: Infrastructure * Description: Check that drop/setMaster correctly transfer master state * Feature: core +* Functionality: debugfs entries * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: +* Description: validating debugfs entries */ IGT_TEST_DESCRIPTION("Check that drop/setMaster correctly transfer master "
tests/debugfs_test.c +15 -2
@@ -33,14 +33,22 @@* TEST: debugfs test * Description: Read entries from debugfs, hwmon and sysfs paths. * Feature: core +* Test category: GEM_Legacy * * SUBTEST: basic-hwmon +* Category: Infrastructure * Description: Read all entries from hwmon path +* Functionality: validating debugfs entries * Run type: BAT * * SUBTEST: read_all_entries -* Description: Read all entries from debugfs path. +* Category: Infrastructure +* Description: +* Read all entries from debugfs path. +* validating debugfs entries +* Functionality: driver handler * Run type: BAT +* Sub-category: i915 * * SUBTEST: read_all_entries_display_off * Description: Read all debugfs entries with display on/off.
@@ -51,8 +59,13 @@* Run type: FULL * * SUBTEST: sysfs -* Description: Read all entries from sysfs path. +* Category: Server +* Description: +* Read all entries from sysfs path. +* validating device resets +* Functionality: reset * Run type: FULL +* Sub-category: sysman */ IGT_TEST_DESCRIPTION ("Read entries from debugfs, hwmon and sysfs paths." );
tests/device_reset.c +4 -0
@@ -32,8 +32,12 @@* Feature: reset * * SUBTEST: unbind-reset-rebind +* Category: Desktop client * Description: Unbinds driver from device, initiates reset then rebinds driver to device * Feature: reset, sriov-reset +* Functionality: legacy buffer sharing +* Sub-category: DRM +* Test category: GEM_Legacy */ IGT_TEST_DESCRIPTION ("Examine behavior of a driver on device sysfs reset" );
tests/dmabuf.c +1 -1
@@ -27,9 +27,9 @@* TEST: dmabuf * Description: Kernel selftests for the dmabuf API * Feature: mapping, prime -* Run type: BAT * * SUBTEST: all-tests +* Run type: BAT */ IGT_TEST_DESCRIPTION ("Kernel selftests for the dmabuf API" );
tests/dumb_buffer.c +19 -0
@@ -54,18 +54,37 @@* Description: This is a test for the generic dumb buffer interface. * Feature: prime * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: create-clear +* Category: Desktop client +* Functionality: IOCTL check for buffer management +* Sub-category: Compositor * * SUBTEST: create-valid-dumb +* Category: Desktop client +* Functionality: IOCTL check for buffer management +* Sub-category: Compositor * * SUBTEST: invalid-bpp +* Category: Desktop client +* Functionality: IOCTL check for buffer management +* Sub-category: Compositor * * SUBTEST: map-invalid-size +* Category: Desktop client +* Functionality: IOCTL check for buffer management +* Sub-category: Compositor * * SUBTEST: map-uaf +* Category: Desktop client +* Functionality: IOCTL check for buffer management +* Sub-category: Compositor * * SUBTEST: map-valid +* Category: Infrastructure +* Functionality: semaphore +* Sub-category: HW */ IGT_TEST_DESCRIPTION ("This is a test for the generic dumb buffer interface." );
tests/i915/api_intel_allocator.c +37 -1
@@ -11,44 +11,80 @@#include "intel_allocator.h" /** * TEST: api intel allocator +* Category: Infrastructure * Feature: igt_core * Run type: FULL +* Sub-category: IGT Lib +* Test category: GEM_Legacy * * SUBTEST: alloc-simple +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: default-alignment * Description: * For simple allocator check does default alignment is properly handled in open and alloc * functions +* checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: execbuf-with-allocator +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: fork-simple-once +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: fork-simple-stress +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: fork-simple-stress-signal +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: gem-pool -* Description: Verifies creating and executing bb from gem pool +* Description: +* Verifies creating and executing bb from gem pool +* checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: open-vm +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: reloc-allocator +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: reopen +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: reopen-fork +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: reserve-simple +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: simple-allocator +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: standalone +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: two-level-inception +* Description: checking the virtual address ranges +* Functionality: virtual address ranges * * SUBTEST: two-level-inception-interruptible +* Description: checking dummy buffer creation & submission +* Functionality: dummy buffer creation & submission */ #define OBJ_SIZE 1024
tests/i915/api_intel_bb.c +48 -0
113 lines not on this page · raw message
tests/i915/gem_barrier_race.c +3 -0
@@ -19,9 +19,12 @@#include "i915/perf.h" /** * TEST: gem barrier race +* Category: Infrastructure * Description: Exercise engine barriers and their interaction with other subsystems * Feature: core +* Functionality: driver handler * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: remote-request * Description:
tests/i915/gem_basic.c +14 -1
@@ -43,27 +43,40 @@#include "lib/igt_device_scan.h" /** * TEST: gem basic +* Category: Infrastructure * Description: Tests basic gem_create and gem_close IOCTLs * * SUBTEST: bad-close * Description: Verify that gem_close fails with bad params. * Feature: gem_core +* Functionality: driver handler * Run type: BAT +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: create-close * Description: Verify basic functionality of gem_create and gem_close. * Feature: gem_core +* Functionality: driver handler * Run type: BAT +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: create-fd-close -* Description: Verify that closing drm driver is possible with opened gem object. +* Description: +* Verify that closing drm driver is possible with opened gem object. +* Validate Command streamer * Feature: gem_core +* Functionality: Semaphore * Run type: BAT +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: multigpu-create-close * Description: Verify basic functionality of gem_create and gem_close on multi-GPU. * Feature: gem_core, multigpu * Run type: FULL +* Test category: MultiGPU */ IGT_TEST_DESCRIPTION ("Tests basic gem_create and gem_close IOCTLs" );
tests/i915/gem_blits.c +4 -0
@@ -30,8 +30,12 @@#include "i915/i915_blt.h" /** * TEST: gem blits +* Category: Desktop client * Feature: blitter +* Functionality: semaphore * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic */
tests/i915/gem_busy.c +7 -0
@@ -32,19 +32,25 @@#include "igt_vgem.h" /** * TEST: gem busy +* Category: Desktop client * Description: Basic check of busy-ioctl ABI. * Feature: cmd_submission +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: busy * Description: Basic test to check busyness of each engine. +* Functionality: semaphore * Run type: FULL * * SUBTEST: close-race * Description: Test to check race condition by randomly closing the handle using gem_close. +* Functionality: semaphore * Run type: FULL * * SUBTEST: extended * Description: Extended test to check busyness of dwstore-capable engines. +* Functionality: semaphore * Run type: FULL * * SUBTEST: hang
@@ -61,6 +67,7 @@* Description: * Extended test to check busyness of dwstore-capable engines while doing parallel * execution. +* Functionality: data coherency * Run type: FULL * * SUBTEST: semaphore
tests/i915/gem_caching.c +8 -0
@@ -45,12 +45,20 @@* Description: Test snoop consistency when touching partial cachelines. * Feature: caching * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: read-writes +* Category: Desktop client +* Functionality: data coherency * * SUBTEST: reads +* Category: Desktop client +* Functionality: data coherency * * SUBTEST: writes +* Category: Infrastructure +* Functionality: driver handler */ IGT_TEST_DESCRIPTION("Test snoop consistency when touching partial"
tests/i915/gem_close.c +4 -0
@@ -27,8 +27,12 @@#include "igt_types.h" /** * TEST: gem close +* Category: Infrastructure * Feature: mapping +* Functionality: driver handler * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic *
tests/i915/gem_close_race.c +8 -0
@@ -50,19 +50,25 @@#include "igt_device_scan.h" /** * TEST: gem close race +* Category: Infrastructure * Description: Test try to race gem_close against workload submission. +* Sub-category: i915 * * SUBTEST: basic-process * Description: Basic workload submission. * Feature: synchronization +* Functionality: driver handler * Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: basic-threads * Description: * Share buffer handle across different drm fd's and trying to race gem_close against * continuous workload with minimum timeout. * Feature: synchronization +* Functionality: Buffer Management * Run type: BAT +* Test category: USM * * SUBTEST: contexts * Description:
@@ -82,11 +88,13 @@* Description: Basic workload submission on multi-GPU machine. * Feature: multigpu, synchronization * Run type: FULL +* Test category: MultiGPU * * SUBTEST: multigpu-basic-threads * Description: Run basic-threads race on multi-GPU machine. * Feature: multigpu, synchronization * Run type: FULL +* Test category: MultiGPU * * SUBTEST: process-exit * Description: Test try to race gem_close against submission of continuous workload.
tests/i915/gem_create.c +40 -1
90 lines not on this page · raw message
tests/i915/gem_cs_tlb.c +4 -0
@@ -54,9 +54,13 @@#include "igt.h" /** * TEST: gem cs tlb +* Category: Infrastructure * Description: Check whether we correctly invalidate the cs tlb. * Feature: mapping +* Functionality: context management * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: engines */
tests/i915/gem_ctx_bad_destroy.c +4 -0
@@ -36,9 +36,13 @@/** * TEST: gem ctx bad destroy +* Category: Infrastructure * Description: Negative test cases for destroy contexts. * Feature: context +* Functionality: context management * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: double-destroy *
tests/i915/gem_ctx_create.c +8 -0
@@ -51,12 +51,20 @@* Run type: FULL * * SUBTEST: basic +* Category: Infrastructure * Description: Test random context creation +* Functionality: context management * Run type: BAT +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic-files +* Category: Infrastructure * Description: Exercise implicit per-fd context creation +* Functionality: command submission * Run type: BAT +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: ext-param * Description: Verify valid and invalid context extensions
tests/i915/gem_ctx_engines.c +9 -0
@@ -45,20 +45,29 @@#include "sw_sync.h" /** * TEST: gem ctx engines +* Category: Infrastructure * Feature: context * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: execute-allforone +* Functionality: context management * * SUBTEST: execute-one +* Functionality: context management * * SUBTEST: execute-oneforall +* Functionality: context management * * SUBTEST: independent +* Functionality: context management * * SUBTEST: invalid-engines +* Functionality: context management * * SUBTEST: none +* Functionality: command submission */ #define engine_class (e, n) ((e)->engines[(n)].engine_class)
tests/i915/gem_ctx_exec.c +20 -0
@@ -53,24 +53,44 @@* Feature: context * * SUBTEST: basic +* Category: Infrastructure * Description: Check the basic context batch buffer execution. +* Functionality: command submission * Run type: BAT +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic-close-race +* Category: Infrastructure * Description: Race the execution and interrupt handlers along a context, while closing it at a random time. +* Functionality: command submission * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic-invalid-context +* Category: Server * Description: Verify that execbuf with invalid context fails. +* Functionality: command submission * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic-nohangcheck +* Category: Server * Description: Verify that contexts are automatically shotdown on close, if hangchecking is disabled. +* Functionality: command submission * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic-norecovery +* Category: Server * Description: Check the status of context after a hang by setting and unsetting the RECOVERABLE. +* Functionality: frequency management * Run type: FULL +* Sub-category: Performance +* Test category: GEM_Legacy * * SUBTEST: eviction * Description: Check maximum number of buffers it can evict for a context.
tests/i915/gem_ctx_freq.c +4 -0
@@ -36,8 +36,12 @@#include "sw_sync.h" /** * TEST: gem ctx freq +* Category: Infrastructure * Feature: context +* Functionality: security * Run type: FULL +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: sysfs */
tests/i915/gem_ctx_isolation.c +31 -1
@@ -28,26 +28,56 @@#include "igt_types.h" /** * TEST: gem ctx isolation -* Feature: context +* Category: Infrastructure * Run type: FULL * * SUBTEST: clean +* Feature: context +* Functionality: security +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: dirty-create +* Feature: context +* Functionality: security +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: dirty-switch +* Feature: context +* Functionality: security +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: nonpriv +* Feature: context +* Functionality: security +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: nonpriv-switch +* Feature: context +* Functionality: security +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: preservation +* Feature: context +* Functionality: security +* Sub-category: HW +* Test category: GEM_Legacy * * SUBTEST: preservation-S3 +* Feature: context * * SUBTEST: preservation-S4 +* Feature: context * * SUBTEST: preservation-reset +* Feature: context +* Functionality: security +* Sub-category: HW +* Test category: GEM_Legacy */ /* MAX_REG must be greater than the maximum register address. */
tests/i915/gem_ctx_param.c +58 -0
145 lines not on this page · raw message
tests/i915/gem_ctx_persistence.c +85 -0
155 lines not on this page · raw message
tests/i915/gem_ctx_shared.c +22 -0
@@ -66,20 +66,42 @@* SUBTEST: Q-smoketest-all * * SUBTEST: create-shared-gtt +* Category: Desktop client +* Functionality: context management +* Sub-category: Media +* Test category: GEM_Legacy * * SUBTEST: detached-shared-gtt +* Category: Desktop client +* Functionality: context management +* Sub-category: Media +* Test category: GEM_Legacy * * SUBTEST: disjoint-timelines +* Category: Desktop client +* Functionality: context management +* Sub-category: Media +* Test category: GEM_Legacy * * SUBTEST: exec-shared-gtt +* Category: Infrastructure +* Functionality: reset +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: exec-single-timeline +* Category: Desktop client +* Functionality: context management +* Test category: GEM_Legacy * * SUBTEST: exhaust-shared-gtt * * SUBTEST: exhaust-shared-gtt-lrc * * SUBTEST: single-timeline +* Category: Infrastructure +* Functionality: reset +* Test category: GEM_Legacy */ #define LO 0
tests/i915/gem_eio.c +88 -3
182 lines not on this page · raw message
tests/i915/gem_exec_alignment.c +9 -0
@@ -49,19 +49,28 @@* TEST: gem exec alignment * Description: Exercises the basic execbuffer using object alignments * Feature: cmd_submission +* Functionality: command submission * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: forked +* Category: Desktop client * * SUBTEST: many +* Category: Desktop client * * SUBTEST: pi +* Category: Desktop client * * SUBTEST: pi-isolated +* Category: Desktop client * * SUBTEST: pi-shared +* Category: Desktop client * * SUBTEST: single +* Category: Infrastructure */ IGT_TEST_DESCRIPTION ("Exercises the basic execbuffer using object alignments" );
tests/i915/gem_exec_async.c +4 -0
@@ -26,9 +26,13 @@#include "igt.h" /** * TEST: gem exec async +* Category: Infrastructure * Description: Check that we can issue concurrent writes across the engines. * Feature: cmd_submission +* Functionality: command submission * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: concurrent-writes *
tests/i915/gem_exec_await.c +7 -0
@@ -35,10 +35,17 @@* TEST: gem exec await * Feature: cmd_submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: wide-all +* Category: Infrastructure +* Functionality: command submission +* Sub-category: i915 * * SUBTEST: wide-contexts +* Category: Desktop \ Server +* Functionality: load balancing +* Sub-category: Media & Compute */ static double elapsed (const struct timespec *start,const struct timespec *end)
tests/i915/gem_exec_balancer.c +101 -0
196 lines not on this page · raw message
tests/i915/gem_exec_basic.c +6 -1
@@ -27,14 +27,19 @@#include "i915/gem_create.h" /** * TEST: gem exec basic +* Category: Infrastructure * Description: Basic sanity check of execbuf-ioctl rings. * Feature: cmd_submission -* Run type: BAT +* Functionality: buffer management +* Sub-category: i915 * * SUBTEST: basic * Description: * Check basic functionality of GEM_EXECBUFFER2 ioctl on every ring and iterating over memory * regions. +* Command Submission +* Run type: BAT +* Test category: GEM_Legacy */ IGT_TEST_DESCRIPTION ("Basic sanity check of execbuf-ioctl rings." );
tests/i915/gem_exec_big.c +4 -0
@@ -57,6 +57,10 @@* SUBTEST: exhaustive * * SUBTEST: single +* Category: Server +* Functionality: offline debugging +* Sub-category: debugger +* Test category: GEM_Legacy */ IGT_TEST_DESCRIPTION("Run a large nop batch to stress test the error capture"
tests/i915/gem_exec_capture.c +10 -0
@@ -36,8 +36,12 @@* Description: Check that we capture the user specified objects on a hang * Feature: cmd_submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: capture +* Category: Server +* Functionality: offline debugging +* Sub-category: debugger * * SUBTEST: capture-invisible * Description:
@@ -58,8 +62,14 @@* SUBTEST: many-4K-zero * * SUBTEST: pi +* Category: Server +* Functionality: offline debugging +* Sub-category: debugger * * SUBTEST: userptr +* Category: Infrastructure +* Functionality: buffer management +* Sub-category: i915 */ #define MAX_RESET_TIME 600
tests/i915/gem_exec_create.c +19 -1
@@ -55,22 +55,40 @@* Feature: cmd_submission * * SUBTEST: basic -* Description: Check if we kill system by overloading it with active objects iterating over all engines. +* Category: Infrastructure +* Description: +* Check if we kill system by overloading it with active objects iterating over all engines. +* Buffer Management +* Functionality: semaphore * Run type: BAT +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: forked +* Category: Infrastructure * Description: Concurrently overloads system with active objects and checks if we kill system. +* Functionality: buffer management * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: legacy +* Category: Infrastructure * Description: * Check if we kill the system by overloading it with active objects iterating over legacy * engines. +* Functionality: buffer management * Run type: FULL +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: madvise +* Category: Server * Description: This test does a forced reclaim, behaving like a bad application leaking its bo cache. +* Functionality: command submission * Run type: FULL +* Sub-category: Compute +* Test category: GEM_Legacy */ IGT_TEST_DESCRIPTION("This test overloads the driver with transient active objects"
tests/i915/gem_exec_endless.c +4 -0
@@ -32,8 +32,12 @@#include "sw_sync.h" /** * TEST: gem exec endless +* Category: Infrastructure * Feature: cmd_submission +* Functionality: semaphore * Run type: FULL +* Sub-category: i915 +* Test category: MultiTile * * SUBTEST: dispatch */
tests/i915/gem_exec_fence.c +136 -7
327 lines not on this page · raw message
tests/i915/gem_exec_gttfill.c +13 -1
@@ -28,26 +28,38 @@#include "igt_rand.h" /** * TEST: gem exec gttfill +* Category: Infrastructure * Description: Fill the GTT with batches. +* Sub-category: i915 * * SUBTEST: all-engines * Description: Stress test check behaviour/correctness of handling batches to fill gtt * Feature: cmd_submission, gtt +* Functionality: command submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: basic -* Description: Checks if it can handle enough batches to fill gtt +* Description: +* Checks if it can handle enough batches to fill gtt. +* Command Submission * Feature: cmd_submission, gtt +* Functionality: D3 state entry-exit * Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: engines * Description: Checks the correctness of handling enough batches to fill gtt for each engine * Feature: cmd_submission, gtt +* Functionality: command submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: multigpu-basic * Feature: cmd_submission, gtt, multigpu +* Functionality: Used for shared handle on two GPUs in series and in parallel to verify multigpu functionality , skips in absence of other fd card * Run type: FULL +* Test category: MultiGPU */ IGT_TEST_DESCRIPTION ("Fill the GTT with batches." );
tests/i915/gem_exec_nop.c +8 -0
@@ -50,16 +50,24 @@/** * TEST: gem exec nop +* Category: Infrastructure * Run type: FULL +* Sub-category: i915 * * SUBTEST: basic-parallel * Feature: cmd_submission +* Functionality: command submission +* Test category: GEM_Legacy * * SUBTEST: basic-sequential * Feature: cmd_submission +* Functionality: command submission +* Test category: GEM_Legacy * * SUBTEST: basic-series * Feature: cmd_submission +* Functionality: command submission +* Test category: GEM_Legacy * * SUBTEST: context-sequential * Feature: cmd_submission
tests/i915/gem_exec_parallel.c +19 -1
@@ -37,26 +37,44 @@* TEST: gem exec parallel * Description: Exercise filling buffers by many clients working in parallel. * Feature: cmd_submission +* Sub-category: i915 * * SUBTEST: basic +* Category: Infrastructure * Description: Check basic functionality per engine. +* Functionality: command submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: contexts +* Category: Infrastructure * Description: Check with many contexts. +* Functionality: command submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: engines -* Description: Check with engines working in parallel. +* Category: Infrastructure +* Description: +* Check with engines working in parallel. +* Command Submission +* Functionality: coherency * Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: fds +* Category: Infrastructure * Description: Check with many fds. +* Functionality: command submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: userptr +* Category: Desktop client * Description: Check basic userptr thrashing. +* Functionality: command submission * Run type: FULL +* Test category: GEM_Legacy */ IGT_TEST_DESCRIPTION ("Exercise filling buffers by many clients working in parallel." );
tests/i915/gem_exec_params.c +76 -0
156 lines not on this page · raw message
tests/i915/gem_exec_schedule.c +154 -0
329 lines not on this page · raw message
tests/i915/gem_exec_store.c +13 -1
@@ -36,24 +36,36 @@#include "igt_gt.h" /** * TEST: gem exec store +* Category: Infrastructure * Description: Exercise store dword functionality using execbuf-ioctl * Feature: cmd_submission +* Test category: GEM_Legacy * * SUBTEST: basic -* Description: Verify that all capable engines can store dwords to a common buffer object +* Description: +* Verify that all capable engines can store dwords to a common buffer object. +* Coherency +* Functionality: buffer management * Run type: BAT +* Sub-category: HW * * SUBTEST: cachelines * Description: Verify that each capable engine can store a dword to different cachelines of a buffer object +* Functionality: coherency * Run type: FULL +* Sub-category: HW * * SUBTEST: dword * Description: Verify that each capable engine can store a dword to a buffer object +* Functionality: coherency * Run type: FULL +* Sub-category: HW * * SUBTEST: pages * Description: Verify that each capable engine can store a dword to various page-sized buffer objects +* Functionality: security * Run type: FULL +* Sub-category: i915 */ IGT_TEST_DESCRIPTION ("Exercise store dword functionality using execbuf-ioctl" );
tests/i915/gem_exec_whisper.c +67 -0
121 lines not on this page · raw message
tests/i915/gem_exercise_blt.c +6 -1
@@ -15,12 +15,17 @@* Description: Exercise blitter commands * Feature: blitter * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: fast-copy -* Description: Check fast-copy blit +* Description: +* Check fast-copy blit +* blitter * * SUBTEST: fast-copy-emit +* Category: Desktop client * Description: Check multiple fast-copy in one batch +* Functionality: buffer management */ IGT_TEST_DESCRIPTION ("Exercise blitter commands" );
tests/i915/gem_flink_basic.c +20 -2
@@ -40,24 +40,42 @@#include "igt_types.h" /** * TEST: gem flink basic +* Category: Desktop client * Description: Tests for flink - a way to export a gem object by name * Feature: xorg_dri2 -* Run type: BAT +* Sub-category: DRM * * SUBTEST: bad-flink * Description: Verify that GEM_FLINK ioctl with invalid gem object fails. +* Functionality: buffer management +* Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: bad-open * Description: Verify that GEM_OPEN ioctl with invalid flink name fails. +* Functionality: buffer management +* Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: basic * Description: Check if gem object can be exported to global namespace and then opened. +* Functionality: buffer management +* Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: double-flink * Description: Tests that multiple flinks for the same gem object share the same name. +* Functionality: buffer management +* Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: flink-lifetime -* Description: Tests flink lifetime by referencing from multiple descriptors. +* Description: +* Tests flink lifetime by referencing from multiple descriptors. +* Buffer Management +* Functionality: command submission +* Run type: BAT +* Test category: GEM_Legacy */ IGT_TEST_DESCRIPTION ("Tests for flink - a way to export a gem object by name" );
tests/i915/gem_flink_race.c +7 -0
@@ -40,10 +40,17 @@* Description: Check for flink/open vs. gem close races. * Feature: xorg_dri2 * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: flink_close +* Category: Desktop client +* Functionality: buffer management +* Sub-category: DRM * * SUBTEST: flink_name +* Category: Server +* Functionality: command submission +* Sub-category: Compute */ IGT_TEST_DESCRIPTION ("Check for flink/open vs. gem close races." );
tests/i915/gem_gpgpu_fill.c +4 -0
@@ -52,8 +52,12 @@* TEST: gem gpgpu fill * Feature: compute * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: basic +* Category: Server +* Functionality: command submission +* Sub-category: Compute */ #define WIDTH 64
tests/i915/gem_linear_blits.c +8 -0
@@ -51,20 +51,28 @@#include "i915/i915_blt.h" /** * TEST: gem linear blits +* Category: Infrastructure * Description: Test doing many blits with a working set larger than the aperture size. * Feature: blitter +* Sub-category: i915 * * SUBTEST: basic * Description: Basic blitter functionality check with 2 buffers +* Functionality: command submission * Run type: BAT +* Test category: GEM_Legacy * * SUBTEST: interruptible * Description: Test with interrupts in between the parent process +* Functionality: command submission * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: normal * Description: The intent is to push beyond the working GTT size to force the driver to rebind the buffers +* Functionality: Memory Management * Run type: FULL +* Test category: GEM_Legacy */ IGT_TEST_DESCRIPTION("Test doing many blits with a working set larger than the"
tests/i915/gem_lmem_evict.c +1 -0
@@ -12,6 +12,7 @@* Description: Force tiny lmem size for easily testing eviction scenarios. * Feature: local_memory * Run type: FULL +* Test category: GEM_Legacy * * SUBTEST: dontneed-evict-race * Description: Regression test to verify that madvise will sync against busy dma-resv object for lmem
tests/i915/gem_lmem_swapping.c +33 -1
@@ -28,21 +28,31 @@* TEST: gem lmem swapping * Description: Exercise local memory swapping. * Feature: local_memory +* Sub-category: i915 +* Test category: GEM_Legacy * * SUBTEST: basic +* Category: Server * Description: Exercise local memory swapping to system memory +* Functionality: buffer management * Run type: BAT * * SUBTEST: heavy-multi +* Category: Server * Description: Exercise local memory swapping to system memory +* Functionality: buffer management * Run type: FULL * * SUBTEST: heavy-random +* Category: Server * Description: Exercise local memory swapping to system memory +* Functionality: buffer management * Run type: FULL * * SUBTEST: heavy-verify-multi +* Category: Server * Description: Exercise local memory swapping to system memory +* Functionality: buffer management * Run type: FULL * * SUBTEST: heavy-verify-multi-ccs
@@ -50,7 +60,9 @@* Run type: FULL * * SUBTEST: heavy-verify-random +* Category: Server * Description: Exercise local memory swapping to system memory +* Functionality: buffer management * Run type: FULL * * SUBTEST: heavy-verify-random-ccs
@@ -66,19 +78,27 @@* Run type: FULL * * SUBTEST: parallel-multi +* Category: Server * Description: Exercise local memory swapping to system memory +* Functionality: buffer management * Run type: FULL * * SUBTEST: parallel-random +* Category: Server * Description: Exercise local memory swapping to system memory +* Functionality: buffer management * Run type: FULL * * SUBTEST: parallel-random-engines +* Category: Server
Lines of this file are not shown. View the raw message.
tests/i915/gem_pipe_control_store_loop.c +5 -0
Lines of this file are not shown. View the raw message.
tests/i915/gem_softpin.c +93 -3
96 lines not on this page · raw message
tests/i915/gem_userptr_blits.c +76 -0
76 lines not on this page · raw message
tests/i915/i915_hangman.c +49 -7
56 lines not on this page · raw message
tests/i915/perf.c +153 -31
184 lines not on this page · raw message
tests/i915/perf_pmu.c +146 -34
180 lines not on this page · raw message
tests/syncobj_wait.c +140 -0
140 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.40.1
Part of the diff is not shown here. View the raw message.
Patchwork
CI[igt-dev] ✗ Fi.CI.BUILD: failure for Better document i915 tests (rev2)
In reply to Mauro Carvalho Chehab== Series Details ==
== Series Details ==
Series: Better document i915 tests (rev2)
URL : https://patchwork.freedesktop.org/series/117382/
State : failure
== Summary ==
IGT patchset build failed on latest successful build ce51f53938690f581b315fa045d41155a5c6ecd3 testplan: Add testplan support for kms tests
Checking if "built-in atomics" links: YES
Has header "linux/kd.h" : YES
Has header "sys/kd.h" : YES
Has header "libgen.h" : YES
Has header "sys/io.h" : YES
Checking if "cpuid.h" links: YES
Header <unistd.h> has symbol "gettid" : YES
Checking whether type "struct sysinfo" has member "totalram" : YES
Checking for function "memfd_create" : YES
Configuring config.h using configuration
Program python3 found: YES (/usr/bin/python3)
Configuring i915-perf.pc using configuration
Program generate_testlist.sh found: YES (/usr/src/igt-gpu-tools/tests/generate_testlist.sh)
Program igt_command_line.sh found: YES (/usr/src/igt-gpu-tools/tests/igt_command_line.sh)
Run-time dependency json-c found: YES 0.13.1
Run-time dependency liboping found: YES 1.10.0
Compiler for C supports arguments -Wno-declaration-after-statement -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wno-discarded-qualifiers -Wdiscarded-qualifiers: YES
Compiler for C supports arguments -Wno-missing-format-attribute -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wno-old-style-definition -Wold-style-definition: YES
Compiler for C supports arguments -Wno-redundant-decls -Wredundant-decls: YES
Compiler for C supports arguments -Wno-shadow -Wshadow: YES
Compiler for C supports arguments -Wno-incompatible-pointer-types-discards-qualifiers -Wincompatible-pointer-types-discards-qualifiers: NO Program flex found: YES (/usr/bin/flex)
Program bison found: YES (/usr/bin/bison)
Configuring intel-gen4asm.pc using configuration
Program test/run-test.sh found: YES (/bin/sh /usr/src/igt-gpu-tools/assembler/test/run-test.sh)
Run-time dependency xv found: YES 1.0.11
Run-time dependency x11 found: YES 1.6.9
Run-time dependency xext found: YES 1.3.4
Run-time dependency dri2proto found: YES 2.8
Run-time dependency cairo-xlib found: YES 1.17.2
Run-time dependency xrandr found: YES 1.5.2
Program leg found: YES (/usr/bin/leg)
Configuring defs.rst using configuration
Program rst2man-3 found: NO
Program rst2man found: YES (/usr/bin/rst2man)
Program rst2man.sh found: YES (/usr/src/igt-gpu-tools/man/rst2man.sh)
Program igt_doc.py found: YES (/usr/src/igt-gpu-tools/scripts/igt_doc.py)
Program gen_rst_index skipped: feature sphinx disabled
Run-time dependency gtk-doc found: NO (tried pkgconfig and cmake)
docs/testplan/meson.build:30:7: ERROR: Expecting rcurl got string.
'i915_tests': { 'input': i915_test_config, 'extra_args': [] },
^
For a block that started at 27,12
test_dict = {
^A full log can be found at /opt/igt/build/meson-logs/meson-log.txt