* [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create. @ 2022-04-01 8:43 sai.gowtham.ch 2022-04-01 8:43 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch 2022-04-01 8:43 ` [igt-dev] [PATCH i-g-t 2/2] HAX: don't do full run sai.gowtham.ch 0 siblings, 2 replies; 6+ messages in thread From: sai.gowtham.ch @ 2022-04-01 8:43 UTC (permalink / raw) To: igt-dev, sai.gowtham.ch, kamil.konieczny From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Add test description to gem_ctx_create. Ch Sai Gowtham (2): i915/gem_ctx_create: Added test description for test case HAX: don't do full run tests/i915/gem_ctx_create.c | 29 ++++ tests/intel-ci/fast-feedback.testlist | 182 +------------------------- 2 files changed, 30 insertions(+), 181 deletions(-) -- 2.35.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case 2022-04-01 8:43 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create sai.gowtham.ch @ 2022-04-01 8:43 ` sai.gowtham.ch 2022-04-01 8:43 ` [igt-dev] [PATCH i-g-t 2/2] HAX: don't do full run sai.gowtham.ch 1 sibling, 0 replies; 6+ messages in thread From: sai.gowtham.ch @ 2022-04-01 8:43 UTC (permalink / raw) To: igt-dev, sai.gowtham.ch, kamil.konieczny From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Added test and subtests description v2: Modified description to be more precise v3: Rebase v4: Incorporated minor changes in description based on feedback v5: Minor alignment adjustments Signed-off-by: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com> Cc: Melkaveri, Arjun <arjun.melkaveri@intel.com> Cc: Dec, Katarzyna <katarzyna.dec@intel.com> Cc: Petri Latvala <petri.latvala@intel.com> Acked-by: Katarzyna Dec <katarzyna.dec@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> --- tests/i915/gem_ctx_create.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/tests/i915/gem_ctx_create.c b/tests/i915/gem_ctx_create.c index 44846652..248d9780 100644 --- a/tests/i915/gem_ctx_create.c +++ b/tests/i915/gem_ctx_create.c @@ -36,6 +36,8 @@ #include "igt_rand.h" #include "sw_sync.h" +IGT_TEST_DESCRIPTION("Test the context create ioctls"); + #define ENGINE_FLAGS (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK) static unsigned all_engines[I915_EXEC_RING_MASK + 1]; @@ -585,6 +587,7 @@ igt_main igt_fork_hang_detector(fd); } + igt_describe("Test random context creation"); igt_subtest("basic") { memset(&create, 0, sizeof(create)); create.ctx_id = rand(); @@ -594,41 +597,67 @@ igt_main gem_context_destroy(fd, create.ctx_id); } + igt_describe("Verify valid and invalid context extensions"); igt_subtest("ext-param") basic_ext_param(fd); + + igt_describe("Set, validate and execute particular context params"); igt_subtest("iris-pipeline") iris_pipeline(fd); + igt_describe("Create contexts upto available RAM size, calculate the average " + "performance of their execution on multiple parallel processes"); igt_subtest("maximum-mem") maximum(fd, &cfg, ncpus, CHECK_RAM); + + igt_describe("Create contexts upto available RAM+SWAP size, calculate the average " + "performance of their execution on multiple parallel processes"); igt_subtest("maximum-swap") maximum(fd, &cfg, ncpus, CHECK_RAM | CHECK_SWAP); + igt_describe("Exercise implicit per-fd context creation"); igt_subtest("basic-files") files(fd, &cfg, 2, 1); + + igt_describe("Exercise implicit per-fd context creation on 1 CPU for long duration"); igt_subtest("files") files(fd, &cfg, 20, 1); + + igt_describe("Exercise implicit per-fd context creation on all CPUs for long duration"); igt_subtest("forked-files") files(fd, &cfg, 20, ncpus); /* NULL value means all engines */ + igt_describe("Calculate the average performance of context creation and " + "it's execution using all engines"); igt_subtest("active-all") active(fd, &cfg, NULL, 20, 1); + + igt_describe("Calculate the average performance of context creation and it's execution " + "using all engines on multiple parallel processes"); igt_subtest("forked-active-all") active(fd, &cfg, NULL, 20, ncpus); + igt_describe("For each engine calculate the average performance of context creation, " + "execution and exercise context raclaim"); igt_subtest_with_dynamic("active") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) active(fd, &cfg, e, 20, 1); } } + + igt_describe("For each engine calculate the average performance of context creation " + "and execution on multiple parallel processes"); igt_subtest_with_dynamic("forked-active") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) active(fd, &cfg, e, 20, ncpus); } } + + igt_describe("For each engine calculate the average performance of context creation " + "and execution while all other engines are hogging the resources"); igt_subtest_with_dynamic("hog") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) -- 2.35.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] HAX: don't do full run 2022-04-01 8:43 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create sai.gowtham.ch 2022-04-01 8:43 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch @ 2022-04-01 8:43 ` sai.gowtham.ch 1 sibling, 0 replies; 6+ messages in thread From: sai.gowtham.ch @ 2022-04-01 8:43 UTC (permalink / raw) To: igt-dev, sai.gowtham.ch, kamil.konieczny From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Just for test description, no full run is necessary. Signed-off-by: Ch Sai Gowtham <sai.gowtham.ch@intel.com> --- tests/intel-ci/fast-feedback.testlist | 182 +------------------------- 1 file changed, 1 insertion(+), 181 deletions(-) diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist index c1014558..9f8e18ce 100644 --- a/tests/intel-ci/fast-feedback.testlist +++ b/tests/intel-ci/fast-feedback.testlist @@ -1,181 +1 @@ -# Keep alphabetically sorted by default - -igt@core_auth@basic-auth -igt@debugfs_test@read_all_entries -igt@fbdev@eof -igt@fbdev@info -igt@fbdev@nullptr -igt@fbdev@read -igt@fbdev@write -igt@gem_basic@bad-close -igt@gem_basic@create-close -igt@gem_basic@create-fd-close -igt@gem_busy@busy@all -igt@gem_close_race@basic-process -igt@gem_close_race@basic-threads -igt@gem_ctx_create@basic -igt@gem_ctx_create@basic-files -igt@gem_ctx_exec@basic -igt@gem_exec_basic@basic -igt@gem_exec_create@basic -igt@gem_exec_fence@basic-busy -igt@gem_exec_fence@basic-wait -igt@gem_exec_fence@basic-await -igt@gem_exec_fence@nb-await -igt@gem_exec_gttfill@basic -igt@gem_exec_parallel@engines -igt@gem_exec_store@basic -igt@gem_exec_suspend@basic-s0 -igt@gem_exec_suspend@basic-s3 -igt@gem_flink_basic@bad-flink -igt@gem_flink_basic@bad-open -igt@gem_flink_basic@basic -igt@gem_flink_basic@double-flink -igt@gem_flink_basic@flink-lifetime -igt@gem_huc_copy@huc-copy -igt@gem_linear_blits@basic -igt@gem_lmem_swapping@basic -igt@gem_lmem_swapping@parallel-random-engines -igt@gem_lmem_swapping@random-engines -igt@gem_lmem_swapping@verify-random -igt@gem_mmap@basic -igt@gem_mmap_gtt@basic -igt@gem_render_linear_blits@basic -igt@gem_render_tiled_blits@basic -igt@gem_ringfill@basic-all -igt@gem_softpin@allocator-basic -igt@gem_softpin@allocator-basic-reserve -igt@gem_softpin@safe-alignment -igt@gem_sync@basic-all -igt@gem_sync@basic-each -igt@gem_tiled_blits@basic -igt@gem_tiled_fence_blits@basic -igt@gem_tiled_pread_basic -igt@gem_wait@busy@all -igt@gem_wait@wait@all -igt@i915_getparams_basic@basic-eu-total -igt@i915_getparams_basic@basic-subslice-total -igt@i915_hangman@error-state-basic -igt@kms_addfb_basic@addfb25-bad-modifier -igt@kms_addfb_basic@addfb25-framebuffer-vs-set-tiling -igt@kms_addfb_basic@addfb25-modifier-no-flag -igt@kms_addfb_basic@addfb25-x-tiled-legacy -igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy -igt@kms_addfb_basic@addfb25-yf-tiled-legacy -igt@kms_addfb_basic@addfb25-y-tiled-legacy -igt@kms_addfb_basic@addfb25-y-tiled-small-legacy -igt@kms_addfb_basic@bad-pitch-0 -igt@kms_addfb_basic@bad-pitch-1024 -igt@kms_addfb_basic@bad-pitch-128 -igt@kms_addfb_basic@bad-pitch-256 -igt@kms_addfb_basic@bad-pitch-32 -igt@kms_addfb_basic@bad-pitch-63 -igt@kms_addfb_basic@bad-pitch-65536 -igt@kms_addfb_basic@bad-pitch-999 -igt@kms_addfb_basic@basic -igt@kms_addfb_basic@basic-x-tiled-legacy -igt@kms_addfb_basic@basic-y-tiled-legacy -igt@kms_addfb_basic@bo-too-small -igt@kms_addfb_basic@bo-too-small-due-to-tiling -igt@kms_addfb_basic@clobberred-modifier -igt@kms_addfb_basic@framebuffer-vs-set-tiling -igt@kms_addfb_basic@invalid-get-prop -igt@kms_addfb_basic@invalid-get-prop-any -igt@kms_addfb_basic@invalid-set-prop -igt@kms_addfb_basic@invalid-set-prop-any -igt@kms_addfb_basic@no-handle -igt@kms_addfb_basic@size-max -igt@kms_addfb_basic@small-bo -igt@kms_addfb_basic@tile-pitch-mismatch -igt@kms_addfb_basic@too-high -igt@kms_addfb_basic@too-wide -igt@kms_addfb_basic@unused-handle -igt@kms_addfb_basic@unused-modifier -igt@kms_addfb_basic@unused-offsets -igt@kms_addfb_basic@unused-pitches -igt@kms_busy@basic -igt@kms_chamelium@dp-hpd-fast -igt@kms_chamelium@dp-edid-read -igt@kms_chamelium@dp-crc-fast -igt@kms_chamelium@hdmi-hpd-fast -igt@kms_chamelium@hdmi-edid-read -igt@kms_chamelium@hdmi-crc-fast -igt@kms_chamelium@vga-hpd-fast -igt@kms_chamelium@vga-edid-read -igt@kms_chamelium@common-hpd-after-suspend -igt@kms_prop_blob@basic -igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic -igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy -igt@kms_cursor_legacy@basic-flip-after-cursor-atomic -igt@kms_cursor_legacy@basic-flip-after-cursor-legacy -igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size -igt@kms_cursor_legacy@basic-flip-before-cursor-atomic -igt@kms_cursor_legacy@basic-flip-before-cursor-legacy -igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size -igt@kms_flip@basic-flip-vs-dpms -igt@kms_flip@basic-flip-vs-modeset -igt@kms_flip@basic-flip-vs-wf_vblank -igt@kms_flip@basic-plain-flip -igt@kms_force_connector_basic@force-connector-state -igt@kms_force_connector_basic@force-edid -igt@kms_force_connector_basic@force-load-detect -igt@kms_force_connector_basic@prune-stale-modes -igt@kms_frontbuffer_tracking@basic -igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-a -igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b -igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c -igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d -igt@kms_pipe_crc_basic@hang-read-crc-pipe-a -igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a -igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence -igt@kms_pipe_crc_basic@read-crc-pipe-a -igt@kms_pipe_crc_basic@read-crc-pipe-b -igt@kms_pipe_crc_basic@read-crc-pipe-c -igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence -igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a -igt@kms_psr@primary_page_flip -igt@kms_psr@cursor_plane_move -igt@kms_psr@sprite_plane_onoff -igt@kms_psr@primary_mmap_gtt -igt@kms_setmode@basic-clone-single-crtc -igt@i915_pm_backlight@basic-brightness -igt@i915_pm_rpm@basic-pci-d3-state -igt@i915_pm_rpm@basic-rte -igt@i915_pm_rps@basic-api -igt@prime_self_import@basic-llseek-bad -igt@prime_self_import@basic-llseek-size -igt@prime_self_import@basic-with_fd_dup -igt@prime_self_import@basic-with_one_bo -igt@prime_self_import@basic-with_one_bo_two_files -igt@prime_self_import@basic-with_two_bos -igt@prime_vgem@basic-fence-flip -igt@prime_vgem@basic-fence-mmap -igt@prime_vgem@basic-fence-read -igt@prime_vgem@basic-gtt -igt@prime_vgem@basic-read -igt@prime_vgem@basic-write -igt@prime_vgem@basic-userptr -igt@vgem_basic@setversion -igt@vgem_basic@create -igt@vgem_basic@debugfs -igt@vgem_basic@dmabuf-export -igt@vgem_basic@dmabuf-fence -igt@vgem_basic@dmabuf-fence-before -igt@vgem_basic@dmabuf-mmap -igt@vgem_basic@mmap -igt@vgem_basic@second-client -igt@vgem_basic@sysfs - -# All tests that do module unloading and reloading are executed last. -# They will sometimes reveal issues of earlier tests leaving the -# driver in a broken state that is not otherwise noticed in that test. - -igt@core_hotunplug@unbind-rebind -igt@vgem_basic@unload -igt@i915_module_load@reload -igt@i915_pm_rpm@module-reload -igt@i915_suspend@system-suspend-without-i915 - -# Kernel selftests -igt@i915_selftest@live -igt@dmabuf@all +igt@meta_test@fail-result -- 2.35.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create. @ 2022-04-01 9:35 sai.gowtham.ch 2022-04-01 9:35 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch 0 siblings, 1 reply; 6+ messages in thread From: sai.gowtham.ch @ 2022-04-01 9:35 UTC (permalink / raw) To: igt-dev, sai.gowtham.ch, kamil.konieczny From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Add test description to gem_ctx_create. Ch Sai Gowtham (2): i915/gem_ctx_create: Added test description for test case HAX: don't do full run tests/i915/gem_ctx_create.c | 29 ++++ tests/intel-ci/fast-feedback.testlist | 182 +------------------------- 2 files changed, 30 insertions(+), 181 deletions(-) -- 2.35.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case 2022-04-01 9:35 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create sai.gowtham.ch @ 2022-04-01 9:35 ` sai.gowtham.ch 0 siblings, 0 replies; 6+ messages in thread From: sai.gowtham.ch @ 2022-04-01 9:35 UTC (permalink / raw) To: igt-dev, sai.gowtham.ch, kamil.konieczny From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Added test and subtests description v2: Modified description to be more precise v3: Rebase v4: Incorporated minor changes in description based on feedback v5: Minor alignment adjustments, extended description of active subtest Signed-off-by: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com> Cc: Melkaveri, Arjun <arjun.melkaveri@intel.com> Cc: Dec, Katarzyna <katarzyna.dec@intel.com> Cc: Petri Latvala <petri.latvala@intel.com> Acked-by: Katarzyna Dec <katarzyna.dec@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> --- tests/i915/gem_ctx_create.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/tests/i915/gem_ctx_create.c b/tests/i915/gem_ctx_create.c index 44846652..814beb4a 100644 --- a/tests/i915/gem_ctx_create.c +++ b/tests/i915/gem_ctx_create.c @@ -36,6 +36,8 @@ #include "igt_rand.h" #include "sw_sync.h" +IGT_TEST_DESCRIPTION("Test the context create ioctls"); + #define ENGINE_FLAGS (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK) static unsigned all_engines[I915_EXEC_RING_MASK + 1]; @@ -585,6 +587,7 @@ igt_main igt_fork_hang_detector(fd); } + igt_describe("Test random context creation"); igt_subtest("basic") { memset(&create, 0, sizeof(create)); create.ctx_id = rand(); @@ -594,41 +597,67 @@ igt_main gem_context_destroy(fd, create.ctx_id); } + igt_describe("Verify valid and invalid context extensions"); igt_subtest("ext-param") basic_ext_param(fd); + + igt_describe("Set, validate and execute particular context params"); igt_subtest("iris-pipeline") iris_pipeline(fd); + igt_describe("Create contexts upto available RAM size, calculate the average " + "performance of their execution on multiple parallel processes"); igt_subtest("maximum-mem") maximum(fd, &cfg, ncpus, CHECK_RAM); + + igt_describe("Create contexts upto available RAM+SWAP size, calculate the average " + "performance of their execution on multiple parallel processes"); igt_subtest("maximum-swap") maximum(fd, &cfg, ncpus, CHECK_RAM | CHECK_SWAP); + igt_describe("Exercise implicit per-fd context creation"); igt_subtest("basic-files") files(fd, &cfg, 2, 1); + + igt_describe("Exercise implicit per-fd context creation on 1 CPU for long duration"); igt_subtest("files") files(fd, &cfg, 20, 1); + + igt_describe("Exercise implicit per-fd context creation on all CPUs for long duration"); igt_subtest("forked-files") files(fd, &cfg, 20, ncpus); /* NULL value means all engines */ + igt_describe("Calculate the average performance of context creation and " + "it's execution using all engines"); igt_subtest("active-all") active(fd, &cfg, NULL, 20, 1); + + igt_describe("Calculate the average performance of context creation and it's execution " + "using all engines on multiple parallel processes"); igt_subtest("forked-active-all") active(fd, &cfg, NULL, 20, ncpus); + igt_describe("For each engine calculate the average performance of context creation " + "execution and exercise context reclaim"); igt_subtest_with_dynamic("active") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) active(fd, &cfg, e, 20, 1); } } + + igt_describe("For each engine calculate the average performance of context creation " + "and execution on multiple parallel processes"); igt_subtest_with_dynamic("forked-active") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) active(fd, &cfg, e, 20, ncpus); } } + + igt_describe("For each engine calculate the average performance of context creation " + "and execution while all other engines are hogging the resources"); igt_subtest_with_dynamic("hog") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) -- 2.35.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create. @ 2022-03-22 5:20 sai.gowtham.ch 2022-03-22 5:20 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch 0 siblings, 1 reply; 6+ messages in thread From: sai.gowtham.ch @ 2022-03-22 5:20 UTC (permalink / raw) To: igt-dev, sai.gowtham.ch, kamil.konieczny From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Add test description to gem_ctx_create. Ch Sai Gowtham (2): i915/gem_ctx_create: Added test description for test case HAX: don't do full run tests/i915/gem_ctx_create.c | 29 +++++ tests/intel-ci/fast-feedback.testlist | 181 +------------------------- 2 files changed, 30 insertions(+), 180 deletions(-) -- 2.35.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case 2022-03-22 5:20 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create sai.gowtham.ch @ 2022-03-22 5:20 ` sai.gowtham.ch 2022-03-29 16:01 ` Kamil Konieczny 0 siblings, 1 reply; 6+ messages in thread From: sai.gowtham.ch @ 2022-03-22 5:20 UTC (permalink / raw) To: igt-dev, sai.gowtham.ch, kamil.konieczny From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Added test and subtests description v2: Modified description to be more precise v3: Rebase v4: Incorporated minor changes in description based on feedback v5: Minor alignment adjustments Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com> Signed-off-by: Ch Sai Gowtham <sai.gowtham.ch@intel.com> Cc: Melkaveri, Arjun <arjun.melkaveri@intel.com> Cc: Dec, Katarzyna <katarzyna.dec@intel.com> Cc: Petri Latvala <petri.latvala@intel.com> Acked-by: Katarzyna Dec <katarzyna.dec@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> --- tests/i915/gem_ctx_create.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/tests/i915/gem_ctx_create.c b/tests/i915/gem_ctx_create.c index 44846652..6eab5bac 100644 --- a/tests/i915/gem_ctx_create.c +++ b/tests/i915/gem_ctx_create.c @@ -36,6 +36,8 @@ #include "igt_rand.h" #include "sw_sync.h" +IGT_TEST_DESCRIPTION("Test the context create ioctls"); + #define ENGINE_FLAGS (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK) static unsigned all_engines[I915_EXEC_RING_MASK + 1]; @@ -585,6 +587,7 @@ igt_main igt_fork_hang_detector(fd); } + igt_describe("Test random context creation"); igt_subtest("basic") { memset(&create, 0, sizeof(create)); create.ctx_id = rand(); @@ -594,41 +597,67 @@ igt_main gem_context_destroy(fd, create.ctx_id); } + igt_describe("Verify valid and invalid context extensions"); igt_subtest("ext-param") basic_ext_param(fd); + + igt_describe("Set, validate and execute particular context params"); igt_subtest("iris-pipeline") iris_pipeline(fd); + igt_describe("Create contexts upto available RAM size, calculate the average " + "performance of their execution on multiple parallel processes"); igt_subtest("maximum-mem") maximum(fd, &cfg, ncpus, CHECK_RAM); + + igt_describe("Create contexts upto available RAM+SWAP size, calculate the average " + "performance of their execution on multiple parallel processes"); igt_subtest("maximum-swap") maximum(fd, &cfg, ncpus, CHECK_RAM | CHECK_SWAP); + igt_describe("Exercise implicit per-fd context creation"); igt_subtest("basic-files") files(fd, &cfg, 2, 1); + + igt_describe("Exercise implicit per-fd context creation on 1 CPU for long duration"); igt_subtest("files") files(fd, &cfg, 20, 1); + + igt_describe("Exercise implicit per-fd context creation on all CPUs for long duration"); igt_subtest("forked-files") files(fd, &cfg, 20, ncpus); /* NULL value means all engines */ + igt_describe("Calculate the average performance of context creation and " + "it's execution using all engines"); igt_subtest("active-all") active(fd, &cfg, NULL, 20, 1); + + igt_describe("Calculate the average performance of context creation and it's execution " + "using all engines on multiple parallel processes"); igt_subtest("forked-active-all") active(fd, &cfg, NULL, 20, ncpus); + igt_describe("For each engine calculate the average performance of context creation " + "and execution"); igt_subtest_with_dynamic("active") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) active(fd, &cfg, e, 20, 1); } } + + igt_describe("For each engine calculate the average performance of context creation " + "and execution on multiple parallel processes"); igt_subtest_with_dynamic("forked-active") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) active(fd, &cfg, e, 20, ncpus); } } + + igt_describe("For each engine calculate the average performance of context creation " + "and execution while all other engines are hogging the resources"); igt_subtest_with_dynamic("hog") { for_each_ctx_cfg_engine(fd, &cfg, e) { igt_dynamic_f("%s", e->name) -- 2.35.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case 2022-03-22 5:20 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch @ 2022-03-29 16:01 ` Kamil Konieczny 0 siblings, 0 replies; 6+ messages in thread From: Kamil Konieczny @ 2022-03-29 16:01 UTC (permalink / raw) To: igt-dev; +Cc: Sai Gowtham Ch, Petri Latvala Hi Sai, please extend a little description of active subtest, see below. Dnia 2022-03-22 at 10:50:14 +0530, sai.gowtham.ch@intel.com napisał(a): > From: Ch Sai Gowtham <sai.gowtham.ch@intel.com> > > Added test and subtests description > > v2: Modified description to be more precise > > v3: Rebase > > v4: Incorporated minor changes in description based > on feedback > > v5: Minor alignment adjustments > > Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com> > Signed-off-by: Ch Sai Gowtham <sai.gowtham.ch@intel.com> > Cc: Melkaveri, Arjun <arjun.melkaveri@intel.com> > Cc: Dec, Katarzyna <katarzyna.dec@intel.com> > Cc: Petri Latvala <petri.latvala@intel.com> > Acked-by: Katarzyna Dec <katarzyna.dec@intel.com> > Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> > --- > tests/i915/gem_ctx_create.c | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/tests/i915/gem_ctx_create.c b/tests/i915/gem_ctx_create.c > index 44846652..6eab5bac 100644 > --- a/tests/i915/gem_ctx_create.c > +++ b/tests/i915/gem_ctx_create.c > @@ -36,6 +36,8 @@ > #include "igt_rand.h" > #include "sw_sync.h" > > +IGT_TEST_DESCRIPTION("Test the context create ioctls"); > + > #define ENGINE_FLAGS (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK) > > static unsigned all_engines[I915_EXEC_RING_MASK + 1]; > @@ -585,6 +587,7 @@ igt_main > igt_fork_hang_detector(fd); > } > > + igt_describe("Test random context creation"); > igt_subtest("basic") { > memset(&create, 0, sizeof(create)); > create.ctx_id = rand(); > @@ -594,41 +597,67 @@ igt_main > gem_context_destroy(fd, create.ctx_id); > } > > + igt_describe("Verify valid and invalid context extensions"); > igt_subtest("ext-param") > basic_ext_param(fd); > + > + igt_describe("Set, validate and execute particular context params"); > igt_subtest("iris-pipeline") > iris_pipeline(fd); > > + igt_describe("Create contexts upto available RAM size, calculate the average " > + "performance of their execution on multiple parallel processes"); > igt_subtest("maximum-mem") > maximum(fd, &cfg, ncpus, CHECK_RAM); > + > + igt_describe("Create contexts upto available RAM+SWAP size, calculate the average " > + "performance of their execution on multiple parallel processes"); > igt_subtest("maximum-swap") > maximum(fd, &cfg, ncpus, CHECK_RAM | CHECK_SWAP); > > + igt_describe("Exercise implicit per-fd context creation"); > igt_subtest("basic-files") > files(fd, &cfg, 2, 1); > + > + igt_describe("Exercise implicit per-fd context creation on 1 CPU for long duration"); > igt_subtest("files") > files(fd, &cfg, 20, 1); > + > + igt_describe("Exercise implicit per-fd context creation on all CPUs for long duration"); > igt_subtest("forked-files") > files(fd, &cfg, 20, ncpus); > > /* NULL value means all engines */ > + igt_describe("Calculate the average performance of context creation and " > + "it's execution using all engines"); > igt_subtest("active-all") > active(fd, &cfg, NULL, 20, 1); > + > + igt_describe("Calculate the average performance of context creation and it's execution " > + "using all engines on multiple parallel processes"); > igt_subtest("forked-active-all") > active(fd, &cfg, NULL, 20, ncpus); > > + igt_describe("For each engine calculate the average performance of context creation " > + "and execution"); Add "and exercise context raclaim" at end of description, e.g. s/execution/execution and exercise context raclaim/ imho adding this here should suffice, no need to repeat it in other active subtests. Regards, Kamil > igt_subtest_with_dynamic("active") { > for_each_ctx_cfg_engine(fd, &cfg, e) { > igt_dynamic_f("%s", e->name) > active(fd, &cfg, e, 20, 1); > } > } > + > + igt_describe("For each engine calculate the average performance of context creation " > + "and execution on multiple parallel processes"); > igt_subtest_with_dynamic("forked-active") { > for_each_ctx_cfg_engine(fd, &cfg, e) { > igt_dynamic_f("%s", e->name) > active(fd, &cfg, e, 20, ncpus); > } > } > + > + igt_describe("For each engine calculate the average performance of context creation " > + "and execution while all other engines are hogging the resources"); > igt_subtest_with_dynamic("hog") { > for_each_ctx_cfg_engine(fd, &cfg, e) { > igt_dynamic_f("%s", e->name) > -- > 2.35.1 > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-01 9:36 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-04-01 8:43 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create sai.gowtham.ch 2022-04-01 8:43 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch 2022-04-01 8:43 ` [igt-dev] [PATCH i-g-t 2/2] HAX: don't do full run sai.gowtham.ch -- strict thread matches above, loose matches on Subject: below -- 2022-04-01 9:35 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create sai.gowtham.ch 2022-04-01 9:35 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch 2022-03-22 5:20 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_ctx_create sai.gowtham.ch 2022-03-22 5:20 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_ctx_create: Added test description for test case sai.gowtham.ch 2022-03-29 16:01 ` Kamil Konieczny
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.