All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests
@ 2024-04-23 10:48 Katarzyna Piecielska
  2024-04-23 10:48 ` [PATCH i-g-t v2 01/16] tests/intel: Introduce General Core Mega feature Katarzyna Piecielska
                   ` (16 more replies)
  0 siblings, 17 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:48 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

After Xe and i915 test documentation alignment there is now time to
add Mega feature field. After live review of v1 we decided to reduce
number of Mega feature values:

 - General Core features will cover:
	legacy and DRIVER_ANY tests
	legacy and DRIVER_INTEL i915 tests
	general Xe tests
	Blitter tests
	Command Submission tests
	Memory management tests, VMA,
 - Compute
	Compute tests
	GPGPU tests
 - Compression
	FlatCCS tests
 - Media
	Media tests
 - Performance interface
	Performance interface tests
 - Power management
	Power management tests
 - RAS
	RAS tests
 - Render
	Render copy, 3d
 - SysMan
	SysMan tests

Also adding missing Mega feature to Display tests: General Display
Features.

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>

Katarzyna Piecielska (16):
  tests/intel: Introduce General Core Mega feature
  tests: Add Memory management tests to General Core Mega feature
  tests/intel: Add Blitter tests to General Core Mega feature
  tests/intel: Introduce Power management Mega feature
  tests/intel: Introduce Compute Mega feature
  tests: Add DRIVER_ANY tests to General Core Mega feature
  tests/intel: Add legacy i915 tests to General Core Mega feature
  tests/intel: Introduce SysMan Mega feature
  tests/intel: Add general XE tests to General Core Mega feature
  tests/intel: Introduce Performance Mega feature
  tests/intel: Introduce Compression Mega feature
  tests/intel: Introduce Render Mega feature
  tests/intel: Add GPGPU tests to Compute Mega feature
  tests/intel: Introduce Media Mega feature
  tests/intel: Introduce RAS Mega feature
  tests/intel: Add display tests to General Display Features

 tests/core_auth.c                            |   7 +-
 tests/core_getclient.c                       |   7 +-
 tests/core_getstats.c                        |   7 +-
 tests/core_getversion.c                      |   7 +-
 tests/core_hotunplug.c                       |   5 +-
 tests/core_setmaster.c                       |   7 +-
 tests/core_setmaster_vs_auth.c               |   7 +-
 tests/device_reset.c                         |  11 +-
 tests/dmabuf.c                               |   4 +-
 tests/drm_mm.c                               |   5 +-
 tests/dumb_buffer.c                          |   7 +-
 tests/intel/api_intel_allocator.c            |   5 +-
 tests/intel/api_intel_bb.c                   |   7 +-
 tests/intel/debugfs_test.c                   |   5 +-
 tests/intel/drm_fdinfo.c                     |   7 +-
 tests/intel/gem_bad_reloc.c                  |   5 +-
 tests/intel/gem_barrier_race.c               |   1 +
 tests/intel/gem_basic.c                      |   5 +-
 tests/intel/gem_blits.c                      |   5 +-
 tests/intel/gem_busy.c                       |   3 +-
 tests/intel/gem_caching.c                    |   7 +-
 tests/intel/gem_ccs.c                        |   5 +-
 tests/intel/gem_close.c                      |   5 +-
 tests/intel/gem_close_race.c                 |   5 +-
 tests/intel/gem_compute.c                    |   5 +-
 tests/intel/gem_create.c                     |   5 +-
 tests/intel/gem_cs_tlb.c                     |   7 +-
 tests/intel/gem_ctx_bad_destroy.c            |   7 +-
 tests/intel/gem_ctx_create.c                 |   5 +-
 tests/intel/gem_ctx_engines.c                |   5 +-
 tests/intel/gem_ctx_exec.c                   |   5 +-
 tests/intel/gem_ctx_freq.c                   |   5 +-
 tests/intel/gem_ctx_isolation.c              |   5 +-
 tests/intel/gem_ctx_param.c                  |   5 +-
 tests/intel/gem_ctx_persistence.c            |   5 +-
 tests/intel/gem_ctx_shared.c                 |   5 +-
 tests/intel/gem_ctx_sseu.c                   |   5 +-
 tests/intel/gem_ctx_switch.c                 |   1 +
 tests/intel/gem_eio.c                        |   5 +-
 tests/intel/gem_evict_alignment.c            |   3 +-
 tests/intel/gem_evict_everything.c           |   3 +-
 tests/intel/gem_exec_alignment.c             |   7 +-
 tests/intel/gem_exec_async.c                 |   5 +-
 tests/intel/gem_exec_await.c                 |   5 +-
 tests/intel/gem_exec_balancer.c              |   5 +-
 tests/intel/gem_exec_basic.c                 |   5 +-
 tests/intel/gem_exec_big.c                   |   3 +-
 tests/intel/gem_exec_capture.c               |   5 +-
 tests/intel/gem_exec_create.c                |   5 +-
 tests/intel/gem_exec_endless.c               |   1 +
 tests/intel/gem_exec_fair.c                  |   5 +-
 tests/intel/gem_exec_fence.c                 |   5 +-
 tests/intel/gem_exec_flush.c                 |   1 +
 tests/intel/gem_exec_gttfill.c               |   5 +-
 tests/intel/gem_exec_latency.c               |   3 +-
 tests/intel/gem_exec_lut_handle.c            |   3 +-
 tests/intel/gem_exec_nop.c                   |   5 +-
 tests/intel/gem_exec_parallel.c              |   6 +-
 tests/intel/gem_exec_params.c                |   5 +-
 tests/intel/gem_exec_reloc.c                 |   3 +-
 tests/intel/gem_exec_schedule.c              |   5 +-
 tests/intel/gem_exec_store.c                 |   7 +-
 tests/intel/gem_exec_suspend.c               |   5 +-
 tests/intel/gem_exec_whisper.c               |   3 +-
 tests/intel/gem_exercise_blt.c               |   5 +-
 tests/intel/gem_fd_exhaustion.c              |   3 +-
 tests/intel/gem_fence_thrash.c               |   5 +-
 tests/intel/gem_fence_upload.c               |   3 +-
 tests/intel/gem_fenced_exec_thrash.c         |   1 +
 tests/intel/gem_flink_basic.c                |   7 +-
 tests/intel/gem_flink_race.c                 |   7 +-
 tests/intel/gem_gpgpu_fill.c                 |   3 +-
 tests/intel/gem_gtt_cpu_tlb.c                |   8 +-
 tests/intel/gem_gtt_hog.c                    |   3 +-
 tests/intel/gem_gtt_speed.c                  |   3 +-
 tests/intel/gem_huc_copy.c                   |   7 +-
 tests/intel/gem_linear_blits.c               |   7 +-
 tests/intel/gem_lmem_evict.c                 |   5 +-
 tests/intel/gem_lmem_swapping.c              |   7 +-
 tests/intel/gem_lut_handle.c                 |   3 +-
 tests/intel/gem_madvise.c                    |   7 +-
 tests/intel/gem_media_fill.c                 |   7 +-
 tests/intel/gem_media_vme.c                  |   5 +-
 tests/intel/gem_mmap.c                       |   7 +-
 tests/intel/gem_mmap_gtt.c                   |   5 +-
 tests/intel/gem_mmap_offset.c                |   5 +-
 tests/intel/gem_mmap_wc.c                    |   5 +-
 tests/intel/gem_partial_pwrite_pread.c       |   5 +-
 tests/intel/gem_pipe_control_store_loop.c    |   5 +-
 tests/intel/gem_ppgtt.c                      |   5 +-
 tests/intel/gem_pread.c                      |   5 +-
 tests/intel/gem_pread_after_blit.c           |   3 +-
 tests/intel/gem_pwrite.c                     |   3 +-
 tests/intel/gem_pwrite_snooped.c             |   1 +
 tests/intel/gem_pxp.c                        |   7 +-
 tests/intel/gem_read_read_speed.c            |   3 +-
 tests/intel/gem_readwrite.c                  |   5 +-
 tests/intel/gem_reg_read.c                   |   5 +-
 tests/intel/gem_render_copy.c                |   5 +-
 tests/intel/gem_render_copy_redux.c          |   3 +-
 tests/intel/gem_render_linear_blits.c        |   5 +-
 tests/intel/gem_render_tiled_blits.c         |   5 +-
 tests/intel/gem_request_retire.c             |   7 +-
 tests/intel/gem_reset_stats.c                |   5 +-
 tests/intel/gem_ringfill.c                   |   7 +-
 tests/intel/gem_set_tiling_vs_blt.c          |   7 +-
 tests/intel/gem_set_tiling_vs_gtt.c          |   5 +-
 tests/intel/gem_set_tiling_vs_pwrite.c       |   5 +-
 tests/intel/gem_shrink.c                     |   3 +-
 tests/intel/gem_softpin.c                    |   7 +-
 tests/intel/gem_spin_batch.c                 |   7 +-
 tests/intel/gem_streaming_writes.c           |   3 +-
 tests/intel/gem_stress.c                     |   1 +
 tests/intel/gem_sync.c                       |   7 +-
 tests/intel/gem_tiled_blits.c                |   5 +-
 tests/intel/gem_tiled_fence_blits.c          |   5 +-
 tests/intel/gem_tiled_partial_pwrite_pread.c |   5 +-
 tests/intel/gem_tiled_pread_basic.c          |   5 +-
 tests/intel/gem_tiled_pread_pwrite.c         |   5 +-
 tests/intel/gem_tiled_swapping.c             |   5 +-
 tests/intel/gem_tiled_wb.c                   |   5 +-
 tests/intel/gem_tiled_wc.c                   |   5 +-
 tests/intel/gem_tiling_max_stride.c          |   5 +-
 tests/intel/gem_unfence_active_buffers.c     |   5 +-
 tests/intel/gem_unref_active_buffers.c       |   7 +-
 tests/intel/gem_userptr_blits.c              |   5 +-
 tests/intel/gem_vm_create.c                  |   3 +-
 tests/intel/gem_wait.c                       |   9 +-
 tests/intel/gem_watchdog.c                   |   5 +-
 tests/intel/gem_workarounds.c                |   5 +-
 tests/intel/gen3_mixed_blits.c               |   1 +
 tests/intel/gen3_render_linear_blits.c       |   1 +
 tests/intel/gen3_render_mixed_blits.c        |   1 +
 tests/intel/gen3_render_tiledx_blits.c       |   1 +
 tests/intel/gen3_render_tiledy_blits.c       |   1 +
 tests/intel/gen7_exec_parse.c                |   3 +-
 tests/intel/gen9_exec_parse.c                |   7 +-
 tests/intel/i915_fb_tiling.c                 |   5 +-
 tests/intel/i915_getparams_basic.c           |   7 +-
 tests/intel/i915_hangman.c                   |   7 +-
 tests/intel/i915_module_load.c               |   7 +-
 tests/intel/i915_pciid.c                     |   7 +-
 tests/intel/i915_pipe_stress.c               |   4 +-
 tests/intel/i915_pm_freq_api.c               |   1 +
 tests/intel/i915_pm_freq_mult.c              |   7 +-
 tests/intel/i915_pm_rc6_residency.c          |   7 +-
 tests/intel/i915_pm_rpm.c                    |   7 +-
 tests/intel/i915_pm_rps.c                    |   7 +-
 tests/intel/i915_pm_sseu.c                   |   5 +-
 tests/intel/i915_power.c                     |   7 +-
 tests/intel/i915_query.c                     |   7 +-
 tests/intel/i915_selftest.c                  | 370 +++++++++++--------
 tests/intel/i915_suspend.c                   |   8 +-
 tests/intel/intel_hwmon.c                    |   3 +-
 tests/intel/perf.c                           |   7 +-
 tests/intel/perf_pmu.c                       |   7 +-
 tests/intel/prime_busy.c                     |   7 +-
 tests/intel/prime_mmap.c                     |   7 +-
 tests/intel/prime_mmap_coherency.c           |   7 +-
 tests/intel/prime_mmap_kms.c                 |   5 +-
 tests/intel/prime_self_import.c              |   7 +-
 tests/intel/sysfs_defaults.c                 |   5 +-
 tests/intel/sysfs_heartbeat_interval.c       |   7 +-
 tests/intel/sysfs_preempt_timeout.c          |   7 +-
 tests/intel/sysfs_timeslice_duration.c       |   7 +-
 tests/intel/xe_ccs.c                         |   3 +-
 tests/intel/xe_compute.c                     |   3 +-
 tests/intel/xe_compute_preempt.c             |   3 +-
 tests/intel/xe_copy_basic.c                  |   3 +-
 tests/intel/xe_create.c                      |   1 +
 tests/intel/xe_debugfs.c                     |   3 +-
 tests/intel/xe_dma_buf_sync.c                |   1 +
 tests/intel/xe_drm_fdinfo.c                  |   3 +-
 tests/intel/xe_evict.c                       |   2 +
 tests/intel/xe_evict_ccs.c                   |   3 +-
 tests/intel/xe_exec_atomic.c                 |   1 +
 tests/intel/xe_exec_balancer.c               |   2 +-
 tests/intel/xe_exec_basic.c                  |   1 +
 tests/intel/xe_exec_compute_mode.c           |   1 +
 tests/intel/xe_exec_fault_mode.c             |   1 +
 tests/intel/xe_exec_queue_property.c         |   1 +
 tests/intel/xe_exec_reset.c                  |   5 +-
 tests/intel/xe_exec_store.c                  |   1 +
 tests/intel/xe_exec_threads.c                |   1 +
 tests/intel/xe_exercise_blt.c                |   3 +-
 tests/intel/xe_gpgpu_fill.c                  |   3 +-
 tests/intel/xe_gt_freq.c                     |   3 +-
 tests/intel/xe_huc_copy.c                    |   1 +
 tests/intel/xe_intel_bb.c                    |   1 +
 tests/intel/xe_live_ktest.c                  |   1 +
 tests/intel/xe_media_fill.c                  |   9 +-
 tests/intel/xe_mmap.c                        |   3 +-
 tests/intel/xe_module_load.c                 |   1 +
 tests/intel/xe_noexec_ping_pong.c            |   3 +-
 tests/intel/xe_pat.c                         |   1 +
 tests/intel/xe_peer2peer.c                   |   3 +-
 tests/intel/xe_pm.c                          |   3 +-
 tests/intel/xe_pm_residency.c                |   3 +-
 tests/intel/xe_prime_self_import.c           |   1 +
 tests/intel/xe_query.c                       |  66 ++--
 tests/intel/xe_render_copy.c                 |   1 +
 tests/intel/xe_spin_batch.c                  |   1 +
 tests/intel/xe_sysfs_defaults.c              |   6 +-
 tests/intel/xe_sysfs_scheduler.c             |   3 +-
 tests/intel/xe_vm.c                          |   1 +
 tests/intel/xe_waitfence.c                   |   2 +
 tests/prime_vgem.c                           |   7 +-
 tests/sw_sync.c                              |   9 +-
 tests/syncobj_basic.c                        |   7 +-
 tests/syncobj_timeline.c                     |   9 +-
 tests/syncobj_wait.c                         |   9 +-
 tests/vgem_basic.c                           |   5 +-
 tests/vgem_slow.c                            |   7 +-
 213 files changed, 859 insertions(+), 559 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 01/16] tests/intel: Introduce General Core Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
@ 2024-04-23 10:48 ` Katarzyna Piecielska
  2024-04-23 10:48 ` [PATCH i-g-t v2 02/16] tests: Add Memory management tests to " Katarzyna Piecielska
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:48 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add tests around Command Submission to General Core mega feature.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_bad_reloc.c               |  5 ++-
 tests/intel/gem_barrier_race.c            |  1 +
 tests/intel/gem_blits.c                   |  5 ++-
 tests/intel/gem_close_race.c              |  5 ++-
 tests/intel/gem_ctx_bad_destroy.c         |  7 ++--
 tests/intel/gem_ctx_create.c              |  5 ++-
 tests/intel/gem_ctx_engines.c             |  5 ++-
 tests/intel/gem_ctx_exec.c                |  5 ++-
 tests/intel/gem_ctx_shared.c              |  5 ++-
 tests/intel/gem_ctx_switch.c              |  1 +
 tests/intel/gem_evict_alignment.c         |  3 +-
 tests/intel/gem_evict_everything.c        |  3 +-
 tests/intel/gem_exec_alignment.c          |  7 ++--
 tests/intel/gem_exec_async.c              |  5 ++-
 tests/intel/gem_exec_await.c              |  5 ++-
 tests/intel/gem_exec_balancer.c           |  5 ++-
 tests/intel/gem_exec_basic.c              |  5 ++-
 tests/intel/gem_exec_big.c                |  3 +-
 tests/intel/gem_exec_create.c             |  5 ++-
 tests/intel/gem_exec_fair.c               |  5 ++-
 tests/intel/gem_exec_fence.c              |  5 ++-
 tests/intel/gem_exec_flush.c              |  1 +
 tests/intel/gem_exec_gttfill.c            |  5 ++-
 tests/intel/gem_exec_latency.c            |  3 +-
 tests/intel/gem_exec_lut_handle.c         |  3 +-
 tests/intel/gem_exec_nop.c                |  5 ++-
 tests/intel/gem_exec_parallel.c           |  6 +--
 tests/intel/gem_exec_params.c             |  5 ++-
 tests/intel/gem_exec_reloc.c              |  3 +-
 tests/intel/gem_exec_schedule.c           |  5 ++-
 tests/intel/gem_exec_store.c              |  7 ++--
 tests/intel/gem_exec_suspend.c            |  5 ++-
 tests/intel/gem_exec_whisper.c            |  3 +-
 tests/intel/gem_fd_exhaustion.c           |  3 +-
 tests/intel/gem_fence_thrash.c            |  5 ++-
 tests/intel/gem_fence_upload.c            |  3 +-
 tests/intel/gem_fenced_exec_thrash.c      |  1 +
 tests/intel/gem_lut_handle.c              |  3 +-
 tests/intel/gem_partial_pwrite_pread.c    |  5 ++-
 tests/intel/gem_pipe_control_store_loop.c |  5 ++-
 tests/intel/gem_pread.c                   |  5 ++-
 tests/intel/gem_pread_after_blit.c        |  3 +-
 tests/intel/gem_pwrite.c                  |  3 +-
 tests/intel/gem_pwrite_snooped.c          |  1 +
 tests/intel/gem_pxp.c                     |  7 ++--
 tests/intel/gem_render_linear_blits.c     |  5 ++-
 tests/intel/gem_render_tiled_blits.c      |  5 ++-
 tests/intel/gem_request_retire.c          |  7 ++--
 tests/intel/gem_ringfill.c                |  7 ++--
 tests/intel/gem_shrink.c                  |  3 +-
 tests/intel/gem_softpin.c                 |  7 ++--
 tests/intel/gem_stress.c                  |  1 +
 tests/intel/gem_unref_active_buffers.c    |  7 ++--
 tests/intel/gem_watchdog.c                |  5 ++-
 tests/intel/gen7_exec_parse.c             |  3 +-
 tests/intel/i915_selftest.c               | 46 ++++++++++++++---------
 tests/intel/xe_exec_balancer.c            |  2 +-
 tests/intel/xe_exec_basic.c               |  1 +
 tests/intel/xe_exec_compute_mode.c        |  1 +
 tests/intel/xe_exec_fault_mode.c          |  1 +
 tests/intel/xe_exec_reset.c               |  5 ++-
 tests/intel/xe_exec_store.c               |  1 +
 tests/intel/xe_exec_threads.c             |  1 +
 63 files changed, 184 insertions(+), 114 deletions(-)

diff --git a/tests/intel/gem_bad_reloc.c b/tests/intel/gem_bad_reloc.c
index beb24c8b9..319c65583 100644
--- a/tests/intel/gem_bad_reloc.c
+++ b/tests/intel/gem_bad_reloc.c
@@ -45,10 +45,11 @@
  * TEST: gem bad reloc
  * Description: Simulates SNA behaviour using negative self-relocations for
  *		STATE_BASE_ADDRESS command packets.
- * Feature: cmd_submission
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: relocations
+ * Feature: cmd_submission
  *
  * SUBTEST: negative-reloc
  * Description: SNA behaviour is compressing batch buffer which leads to
diff --git a/tests/intel/gem_barrier_race.c b/tests/intel/gem_barrier_race.c
index 221579ad9..c05a2f3de 100644
--- a/tests/intel/gem_barrier_race.c
+++ b/tests/intel/gem_barrier_race.c
@@ -22,6 +22,7 @@
  * Description: Exercise engine barriers and their interaction with other subsystems
  * Feature: core
  * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: barrier
  * Test category: GEM_Legacy
diff --git a/tests/intel/gem_blits.c b/tests/intel/gem_blits.c
index c23ad528d..175c7f871 100644
--- a/tests/intel/gem_blits.c
+++ b/tests/intel/gem_blits.c
@@ -31,9 +31,10 @@
 /**
  * TEST: gem blits
  * Category: Infrastructure
- * Feature: blitter
- * Functionality: command streamer
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: command streamer
+ * Feature: blitter
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_close_race.c b/tests/intel/gem_close_race.c
index 11843170f..4a22d308a 100644
--- a/tests/intel/gem_close_race.c
+++ b/tests/intel/gem_close_race.c
@@ -52,9 +52,10 @@
  * TEST: gem close race
  * Description: Test try to race gem_close against workload submission.
  * Category: Infrastructure
- * Feature: synchronization feature
- * Functionality: driver handler
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: driver handler
+ * Feature: synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic-process
diff --git a/tests/intel/gem_ctx_bad_destroy.c b/tests/intel/gem_ctx_bad_destroy.c
index 67a391f23..85a45a488 100644
--- a/tests/intel/gem_ctx_bad_destroy.c
+++ b/tests/intel/gem_ctx_bad_destroy.c
@@ -36,11 +36,12 @@
 
 /**
  * TEST: gem ctx bad destroy
- * Category: Infrastructure
  * Description: Negative test cases for destroy contexts.
- * Feature: cmd_submission
- * Functionality: context
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: context
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: double-destroy
diff --git a/tests/intel/gem_ctx_create.c b/tests/intel/gem_ctx_create.c
index 471070177..69f2783df 100644
--- a/tests/intel/gem_ctx_create.c
+++ b/tests/intel/gem_ctx_create.c
@@ -39,9 +39,10 @@
  * TEST: gem ctx create
  * Description: Test the context create ioctls
  * Category: Infrastructure
- * Feature: cmd_submission
- * Functionality: context
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: context
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: active
diff --git a/tests/intel/gem_ctx_engines.c b/tests/intel/gem_ctx_engines.c
index 76fc05a36..6cf799912 100644
--- a/tests/intel/gem_ctx_engines.c
+++ b/tests/intel/gem_ctx_engines.c
@@ -46,9 +46,10 @@
 /**
  * TEST: gem ctx engines
  * Category: Infrastructure
- * Feature: cmd_submission
- * Functionality: context
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: context
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: execute-allforone
diff --git a/tests/intel/gem_ctx_exec.c b/tests/intel/gem_ctx_exec.c
index 70aa5413c..930724227 100644
--- a/tests/intel/gem_ctx_exec.c
+++ b/tests/intel/gem_ctx_exec.c
@@ -51,9 +51,10 @@
  * TEST: gem ctx exec
  * Description: Test context batch buffer execution.
  * Category: Infrastructure
- * Feature: cmd_submission
- * Functionality: context
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: context
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_ctx_shared.c b/tests/intel/gem_ctx_shared.c
index f0005ead7..bbb9f19c8 100644
--- a/tests/intel/gem_ctx_shared.c
+++ b/tests/intel/gem_ctx_shared.c
@@ -51,9 +51,10 @@
  * TEST: gem ctx shared
  * Description: Test shared contexts.
  * Category: Desktop client
- * Feature: context feature
- * Functionality: shared contex
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: shared contex
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: Q-in-order
diff --git a/tests/intel/gem_ctx_switch.c b/tests/intel/gem_ctx_switch.c
index 350efb69e..d87fcb46f 100644
--- a/tests/intel/gem_ctx_switch.c
+++ b/tests/intel/gem_ctx_switch.c
@@ -49,6 +49,7 @@
  * TEST: gem ctx switch
  * Feature: context feature
  * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: CMD Submission
  * Functionality: context switching
  *
diff --git a/tests/intel/gem_evict_alignment.c b/tests/intel/gem_evict_alignment.c
index 0ccddcfe3..d3f02c8ac 100644
--- a/tests/intel/gem_evict_alignment.c
+++ b/tests/intel/gem_evict_alignment.c
@@ -50,8 +50,9 @@
 /**
  * TEST: gem evict alignment
  * Description: Run a couple of big batches to force the unbind on misalignment code.
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: misalignment
  *
  * SUBTEST: major-hang
diff --git a/tests/intel/gem_evict_everything.c b/tests/intel/gem_evict_everything.c
index 87338506d..5d8f30bd6 100644
--- a/tests/intel/gem_evict_everything.c
+++ b/tests/intel/gem_evict_everything.c
@@ -51,8 +51,9 @@
 /**
  * TEST: gem evict everything
  * Description: Run a couple of big batches to force the eviction code.
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: eviction
  *
  * SUBTEST: forked-interruptible
diff --git a/tests/intel/gem_exec_alignment.c b/tests/intel/gem_exec_alignment.c
index 6e5496166..45237e4f4 100644
--- a/tests/intel/gem_exec_alignment.c
+++ b/tests/intel/gem_exec_alignment.c
@@ -47,11 +47,12 @@
 #include "igt_types.h"
 /**
  * TEST: gem exec alignment
- * Category: Desktop client
  * Description: Exercises the basic execbuffer using object alignments
- * Feature: cmd_submission
- * Functionality: execbuf
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execbuf
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: forked
diff --git a/tests/intel/gem_exec_async.c b/tests/intel/gem_exec_async.c
index f09bc8692..f61517e76 100644
--- a/tests/intel/gem_exec_async.c
+++ b/tests/intel/gem_exec_async.c
@@ -27,10 +27,11 @@
 /**
  * TEST: gem exec async
  * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
+ * Functionality: concurent writes
  * Description: Check that we can issue concurrent writes across the engines.
  * Feature: cmd_submission
- * Functionality: concurent writes
- * Sub-category: CMD submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: concurrent-writes
diff --git a/tests/intel/gem_exec_await.c b/tests/intel/gem_exec_await.c
index fcbca1547..3b496593b 100644
--- a/tests/intel/gem_exec_await.c
+++ b/tests/intel/gem_exec_await.c
@@ -46,9 +46,10 @@
 /**
  * TEST: gem exec await
  * Category: Infrastructure
- * Feature: cmd_submission
- * Functionality: requests
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: requests
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: wide-all
diff --git a/tests/intel/gem_exec_balancer.c b/tests/intel/gem_exec_balancer.c
index 7504f3737..f946cf13b 100644
--- a/tests/intel/gem_exec_balancer.c
+++ b/tests/intel/gem_exec_balancer.c
@@ -42,9 +42,10 @@
  * TEST: gem exec balancer
  * Description: Exercise in-kernel load-balancing
  * Category: Desktop \ Server
- * Feature: cmd_submission, media_scalability
- * Functionality: load balancing
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: load balancing
+ * Feature: cmd_submission, media_scalability
  * Test category: Media & Compute
  *
  * SUBTEST: bonded-chain
diff --git a/tests/intel/gem_exec_basic.c b/tests/intel/gem_exec_basic.c
index 3982bccc6..515c117cf 100644
--- a/tests/intel/gem_exec_basic.c
+++ b/tests/intel/gem_exec_basic.c
@@ -29,9 +29,10 @@
  * TEST: gem exec basic
  * Description: Basic sanity check of execbuf-ioctl rings.
  * Category: Infrastructure
- * Feature: cmd_submission
- * Functionality: execbuf
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execbuf
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_exec_big.c b/tests/intel/gem_exec_big.c
index d464440e9..ffdfb650c 100644
--- a/tests/intel/gem_exec_big.c
+++ b/tests/intel/gem_exec_big.c
@@ -53,8 +53,9 @@
  * Description: Run a large nop batch to stress test the error capture code.
  * Feature: cmd_submission
  * Category: Infrastructure
- * Functionality: large nop batch
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: large nop batch
  * Test category: GEM_Legacy
  *
  * SUBTEST: exhaustive
diff --git a/tests/intel/gem_exec_create.c b/tests/intel/gem_exec_create.c
index e9a3cdc04..0d4fa97ef 100644
--- a/tests/intel/gem_exec_create.c
+++ b/tests/intel/gem_exec_create.c
@@ -49,12 +49,13 @@
 /**
  * TEST: gem exec create
  * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
+ * Functionality: buffer management
  * 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
- * Functionality: buffer management
- * Sub-category: CMD submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_exec_fair.c b/tests/intel/gem_exec_fair.c
index e71fa2f0d..142da4002 100644
--- a/tests/intel/gem_exec_fair.c
+++ b/tests/intel/gem_exec_fair.c
@@ -29,10 +29,11 @@
 /**
  * TEST: gem exec fair
  * Description: Check that GPU time and execution order is fairly distributed across clients
- * Feature: cmd_submission
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: multi-client systems
+ * Feature: cmd_submission
  *
  * SUBTEST: basic-deadline
  *
diff --git a/tests/intel/gem_exec_fence.c b/tests/intel/gem_exec_fence.c
index e4263b3f9..8cce3a2dc 100644
--- a/tests/intel/gem_exec_fence.c
+++ b/tests/intel/gem_exec_fence.c
@@ -39,9 +39,10 @@
  * TEST: gem exec fence
  * Description: Check that execbuf waits for explicit fences
  * Category: Infrastructure
- * Feature: cmd_submission, synchronization feature
- * Functionality: semaphore
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: semaphore
+ * Feature: cmd_submission, synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: await-hang
diff --git a/tests/intel/gem_exec_flush.c b/tests/intel/gem_exec_flush.c
index 5e2804f7d..1151628bd 100644
--- a/tests/intel/gem_exec_flush.c
+++ b/tests/intel/gem_exec_flush.c
@@ -31,6 +31,7 @@
 /**
  * TEST: gem exec flush
  * Description: Basic check of flushing after batches
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Category: Desktop client
  * Functionality: execbuf
diff --git a/tests/intel/gem_exec_gttfill.c b/tests/intel/gem_exec_gttfill.c
index e11580b40..db414c780 100644
--- a/tests/intel/gem_exec_gttfill.c
+++ b/tests/intel/gem_exec_gttfill.c
@@ -30,9 +30,10 @@
  * TEST: gem exec gttfill
  * Description: Fill the GTT with batches.
  * Category: Infrastructure
- * Feature: cmd_submission, gtt
- * Functionality: execbuf
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execbuf
+ * Feature: cmd_submission, gtt
  * Test category: GEM_Legacy
  *
  * SUBTEST: all-engines
diff --git a/tests/intel/gem_exec_latency.c b/tests/intel/gem_exec_latency.c
index b9d086afc..08ad78091 100644
--- a/tests/intel/gem_exec_latency.c
+++ b/tests/intel/gem_exec_latency.c
@@ -50,9 +50,10 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem exec latency
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: execbuf
- * Category: Desktop client
  *
  * SUBTEST: context-preempt
  *
diff --git a/tests/intel/gem_exec_lut_handle.c b/tests/intel/gem_exec_lut_handle.c
index ff37a9f0e..2aba9ffed 100644
--- a/tests/intel/gem_exec_lut_handle.c
+++ b/tests/intel/gem_exec_lut_handle.c
@@ -43,8 +43,9 @@
 /**
  * TEST: gem exec lut handle
  * Description: Exercises the basic execbuffer using the handle LUT interface.
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: execbuf
  *
  * SUBTEST:
diff --git a/tests/intel/gem_exec_nop.c b/tests/intel/gem_exec_nop.c
index 6c547a412..5ffd75bf6 100644
--- a/tests/intel/gem_exec_nop.c
+++ b/tests/intel/gem_exec_nop.c
@@ -51,9 +51,10 @@
 /**
  * TEST: gem exec nop
  * Category: Infrastructure
- * Feature: cmd_submission
- * Functionality: execbuf
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execbuf
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic-parallel
diff --git a/tests/intel/gem_exec_parallel.c b/tests/intel/gem_exec_parallel.c
index cb9f0e33d..8d7a5a185 100644
--- a/tests/intel/gem_exec_parallel.c
+++ b/tests/intel/gem_exec_parallel.c
@@ -37,10 +37,10 @@
  * TEST: gem exec parallel
  * Description: Exercise filling buffers by many clients working in parallel.
  * Category: Infrastructure
- * Description: Check basic functionality per engine.
- * Feature: cmd_submission
- * Functionality: parallel clients
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: parallel clients
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_exec_params.c b/tests/intel/gem_exec_params.c
index b2f8fb247..18651c9fb 100644
--- a/tests/intel/gem_exec_params.c
+++ b/tests/intel/gem_exec_params.c
@@ -47,9 +47,10 @@
 /**
  * TEST: gem exec params
  * Category: Desktop client
- * Feature: cmd_submission
- * Functionality: execbuf
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execbuf
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: DR1-dirt
diff --git a/tests/intel/gem_exec_reloc.c b/tests/intel/gem_exec_reloc.c
index c7f7db27a..692811057 100644
--- a/tests/intel/gem_exec_reloc.c
+++ b/tests/intel/gem_exec_reloc.c
@@ -34,8 +34,9 @@
 /**
  * TEST: gem exec reloc
  * Description: Basic sanity check of execbuf-ioctl relocations.
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: relocations
  *
  * SUBTEST: basic-active
diff --git a/tests/intel/gem_exec_schedule.c b/tests/intel/gem_exec_schedule.c
index 70243e72b..0d2c2c3f2 100644
--- a/tests/intel/gem_exec_schedule.c
+++ b/tests/intel/gem_exec_schedule.c
@@ -48,9 +48,10 @@
  * TEST: gem exec schedule
  * Description: Check that we can control the order of execution
  * Category: Desktop \ Server
- * Feature: cmd_submission
- * Functionality: execution order
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execution order
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: deep
diff --git a/tests/intel/gem_exec_store.c b/tests/intel/gem_exec_store.c
index 3f44f2aa6..c480555e8 100644
--- a/tests/intel/gem_exec_store.c
+++ b/tests/intel/gem_exec_store.c
@@ -36,11 +36,12 @@
 #include "igt_gt.h"
 /**
  * TEST: gem exec store
- * Category: Infrastructure
  * Description: Exercise store dword functionality using execbuf-ioctl
- * Feature: cmd_submission
- * Functionality: coherency
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: coherency
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_exec_suspend.c b/tests/intel/gem_exec_suspend.c
index 28d51996e..8dd23ee8c 100644
--- a/tests/intel/gem_exec_suspend.c
+++ b/tests/intel/gem_exec_suspend.c
@@ -39,10 +39,11 @@
 /**
  * TEST: gem exec suspend
  * Description: Exercise simple execbufs runs across various suspend/resume cycles.
- * Feature: cmd_submission, suspend feature
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: suspend
+ * Feature: cmd_submission, suspend
  *
  * SUBTEST: basic
  * Description: Check basic functionality without any suspend/resume cycle.
diff --git a/tests/intel/gem_exec_whisper.c b/tests/intel/gem_exec_whisper.c
index b813ea832..21ebc5b3e 100644
--- a/tests/intel/gem_exec_whisper.c
+++ b/tests/intel/gem_exec_whisper.c
@@ -41,8 +41,9 @@
  * TEST: gem exec whisper
  * Feature: cmd_submission
  * Category: Infrastructure
- * Functionality: execbuf
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execbuf
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic-contexts
diff --git a/tests/intel/gem_fd_exhaustion.c b/tests/intel/gem_fd_exhaustion.c
index 14270897d..4b483863e 100644
--- a/tests/intel/gem_fd_exhaustion.c
+++ b/tests/intel/gem_fd_exhaustion.c
@@ -36,8 +36,9 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem fd exhaustion
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: fd exhaustion
  *
  * SUBTEST:
diff --git a/tests/intel/gem_fence_thrash.c b/tests/intel/gem_fence_thrash.c
index c7c9460c6..0517c0316 100644
--- a/tests/intel/gem_fence_thrash.c
+++ b/tests/intel/gem_fence_thrash.c
@@ -45,10 +45,11 @@
 #include "igt_x86.h"
 /**
  * TEST: gem fence thrash
- * Feature: gtt, synchronization feature
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: fences
+ * Feature: gtt, synchronization
  *
  * SUBTEST: bo-copy
  *
diff --git a/tests/intel/gem_fence_upload.c b/tests/intel/gem_fence_upload.c
index 8b92d3976..46a62a7ee 100644
--- a/tests/intel/gem_fence_upload.c
+++ b/tests/intel/gem_fence_upload.c
@@ -43,8 +43,9 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem fence upload
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: fences
  *
  * SUBTEST: performance
diff --git a/tests/intel/gem_fenced_exec_thrash.c b/tests/intel/gem_fenced_exec_thrash.c
index 614967615..94e5632c1 100644
--- a/tests/intel/gem_fenced_exec_thrash.c
+++ b/tests/intel/gem_fenced_exec_thrash.c
@@ -37,6 +37,7 @@
  * TEST: gem fenced exec thrash
  * Description: Test execbuf fence accounting.
  * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: fences
  * Feature: gtt, synchronization feature
diff --git a/tests/intel/gem_lut_handle.c b/tests/intel/gem_lut_handle.c
index b2911b3b6..be75154fc 100644
--- a/tests/intel/gem_lut_handle.c
+++ b/tests/intel/gem_lut_handle.c
@@ -42,8 +42,9 @@
 /**
  * TEST: gem lut handle
  * Description: Exercises the basic execbuffer using the handle LUT interface.
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: execbuf
  *
  * SUBTEST:
diff --git a/tests/intel/gem_partial_pwrite_pread.c b/tests/intel/gem_partial_pwrite_pread.c
index cb7737ffc..2787886ee 100644
--- a/tests/intel/gem_partial_pwrite_pread.c
+++ b/tests/intel/gem_partial_pwrite_pread.c
@@ -41,10 +41,11 @@
 /**
  * TEST: gem partial pwrite pread
  * Description: Test pwrite/pread consistency when touching partial cachelines.
- * Feature: caching, mapping
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: pread/pwrite
+ * Feature: caching, mapping
  *
  * SUBTEST: reads
  * Description:
diff --git a/tests/intel/gem_pipe_control_store_loop.c b/tests/intel/gem_pipe_control_store_loop.c
index e79cef60f..0a16574af 100644
--- a/tests/intel/gem_pipe_control_store_loop.c
+++ b/tests/intel/gem_pipe_control_store_loop.c
@@ -46,10 +46,11 @@
 /**
  * TEST: gem pipe control store loop
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
+ * Functionality: coherency
  * Description: Test (TLB-)Coherency of pipe_control QW writes.
  * Feature: cmd_submission
- * Functionality: coherency
- * Sub-category: CMD submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: fresh-buffer
diff --git a/tests/intel/gem_pread.c b/tests/intel/gem_pread.c
index e5a7b48d3..bf77049e1 100644
--- a/tests/intel/gem_pread.c
+++ b/tests/intel/gem_pread.c
@@ -47,10 +47,11 @@
 #include "igt_vgem.h"
 /**
  * TEST: gem pread
- * Feature: mapping
- * Sub-category: CMD submission
+ * Mega feature: General Core features
  * Category: Desktop client
+ * Sub-category: CMD submission
  * Functionality: pread
+ * Feature: mapping
  *
  * SUBTEST: bench
  *
diff --git a/tests/intel/gem_pread_after_blit.c b/tests/intel/gem_pread_after_blit.c
index f6a1b625b..e30d2b467 100644
--- a/tests/intel/gem_pread_after_blit.c
+++ b/tests/intel/gem_pread_after_blit.c
@@ -50,8 +50,9 @@
 /**
  * TEST: gem pread after blit
  * Description: Test pread behavior when getting values out of just-drawn-to buffers.
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: pread
  *
  * SUBTEST: default-hang
diff --git a/tests/intel/gem_pwrite.c b/tests/intel/gem_pwrite.c
index a617a9999..3497b3932 100644
--- a/tests/intel/gem_pwrite.c
+++ b/tests/intel/gem_pwrite.c
@@ -49,8 +49,9 @@
 /**
  * TEST: gem pwrite
  * Feature: mapping
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: pwrite
  *
  * SUBTEST: basic-exhaustion
diff --git a/tests/intel/gem_pwrite_snooped.c b/tests/intel/gem_pwrite_snooped.c
index 19df2fd3d..be3595439 100644
--- a/tests/intel/gem_pwrite_snooped.c
+++ b/tests/intel/gem_pwrite_snooped.c
@@ -46,6 +46,7 @@
  * Functionality: pwrite
  *
  * SUBTEST:
+ * Mega feature: General Core features
  */
 
 IGT_TEST_DESCRIPTION(
diff --git a/tests/intel/gem_pxp.c b/tests/intel/gem_pxp.c
index f90e92abd..79d17f99c 100644
--- a/tests/intel/gem_pxp.c
+++ b/tests/intel/gem_pxp.c
@@ -10,10 +10,11 @@
 /**
  * TEST: gem pxp
  * Description: Test PXP that manages protected content through arbitrated HW-PXP-session
- * Feature: Protected Xe Path
- * Functionality: pxp
- * Sub-category: Power management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: driver
+ * Functionality: pxp
+ * Feature: Protected Xe Path
  *
  * SUBTEST: create-protected-buffer
  *
diff --git a/tests/intel/gem_render_linear_blits.c b/tests/intel/gem_render_linear_blits.c
index 121d1b2a8..cace14843 100644
--- a/tests/intel/gem_render_linear_blits.c
+++ b/tests/intel/gem_render_linear_blits.c
@@ -51,10 +51,11 @@
 #include "igt.h"
 /**
  * TEST: gem render linear blits
- * Feature: mapping
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: render blits
+ * Feature: mapping
  *
  * SUBTEST: aperture-shrink
  *
diff --git a/tests/intel/gem_render_tiled_blits.c b/tests/intel/gem_render_tiled_blits.c
index 4b49c2a36..14b06c181 100644
--- a/tests/intel/gem_render_tiled_blits.c
+++ b/tests/intel/gem_render_tiled_blits.c
@@ -54,10 +54,11 @@
  *   Tests performs cyclic forward, backward and random blits on tiled buffer
  *   objects using render engine with various working set sizes and compares
  *   outputs with expected ones.
- * Feature: mapping
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: render blits
+ * Feature: mapping
  *
  * SUBTEST: aperture-shrink
  * Description:
diff --git a/tests/intel/gem_request_retire.c b/tests/intel/gem_request_retire.c
index d86972536..60975279d 100644
--- a/tests/intel/gem_request_retire.c
+++ b/tests/intel/gem_request_retire.c
@@ -51,12 +51,13 @@
 #include "igt_types.h"
 /**
  * TEST: gem request retire
- * Category: Infrastructure
  * Description: Collection of tests targeting request retirement code paths.
- * Feature: cmd_submission
- * Functionality: requests
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: requests
  * Test category: GEM_Legacy
+ * Feature: cmd_submission
  *
  * SUBTEST: retire-vma-not-inactive
  */
diff --git a/tests/intel/gem_ringfill.c b/tests/intel/gem_ringfill.c
index 84060c474..e64c98b4b 100644
--- a/tests/intel/gem_ringfill.c
+++ b/tests/intel/gem_ringfill.c
@@ -43,14 +43,15 @@
 #include <sys/ioctl.h>
 /**
  * TEST: gem ringfill
- * Category: Infrastructure
  * Description:
  *   Exercise many tiny batchbuffer operations, in the hope of catching failure to manage the ring
  *   properly near full.
- * Feature: cmd_submission
- * Functionality: execbuf
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: execbuf
  * Test category: GEM_Legacy
+ * Feature: cmd_submission
  *
  * SUBTEST: basic-all
  * Description: Basic check to fill the ring up to maximum on all engines
diff --git a/tests/intel/gem_shrink.c b/tests/intel/gem_shrink.c
index f6df21c8d..ee373bf4d 100644
--- a/tests/intel/gem_shrink.c
+++ b/tests/intel/gem_shrink.c
@@ -37,8 +37,9 @@
  * TEST: gem shrink
  * Feature: mapping
  * Category: Desktop client
- * Functionality: buffer management
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: buffer management
  * Test category: GEM_Legacy
  *
  * SUBTEST: execbuf1
diff --git a/tests/intel/gem_softpin.c b/tests/intel/gem_softpin.c
index ab23ca7d5..9bea97d39 100644
--- a/tests/intel/gem_softpin.c
+++ b/tests/intel/gem_softpin.c
@@ -33,14 +33,15 @@
 #include "intel_allocator.h"
 /**
  * TEST: gem softpin
- * Category: Infrastructure
  * Description:
  *   Tests softpin feature with normal usage, invalid inputs scenarios and couple of eviction
  *   tests which copy buffers between CPU and GPU.
- * Feature: mapping
- * Functionality: softpin
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: softpin
  * Test category: GEM_Legacy
+ * Feature: mapping
  *
  * SUBTEST: 32b-excludes-last-page
  * Description: Check the last 32b page is excluded.
diff --git a/tests/intel/gem_stress.c b/tests/intel/gem_stress.c
index fc1ff2519..9ee7a4210 100644
--- a/tests/intel/gem_stress.c
+++ b/tests/intel/gem_stress.c
@@ -65,6 +65,7 @@
  * TEST: gem stress
  * Description: General gem coherency test.
  * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: coherency
  *
diff --git a/tests/intel/gem_unref_active_buffers.c b/tests/intel/gem_unref_active_buffers.c
index f8138c7ac..1e04194f2 100644
--- a/tests/intel/gem_unref_active_buffers.c
+++ b/tests/intel/gem_unref_active_buffers.c
@@ -43,11 +43,12 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem unref active buffers
- * Category: Infrastructure
  * Description: Test unreferencing of active buffers.
- * Feature: cmd_submission
- * Functionality: buffer management
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: buffer management
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST:
diff --git a/tests/intel/gem_watchdog.c b/tests/intel/gem_watchdog.c
index b66667f46..0d03c7f05 100644
--- a/tests/intel/gem_watchdog.c
+++ b/tests/intel/gem_watchdog.c
@@ -37,10 +37,11 @@
 #include "sw_sync.h"
 /**
  * TEST: gem watchdog
- * Feature: gem_core
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: fences
+ * Feature: gem_core
  *
  * SUBTEST: default-physical
  *
diff --git a/tests/intel/gen7_exec_parse.c b/tests/intel/gen7_exec_parse.c
index f670f9ce1..274a1ac30 100644
--- a/tests/intel/gen7_exec_parse.c
+++ b/tests/intel/gen7_exec_parse.c
@@ -37,8 +37,9 @@
 /**
  * TEST: gen7 exec parse
  * Feature: cmd_submission, command_parser
- * Sub-category: CMD submission
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: command parser
  *
  * SUBTEST: basic-allocation
diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index 046c4004e..ce43042c8 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -85,53 +85,59 @@
  * Sub-category: Memory management
  *
  * SUBTEST: live@execlists
- * Category: Selftest
  * Description: command submission backend
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: execlists
  * Test category: i915
- * Sub-category: CMD submission
  *
  * SUBTEST: live@gem
  * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: execbuf
  * Test category: i915
- * Sub-category: CMD submission
  *
  * SUBTEST: live@gem_contexts
- * Category: Selftest
  * Description: User isolation and execution at the context level
- * Functionality: context
+ * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: context
  * Test category: GEM_Legacy
- * Test category: i915 / HW
  *
  * SUBTEST: live@gem_execbuf
- * Category: Selftest
  * Description: command submission support
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: execbuf
  * Test category: i915
- * Sub-category: CMD submission
  *
  * SUBTEST: live@gt_ccs_mode
- * Category: Selftest
  * Description: Multi-ccs internal validation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: multii-ccs
  * Test category: i915
- * Sub-category: CMD submission
  *
  * SUBTEST: live@gt_contexts
- * Category: Selftest
  * Description: HW isolation and HW context validation
- * Functionality: context
+ * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: context
  * Test category: HW
  *
  * SUBTEST: live@gt_engines
- * Category: Selftest
  * Description: command submission topology validation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: command submission topology
  * Test category: i915
- * Sub-category: CMD submission
  *
  * SUBTEST: live@gt_gtt
  * Category: Selftest
@@ -148,10 +154,11 @@
  * Sub-category: Reset
  *
  * SUBTEST: live@gt_lrc
- * Category: Selftest
  * Description: HW isolation and HW context validation
- * Functionality: context
+ * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: CMD submission
+ * Functionality: context
  * Test category: HW
  *
  * SUBTEST: live@gt_mocs
@@ -259,6 +266,7 @@
  *
  * SUBTEST: live@memory_region_cross_tile
  * Category: Selftest
+ * Mega feature: General Core features
  * Description: Multi-tile memory topology validation
  * Functionality: memory topology
  * Sub-category: MultiTile
@@ -298,11 +306,12 @@
  * Sub-category: MultiTile
  *
  * SUBTEST: live@requests
- * Category: Selftest
  * Description: Validation of internal i915 command submission interface
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
  * Functionality: command submission interface
  * Test category: i915
- * Sub-category: CMD submission
  *
  * SUBTEST: live@reset
  * Category: Selftest
@@ -320,6 +329,7 @@
  *
  * SUBTEST: live@scheduler
  * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: CMD Submission
  * Functionality: scheduler
  *
diff --git a/tests/intel/xe_exec_balancer.c b/tests/intel/xe_exec_balancer.c
index 8ce8cbf7f..9d4de3206 100644
--- a/tests/intel/xe_exec_balancer.c
+++ b/tests/intel/xe_exec_balancer.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Basic tests for execbuf functionality for virtual and parallel exec_queues
  * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: virtual and parallel exec_queues
  * Test category: functionality test
@@ -358,7 +359,6 @@ test_exec(int fd, int gt, int class, int n_exec_queues, int n_execs,
  * Description: Run compute mode virtual exec_queue arg[1] test on many exec_queues
  * Test category: stress test
  *
- *
  * SUBTEST: no-exec-cm-%s
  * Description: Run compute mode virtual exec_queue arg[1] no-exec test
  * Test category: functionality test
diff --git a/tests/intel/xe_exec_basic.c b/tests/intel/xe_exec_basic.c
index 5210e6730..56a5f2b5a 100644
--- a/tests/intel/xe_exec_basic.c
+++ b/tests/intel/xe_exec_basic.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Basic tests for execbuf functionality
  * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: exec_queues
  */
diff --git a/tests/intel/xe_exec_compute_mode.c b/tests/intel/xe_exec_compute_mode.c
index a73a7343c..13265b9c0 100644
--- a/tests/intel/xe_exec_compute_mode.c
+++ b/tests/intel/xe_exec_compute_mode.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Basic tests for execbuf compute machine functionality
  * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: compute test
  */
diff --git a/tests/intel/xe_exec_fault_mode.c b/tests/intel/xe_exec_fault_mode.c
index 40fe1743e..4151b4aa6 100644
--- a/tests/intel/xe_exec_fault_mode.c
+++ b/tests/intel/xe_exec_fault_mode.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Basic tests for execbuf functionality for virtual and parallel exec_queues
  * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: fault mode
  * GPU requirements: GPU needs support for DRM_XE_VM_CREATE_FLAG_FAULT_MODE
diff --git a/tests/intel/xe_exec_reset.c b/tests/intel/xe_exec_reset.c
index 8d731e689..291ca4942 100644
--- a/tests/intel/xe_exec_reset.c
+++ b/tests/intel/xe_exec_reset.c
@@ -6,8 +6,9 @@
 /**
  * TEST: Basic tests for execbuf functionality for virtual and parallel exec_queues
  * Category: Hardware building block
- * Sub-category: Reset
- * Functionality: gt reset
+ * Mega feature: General Core features
+ * Sub-category: CMD submission
+ * Functionality: reset
  * Test category: functionality test
  */
 
diff --git a/tests/intel/xe_exec_store.c b/tests/intel/xe_exec_store.c
index 728ce826b..4d4495791 100644
--- a/tests/intel/xe_exec_store.c
+++ b/tests/intel/xe_exec_store.c
@@ -15,6 +15,7 @@
 /**
  * TEST: Tests to verify store dword functionality.
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: intel-bb
  * Test category: functionality test
diff --git a/tests/intel/xe_exec_threads.c b/tests/intel/xe_exec_threads.c
index 1e80842b9..0c6150480 100644
--- a/tests/intel/xe_exec_threads.c
+++ b/tests/intel/xe_exec_threads.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Basic tests for execbuf functionality
  * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: multi-threads
  * Test category: functionality test
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 02/16] tests: Add Memory management tests to General Core Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
  2024-04-23 10:48 ` [PATCH i-g-t v2 01/16] tests/intel: Introduce General Core Mega feature Katarzyna Piecielska
@ 2024-04-23 10:48 ` Katarzyna Piecielska
  2024-04-25 17:19   ` Kamil Konieczny
  2024-04-23 10:49 ` [PATCH i-g-t v2 03/16] tests/intel: Add Blitter " Katarzyna Piecielska
                   ` (14 subsequent siblings)
  16 siblings, 1 reply; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:48 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add Memory management tests to General Core mega feature
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality
	Feature

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/dmabuf.c                               |  4 +-
 tests/drm_mm.c                               |  5 +-
 tests/intel/gem_close.c                      |  5 +-
 tests/intel/gem_cs_tlb.c                     |  7 ++-
 tests/intel/gem_gtt_cpu_tlb.c                |  8 ++-
 tests/intel/gem_gtt_hog.c                    |  3 +-
 tests/intel/gem_gtt_speed.c                  |  3 +-
 tests/intel/gem_lmem_evict.c                 |  5 +-
 tests/intel/gem_lmem_swapping.c              |  7 ++-
 tests/intel/gem_madvise.c                    |  7 ++-
 tests/intel/gem_mmap.c                       |  7 ++-
 tests/intel/gem_mmap_gtt.c                   |  5 +-
 tests/intel/gem_mmap_offset.c                |  5 +-
 tests/intel/gem_mmap_wc.c                    |  5 +-
 tests/intel/gem_ppgtt.c                      |  5 +-
 tests/intel/gem_read_read_speed.c            |  3 +-
 tests/intel/gem_readwrite.c                  |  5 +-
 tests/intel/gem_set_tiling_vs_gtt.c          |  5 +-
 tests/intel/gem_set_tiling_vs_pwrite.c       |  5 +-
 tests/intel/gem_streaming_writes.c           |  3 +-
 tests/intel/gem_tiled_blits.c                |  5 +-
 tests/intel/gem_tiled_fence_blits.c          |  5 +-
 tests/intel/gem_tiled_partial_pwrite_pread.c |  5 +-
 tests/intel/gem_tiled_pread_basic.c          |  5 +-
 tests/intel/gem_tiled_pread_pwrite.c         |  5 +-
 tests/intel/gem_tiled_swapping.c             |  5 +-
 tests/intel/gem_tiled_wb.c                   |  5 +-
 tests/intel/gem_tiled_wc.c                   |  5 +-
 tests/intel/gem_tiling_max_stride.c          |  5 +-
 tests/intel/gem_unfence_active_buffers.c     |  5 +-
 tests/intel/i915_fb_tiling.c                 |  5 +-
 tests/intel/i915_selftest.c                  | 64 ++++++++++++--------
 tests/intel/prime_busy.c                     |  7 ++-
 tests/intel/prime_mmap.c                     |  7 ++-
 tests/intel/prime_mmap_coherency.c           |  7 ++-
 tests/intel/prime_self_import.c              |  7 ++-
 tests/intel/xe_evict.c                       |  2 +
 tests/intel/xe_mmap.c                        |  3 +-
 tests/intel/xe_pat.c                         |  1 +
 tests/intel/xe_vm.c                          |  1 +
 40 files changed, 155 insertions(+), 101 deletions(-)

diff --git a/tests/dmabuf.c b/tests/dmabuf.c
index 71285ff0b..f99f0e7fb 100644
--- a/tests/dmabuf.c
+++ b/tests/dmabuf.c
@@ -26,11 +26,11 @@
 /**
  * TEST: dmabuf
  * Description: Kernel selftests for the dmabuf API
- * Feature: mapping, prime
  * Category: Infrastructure
- * Description: drm_mm range manager SW validation
+ * Mega feature: General Core features
  * Functionality: drm_mm
  * Sub-category: Memory management
+ * Feature: mapping, prime
  * Test category: GEM_Legacy
  *
  * SUBTEST: all-tests
diff --git a/tests/drm_mm.c b/tests/drm_mm.c
index dcd4c7676..41b363cf0 100644
--- a/tests/drm_mm.c
+++ b/tests/drm_mm.c
@@ -26,10 +26,11 @@
 /**
  * TEST: drm mm
  * Description: Basic sanity check of DRM's range manager (struct drm_mm)
- * Feature: mapping
  * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: drm_mm
- * Sub-category: Memory management
+ * Feature: mapping
  * Test category: GEM_Legacy
  *
  * SUBTEST: drm_mm
diff --git a/tests/intel/gem_close.c b/tests/intel/gem_close.c
index b3c5cb108..33da151e1 100644
--- a/tests/intel/gem_close.c
+++ b/tests/intel/gem_close.c
@@ -28,9 +28,10 @@
 /**
  * TEST: gem close
  * Category: Infrastructure
- * Feature: mapping
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: driver handler
- * Sub-category: Memory management
+ * Feature: mapping
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_cs_tlb.c b/tests/intel/gem_cs_tlb.c
index f18a8fdaa..065d6b330 100644
--- a/tests/intel/gem_cs_tlb.c
+++ b/tests/intel/gem_cs_tlb.c
@@ -54,11 +54,12 @@
 #include "igt.h"
 /**
  * TEST: gem cs tlb
- * Category: Infrastructure
  * Description: Check whether we correctly invalidate the cs tlb.
- * Feature: mapping
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tlb
- * Sub-category: Memory management
+ * Feature: mapping
  * Test category: GEM_Legacy
  *
  * SUBTEST: engines
diff --git a/tests/intel/gem_gtt_cpu_tlb.c b/tests/intel/gem_gtt_cpu_tlb.c
index c7a1cbe63..7fd876e5c 100644
--- a/tests/intel/gem_gtt_cpu_tlb.c
+++ b/tests/intel/gem_gtt_cpu_tlb.c
@@ -46,10 +46,12 @@
 /**
  * TEST: gem gtt cpu tlb
  * Description: Check whether gtt tlbs for cpu access are correctly invalidated.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
- * Functionality: mmap
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
+ * Functionality: mapping
+ * Feature: gtt, mapping
+ *
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_gtt_hog.c b/tests/intel/gem_gtt_hog.c
index 12f291020..cfeea8ba1 100644
--- a/tests/intel/gem_gtt_hog.c
+++ b/tests/intel/gem_gtt_hog.c
@@ -44,8 +44,9 @@
 #include "igt.h"
 /**
  * TEST: gem gtt hog
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: gtt
  *
  * SUBTEST:
diff --git a/tests/intel/gem_gtt_speed.c b/tests/intel/gem_gtt_speed.c
index 46ebafdd8..14f0ffa88 100644
--- a/tests/intel/gem_gtt_speed.c
+++ b/tests/intel/gem_gtt_speed.c
@@ -44,8 +44,9 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem gtt speed
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: gtt
  *
  * SUBTEST:
diff --git a/tests/intel/gem_lmem_evict.c b/tests/intel/gem_lmem_evict.c
index f756565cb..2453f95b2 100644
--- a/tests/intel/gem_lmem_evict.c
+++ b/tests/intel/gem_lmem_evict.c
@@ -10,10 +10,11 @@
 /**
  * TEST: gem lmem evict
  * Description: Force tiny lmem size for easily testing eviction scenarios.
- * Feature: local_memory
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: local memory eviction
+ * Feature: local_memory
  * Test category: GEM_Legacy
  *
  * SUBTEST: dontneed-evict-race
diff --git a/tests/intel/gem_lmem_swapping.c b/tests/intel/gem_lmem_swapping.c
index a10a6e96e..3f9a8c90a 100644
--- a/tests/intel/gem_lmem_swapping.c
+++ b/tests/intel/gem_lmem_swapping.c
@@ -26,11 +26,12 @@
 #include "intel_mocs.h"
 /**
  * TEST: gem lmem swapping
- * Category: Server
  * Description: Exercise local memory swapping.
- * Feature: local_memory
+ * Category: Server
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: buffer management
- * Sub-category: Memory management
+ * Feature: local_memory
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_madvise.c b/tests/intel/gem_madvise.c
index da5ac7d6d..71139f27d 100644
--- a/tests/intel/gem_madvise.c
+++ b/tests/intel/gem_madvise.c
@@ -40,12 +40,13 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem madvise
- * Category: Desktop client
  * Description: Checks that the kernel reports EFAULT when trying to use purged bo.
- * Feature: caching, mapping
+ * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: buffer management
- * Sub-category: Memory management
  * Test category: GEM_Legacy
+ * Feature: caching, mapping
  *
  * SUBTEST: dontneed-after-mmap
  * Description: Check signal for Segmentation Fault and bus error after
diff --git a/tests/intel/gem_mmap.c b/tests/intel/gem_mmap.c
index 179001a20..5e8a787d1 100644
--- a/tests/intel/gem_mmap.c
+++ b/tests/intel/gem_mmap.c
@@ -41,10 +41,11 @@
 /**
  * TEST: gem mmap
  * Description: Basic MMAP IOCTL tests for memory regions.
- * Feature: mapping
- * Sub-category: Memory management
  * Category: Desktop client
- * Functionality: mmap
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
+ * Functionality: mapping
+ * Feature: mapping
  *
  * SUBTEST: bad-object
  * Description: Verify mapping to invalid gem objects won't be created.
diff --git a/tests/intel/gem_mmap_gtt.c b/tests/intel/gem_mmap_gtt.c
index 7218ef9bc..79be68a22 100644
--- a/tests/intel/gem_mmap_gtt.c
+++ b/tests/intel/gem_mmap_gtt.c
@@ -49,10 +49,11 @@
 /**
  * TEST: gem mmap gtt
  * Description: Ensure that all operations around MMAP_GTT ioctl works.
- * Feature: gtt
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: map gtt
+ * Feature: gtt
  *
  * SUBTEST: bad-object
  * Description: Verify mapping to invalid gem objects fails.
diff --git a/tests/intel/gem_mmap_offset.c b/tests/intel/gem_mmap_offset.c
index 95d2158ca..90a4a0f1a 100644
--- a/tests/intel/gem_mmap_offset.c
+++ b/tests/intel/gem_mmap_offset.c
@@ -41,9 +41,10 @@
  * TEST: gem mmap offset
  * Description: Basic MMAP_OFFSET IOCTL tests for mem regions
  * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
+ * Functionality: mapping
  * Feature: mapping
- * Functionality: mmap
- * Sub-category: Memory management
  * Test category: GEM_Legacy
  *
  * SUBTEST: bad-extensions
diff --git a/tests/intel/gem_mmap_wc.c b/tests/intel/gem_mmap_wc.c
index 0a1bef7a2..beecd0b3a 100644
--- a/tests/intel/gem_mmap_wc.c
+++ b/tests/intel/gem_mmap_wc.c
@@ -41,10 +41,11 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem mmap wc
- * Feature: caching, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: cache
+ * Feature: caching, mapping
  *
  * SUBTEST: bad-object
  * SUBTEST: bad-offset
diff --git a/tests/intel/gem_ppgtt.c b/tests/intel/gem_ppgtt.c
index e6a4651da..0dee7ad1a 100644
--- a/tests/intel/gem_ppgtt.c
+++ b/tests/intel/gem_ppgtt.c
@@ -42,10 +42,11 @@
 /**
  * TEST: gem ppgtt
  * Category: Desktop client
- * Feature: mapping, xorg_dri2
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: buffer management
- * Sub-category: Memory management
  * Test category: GEM_Legacy
+ * Feature: mapping, xorg_dri2
  *
  * SUBTEST: blt-vs-render-ctx0
  *
diff --git a/tests/intel/gem_read_read_speed.c b/tests/intel/gem_read_read_speed.c
index 47c3dfecd..f6834f74c 100644
--- a/tests/intel/gem_read_read_speed.c
+++ b/tests/intel/gem_read_read_speed.c
@@ -45,8 +45,9 @@
 /**
  * TEST: gem read read speed
  * Description: Test speed of concurrent reads between engines.
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: read/write memory
  *
  * SUBTEST: read-read-1024x1024
diff --git a/tests/intel/gem_readwrite.c b/tests/intel/gem_readwrite.c
index 9970c5f33..b5c6e7a26 100644
--- a/tests/intel/gem_readwrite.c
+++ b/tests/intel/gem_readwrite.c
@@ -40,10 +40,11 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem readwrite
- * Feature: mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: read/write memory
+ * Feature: mapping
  *
  * SUBTEST: beyond-EOB
  *
diff --git a/tests/intel/gem_set_tiling_vs_gtt.c b/tests/intel/gem_set_tiling_vs_gtt.c
index 3305a2297..621dc6fbf 100644
--- a/tests/intel/gem_set_tiling_vs_gtt.c
+++ b/tests/intel/gem_set_tiling_vs_gtt.c
@@ -41,10 +41,11 @@
 /**
  * TEST: gem set tiling vs gtt
  * Description: Check set_tiling vs gtt mmap coherency.
- * Feature: gtt
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiling vs gtt coherency
+ * Feature: gtt
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_set_tiling_vs_pwrite.c b/tests/intel/gem_set_tiling_vs_pwrite.c
index 241e72ab8..10bfcb71f 100644
--- a/tests/intel/gem_set_tiling_vs_pwrite.c
+++ b/tests/intel/gem_set_tiling_vs_pwrite.c
@@ -41,10 +41,11 @@
 /**
  * TEST: gem set tiling vs pwrite
  * Description: Check set_tiling vs pwrite coherency.
- * Feature: gtt
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiling vs pwrite coherency
+ * Feature: gtt
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_streaming_writes.c b/tests/intel/gem_streaming_writes.c
index d707c703a..d80ac6fe1 100644
--- a/tests/intel/gem_streaming_writes.c
+++ b/tests/intel/gem_streaming_writes.c
@@ -43,8 +43,9 @@
 /**
  * TEST: gem streaming writes
  * Description: Test of streaming writes into active GPU sources
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: barrier
  *
  * SUBTEST: batch-cpu
diff --git a/tests/intel/gem_tiled_blits.c b/tests/intel/gem_tiled_blits.c
index 73adadef4..f3845d213 100644
--- a/tests/intel/gem_tiled_blits.c
+++ b/tests/intel/gem_tiled_blits.c
@@ -57,10 +57,11 @@
 /**
  * TEST: gem tiled blits
  * Description: Test doing many tiled blits, with a working set larger than the aperture size.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiled blits
+ * Feature: gtt, mapping
  *
  * SUBTEST: basic
  * Description: Check basic functionality.
diff --git a/tests/intel/gem_tiled_fence_blits.c b/tests/intel/gem_tiled_fence_blits.c
index faebe0efb..bf33b8d5f 100644
--- a/tests/intel/gem_tiled_fence_blits.c
+++ b/tests/intel/gem_tiled_fence_blits.c
@@ -50,10 +50,11 @@
  * Description:
  *   Tests fence management problems related to tiled blits by performing many blits on tiled
  *   buffer objects with fences enabled and with working set larger than the aperture size.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiled blits
+ * Feature: gtt, mapping
  *
  * SUBTEST: basic
  * Description: Check basic functionality.
diff --git a/tests/intel/gem_tiled_partial_pwrite_pread.c b/tests/intel/gem_tiled_partial_pwrite_pread.c
index 9c24f1901..551fb4306 100644
--- a/tests/intel/gem_tiled_partial_pwrite_pread.c
+++ b/tests/intel/gem_tiled_partial_pwrite_pread.c
@@ -41,10 +41,11 @@
 /**
  * TEST: gem tiled partial pwrite pread
  * Description: Test pwrite/pread consistency when touching partial cachelines.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiled pread/pwrite
+ * Feature: gtt, mapping
  *
  * SUBTEST: reads
  *
diff --git a/tests/intel/gem_tiled_pread_basic.c b/tests/intel/gem_tiled_pread_basic.c
index 913800880..f26db3592 100644
--- a/tests/intel/gem_tiled_pread_basic.c
+++ b/tests/intel/gem_tiled_pread_basic.c
@@ -51,10 +51,11 @@
 /**
  * TEST: gem tiled pread basic
  * Description: Test pread behavior on tiled objects with respect to the reported swizzling value.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiled pread/pwrite
+ * Feature: gtt, mapping
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_tiled_pread_pwrite.c b/tests/intel/gem_tiled_pread_pwrite.c
index 7ec6a9291..b65e0458a 100644
--- a/tests/intel/gem_tiled_pread_pwrite.c
+++ b/tests/intel/gem_tiled_pread_pwrite.c
@@ -61,10 +61,11 @@
 /**
  * TEST: gem tiled pread pwrite
  * Description: Test swizzling by testing pwrite does the inverse of pread.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiled pread/pwrite
+ * Feature: gtt, mapping
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_tiled_swapping.c b/tests/intel/gem_tiled_swapping.c
index 1b5c4bd14..af8976a25 100644
--- a/tests/intel/gem_tiled_swapping.c
+++ b/tests/intel/gem_tiled_swapping.c
@@ -61,10 +61,11 @@
 /**
  * TEST: gem tiled swapping
  * Description: Exercise swizzle code for swapping.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: swapping
+ * Feature: gtt, mapping
  *
  * SUBTEST: non-threaded
  *
diff --git a/tests/intel/gem_tiled_wb.c b/tests/intel/gem_tiled_wb.c
index 53c1ea217..6a61fcace 100644
--- a/tests/intel/gem_tiled_wb.c
+++ b/tests/intel/gem_tiled_wb.c
@@ -50,10 +50,11 @@
  * Description:
  *   This is a test of write-combining mmap's behavior on tiled objects with respect to the reported
  *   swizzling value.
- * Feature: caching, gtt
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: cache
+ * Feature: caching, gtt
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_tiled_wc.c b/tests/intel/gem_tiled_wc.c
index 7b8e88427..ca10ab02d 100644
--- a/tests/intel/gem_tiled_wc.c
+++ b/tests/intel/gem_tiled_wc.c
@@ -47,10 +47,11 @@
 #include "i915/gem_create.h"
 /**
  * TEST: gem tiled wc
- * Feature: caching, gtt
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: cache
+ * Feature: caching, gtt
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_tiling_max_stride.c b/tests/intel/gem_tiling_max_stride.c
index 5877b887c..4021f3e7a 100644
--- a/tests/intel/gem_tiling_max_stride.c
+++ b/tests/intel/gem_tiling_max_stride.c
@@ -42,10 +42,11 @@
 /**
  * TEST: gem tiling max stride
  * Description: Check that max fence stride works.
- * Feature: gtt, mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: fences
+ * Feature: gtt, mapping
  *
  * SUBTEST:
  */
diff --git a/tests/intel/gem_unfence_active_buffers.c b/tests/intel/gem_unfence_active_buffers.c
index cde4771c6..14ed1167a 100644
--- a/tests/intel/gem_unfence_active_buffers.c
+++ b/tests/intel/gem_unfence_active_buffers.c
@@ -55,10 +55,11 @@
 /**
  * TEST: gem unfence active buffers
  * Description: Check for use-after-free in the fence stealing code.
- * Feature: synchronization feature
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: fences
+ * Feature: synchronization
  *
  * SUBTEST:
  */
diff --git a/tests/intel/i915_fb_tiling.c b/tests/intel/i915_fb_tiling.c
index 1e42555b2..eab1d661d 100644
--- a/tests/intel/i915_fb_tiling.c
+++ b/tests/intel/i915_fb_tiling.c
@@ -26,10 +26,11 @@
 /**
  * TEST: i915 fb tiling
  * Description: Object tiling must be fixed after framebuffer creation.
- * Feature: mapping
- * Sub-category: Memory management
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tiling
+ * Feature: mapping
  *
  * SUBTEST:
  */
diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index ce43042c8..5d17f3bf1 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -54,11 +54,12 @@
  * Sub-category: uapi
  *
  * SUBTEST: live@coherency
- * Category: Selftest
  * Description: Cache management
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: cache
  * Test category: i915 / HW
- * Sub-category: Memory management
  *
  * SUBTEST: live@debugger
  * Category: Selftest
@@ -74,15 +75,17 @@
  *
  * SUBTEST: live@dmabuf
  * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: buffer management
  * Test category: i915
- * Sub-category: Memory management
  *
  * SUBTEST: live@evict
  * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: GTT eviction
  * Test category: i915
- * Sub-category: Memory management
  *
  * SUBTEST: live@execlists
  * Description: command submission backend
@@ -140,11 +143,12 @@
  * Test category: i915
  *
  * SUBTEST: live@gt_gtt
- * Category: Selftest
  * Description: Validation of virtual address management and execution
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: gtt
  * Test category: HW
- * Sub-category: Memory management
  *
  * SUBTEST: live@gt_heartbeat
  * Category: Selftest
@@ -183,16 +187,18 @@
  *
  * SUBTEST: live@gt_tlb
  * Category: Selftest
- * Test category: Memory Management
- * Sub-category: Memory management
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tlb
+ * Test category: Memory Management
  *
  * SUBTEST: live@gtt
- * Category: Selftest
  * Description: Virtual address management interface validation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: virtual address
  * Test category: i915
- * Sub-category: Memory management
  *
  * SUBTEST: live@gtt_l4wa
  * Category: Selftest
@@ -237,11 +243,12 @@
  * Sub-category: Reset
  *
  * SUBTEST: live@hugepages
- * Category: Selftest
  * Description: Large page support validation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: large page
  * Test category: i915
- * Sub-category: Memory management
  *
  * SUBTEST: live@late_gt_pm
  * Category: Selftest
@@ -251,32 +258,36 @@
  * Sub-category: Power management
  *
  * SUBTEST: live@lmem
+ * Description: Basic i915 driver module selftests
  * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Feature: local_memory
- * Description: Basic i915 driver module selftests
  * Functionality: local memory
- * Sub-category: Memory management
  *
  * SUBTEST: live@memory_region
- * Category: Selftest
  * Description: memory topology validation and migration checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: memory topology
  * Test category: i915 / HW
- * Sub-category: Memory management
  *
  * SUBTEST: live@memory_region_cross_tile
  * Category: Selftest
  * Mega feature: General Core features
  * Description: Multi-tile memory topology validation
- * Functionality: memory topology
+ * Category: Selftest
  * Sub-category: MultiTile
+ * Functionality: memory topology
  *
  * SUBTEST: live@mman
- * Category: Selftest
  * Description: memory management validation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: mapping
  * Test category: i915
- * Sub-category: Memory management
  *
  * SUBTEST: live@obj_lock
  * Category: Selftest
@@ -357,11 +368,12 @@
  * Sub-category: Power management
  *
  * SUBTEST: live@vma
- * Category: Selftest
  * Description: Per-object virtual address management
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: virtual address
  * Test category: i915
- * Sub-category: Memory management
  *
  * SUBTEST: live@win_blt_copy
  * Category: Selftest
@@ -384,11 +396,12 @@
  * Feature: gem_core
  *
  * SUBTEST: mock@buddy
- * Category: Selftest
  * Description: Buddy allocation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: buddy allocation
  * Test category: DRM
- * Sub-category: Memory management
  *
  * SUBTEST: mock@contexts
  * Category: Selftest
@@ -511,9 +524,10 @@
  *
  * SUBTEST: mock@tlb
  * Category: Selftest
- * Test category: Memory Management
- * Sub-category: Memory management
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: tlb
+ * Test category: Memory Management
  *
  * SUBTEST: mock@uncore
  * Category: Selftest
diff --git a/tests/intel/prime_busy.c b/tests/intel/prime_busy.c
index 66af5f8a3..a7c3f3499 100644
--- a/tests/intel/prime_busy.c
+++ b/tests/intel/prime_busy.c
@@ -28,12 +28,13 @@
 #include "igt.h"
 /**
  * TEST: prime busy
- * Category: Infrastructure
  * Description: Basic check of polling for prime fences.
- * Feature: prime
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: buffer management
- * Sub-category: Memory management
  * Test category: GEM_Legacy
+ * Feature: prime
  *
  * SUBTEST: after
  *
diff --git a/tests/intel/prime_mmap.c b/tests/intel/prime_mmap.c
index 3c0a0c0e5..c874bbd1f 100644
--- a/tests/intel/prime_mmap.c
+++ b/tests/intel/prime_mmap.c
@@ -53,10 +53,11 @@
 /**
  * TEST: prime mmap
  * Category: Infrastructure
- * Feature: prime
- * Functionality: prime mmap
- * Sub-category: Memory management
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
+ * Functionality: prime
  * Test category: GEM_Legacy
+ * Feature: prime
  *
  * SUBTEST: test_aperture_limit
  *
diff --git a/tests/intel/prime_mmap_coherency.c b/tests/intel/prime_mmap_coherency.c
index 3db79156d..73449d8bb 100644
--- a/tests/intel/prime_mmap_coherency.c
+++ b/tests/intel/prime_mmap_coherency.c
@@ -33,13 +33,14 @@
 #include "igt.h"
 /**
  * TEST: prime mmap coherency
- * Category: Infrastructure
  * Description:
  *   Test dma-buf mmap on !llc platforms mostly and provoke coherency bugs so we know for sure where
  *   we need the sync ioctls.
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
+ * Functionality: prime
  * Feature: prime
- * Functionality: prime mmap
- * Sub-category: Memory management
  * Test category: GEM_Legacy
  *
  * SUBTEST: ioctl-errors
diff --git a/tests/intel/prime_self_import.c b/tests/intel/prime_self_import.c
index 7bf947cf4..7603c1763 100644
--- a/tests/intel/prime_self_import.c
+++ b/tests/intel/prime_self_import.c
@@ -47,12 +47,13 @@
 #include "i915/gem_create.h"
 /**
  * TEST: prime self import
- * Category: Infrastructure
  * Description: Check whether prime import/export works on the same device... but with different fds.
- * Feature: prime
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: buffer management
- * Sub-category: Memory management
  * Test category: GEM_Legacy
+ * Feature: prime
  *
  * SUBTEST: basic-llseek-bad
  * Description: Check dmabuf llseek support with invalid values.
diff --git a/tests/intel/xe_evict.c b/tests/intel/xe_evict.c
index 5994ebb14..d5f6cea32 100644
--- a/tests/intel/xe_evict.c
+++ b/tests/intel/xe_evict.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Check VMA eviction
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: VMA
  * Functionality: eviction
  * GPU requirements: GPU needs to have dedicated VRAM
@@ -486,6 +487,7 @@ static uint64_t calc_bo_size(uint64_t vram_size, int mul, int div)
  * @beng-large-multi-vm:	large multi VM bind exec_queue
  */
 /**
+ *
  * SUBTEST: evict-%s
  * Description:  %arg[1] evict test.
  * Feature: compute machine
diff --git a/tests/intel/xe_mmap.c b/tests/intel/xe_mmap.c
index dcd36a50d..353d157da 100644
--- a/tests/intel/xe_mmap.c
+++ b/tests/intel/xe_mmap.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Test if the driver is capable of doing mmap on different memory regions
  * Category: Software building block
- * Sub-category: Memory management
+ * Mega feature: General Core features
+ * Sub-category: Memory management tests
  * Functionality: mmap
  */
 
diff --git a/tests/intel/xe_pat.c b/tests/intel/xe_pat.c
index d20100d7e..a48cd084b 100644
--- a/tests/intel/xe_pat.c
+++ b/tests/intel/xe_pat.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Test for selecting per-VMA pat_index
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: VMA
  * Functionality: pat_index
  */
diff --git a/tests/intel/xe_vm.c b/tests/intel/xe_vm.c
index 13cca2752..695a7882c 100644
--- a/tests/intel/xe_vm.c
+++ b/tests/intel/xe_vm.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Check if VMA functionality is working
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: VMA
  */
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 03/16] tests/intel: Add Blitter tests to General Core Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
  2024-04-23 10:48 ` [PATCH i-g-t v2 01/16] tests/intel: Introduce General Core Mega feature Katarzyna Piecielska
  2024-04-23 10:48 ` [PATCH i-g-t v2 02/16] tests: Add Memory management tests to " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 04/16] tests/intel: Introduce Power management " Katarzyna Piecielska
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add Blitter tests to General Core mega feature.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_exercise_blt.c      |  5 +++--
 tests/intel/gem_linear_blits.c      |  7 ++++---
 tests/intel/gem_set_tiling_vs_blt.c |  7 ++++---
 tests/intel/gen9_exec_parse.c       |  7 ++++---
 tests/intel/i915_selftest.c         | 10 ++++++----
 tests/intel/xe_ccs.c                |  3 ++-
 tests/intel/xe_copy_basic.c         |  3 ++-
 tests/intel/xe_exercise_blt.c       |  3 ++-
 8 files changed, 27 insertions(+), 18 deletions(-)

diff --git a/tests/intel/gem_exercise_blt.c b/tests/intel/gem_exercise_blt.c
index 7554aaef1..4d62a037a 100644
--- a/tests/intel/gem_exercise_blt.c
+++ b/tests/intel/gem_exercise_blt.c
@@ -13,10 +13,11 @@
 /**
  * TEST: gem exercise blt
  * Description: Exercise blitter commands
- * Feature: blitter feature
- * Sub-category: Blitter
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
  * Functionality: fast-copy
+ * Feature: blitter
  * Test category: GEM_Legacy
  *
  * SUBTEST: fast-copy
diff --git a/tests/intel/gem_linear_blits.c b/tests/intel/gem_linear_blits.c
index 023b2026b..f5b86e37c 100644
--- a/tests/intel/gem_linear_blits.c
+++ b/tests/intel/gem_linear_blits.c
@@ -51,11 +51,12 @@
 #include "intel_blt.h"
 /**
  * TEST: gem linear blits
- * Category: Infrastructure
  * Description: Test doing many blits with a working set larger than the aperture size.
- * Feature: blitter feature
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
  * Functionality: linear blits
- * Sub-category: Blitter
+ * Feature: blitter
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_set_tiling_vs_blt.c b/tests/intel/gem_set_tiling_vs_blt.c
index 1a1bd86aa..ecd4fc711 100644
--- a/tests/intel/gem_set_tiling_vs_blt.c
+++ b/tests/intel/gem_set_tiling_vs_blt.c
@@ -60,10 +60,11 @@
 /**
  * TEST: gem set tiling vs blt
  * Description: Check for proper synchronization of tiling changes vs. tiled gpu access.
- * Feature: blitter feature, gtt
- * Functionality: tiling
- * Sub-category: Blitter
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
+ * Functionality: tiling
+ * Feature: blitter, gtt
  *
  * SUBTEST: tiled-to-tiled
  * Description: Check for proper synchronization of tiled->tiled transition.
diff --git a/tests/intel/gen9_exec_parse.c b/tests/intel/gen9_exec_parse.c
index c9d97ba7a..021c07c38 100644
--- a/tests/intel/gen9_exec_parse.c
+++ b/tests/intel/gen9_exec_parse.c
@@ -35,10 +35,11 @@
 #include "sw_sync.h"
 /**
  * TEST: gen9 exec parse
- * Feature: blitter feature, command_parser
- * Sub-category: Blitter
- * Functionality: command parser
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
+ * Functionality: command parser
+ * Feature: blitter, command_parser
  *
  * SUBTEST: allowed-all
  *
diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index 5d17f3bf1..a673e9b03 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -40,11 +40,12 @@
  * Sub-category: Synchronization
  *
  * SUBTEST: live@blt
- * Category: Selftest
  * Description: Blitter validation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
  * Functionality: command streamer
  * Test category: i915 / HW
- * Sub-category: Blitter
  *
  * SUBTEST: live@client
  * Category: Selftest
@@ -376,11 +377,12 @@
  * Test category: i915
  *
  * SUBTEST: live@win_blt_copy
- * Category: Selftest
  * Description: Validation of migration interface
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
  * Functionality: migration interface
  * Test category: i915 / HW
- * Sub-category: Blitter
  *
  * SUBTEST: live@workarounds
  * Category: Selftest
diff --git a/tests/intel/xe_ccs.c b/tests/intel/xe_ccs.c
index b3bf97af7..ea0dff764 100644
--- a/tests/intel/xe_ccs.c
+++ b/tests/intel/xe_ccs.c
@@ -21,7 +21,8 @@
 /**
  * TEST: xe ccs
  * Category: Hardware building block
- * Sub-category: Blitter
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
  * Functionality: flat_ccs
  * Description: Exercise gen12 blitter with and without flatccs compression on Xe
  * Test category: functionality test
diff --git a/tests/intel/xe_copy_basic.c b/tests/intel/xe_copy_basic.c
index 25e8adca0..86fdac0ce 100644
--- a/tests/intel/xe_copy_basic.c
+++ b/tests/intel/xe_copy_basic.c
@@ -22,7 +22,8 @@
 /**
  * TEST: Test to validate copy commands on xe
  * Category: Software building block
- * Sub-category: Blitter
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
  * Functionality: copy
  */
 
diff --git a/tests/intel/xe_exercise_blt.c b/tests/intel/xe_exercise_blt.c
index 253edec7f..1b86e9757 100644
--- a/tests/intel/xe_exercise_blt.c
+++ b/tests/intel/xe_exercise_blt.c
@@ -15,7 +15,8 @@
 /**
  * TEST: xe exercise blt
  * Category: Hardware building block
- * Sub-category: Blitter
+ * Mega feature: General Core features
+ * Sub-category: Blitter tests
  * Functionality: flat_ccs
  * Description: Exercise blitter commands on Xe
  * Test category: functionality test
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 04/16] tests/intel: Introduce Power management Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (2 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 03/16] tests/intel: Add Blitter " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-25 17:11   ` Kamil Konieczny
  2024-04-23 10:49 ` [PATCH i-g-t v2 05/16] tests/intel: Introduce Compute " Katarzyna Piecielska
                   ` (12 subsequent siblings)
  16 siblings, 1 reply; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add mega feature to Power Management tests.
Group:
	SUBTEST
 	Description
 	Category
 	Mega feature
 	Sub-category
 	Functionality

v2: move gem_pxp to General Mega feature

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_ctx_freq.c          |  5 ++--
 tests/intel/i915_pm_freq_mult.c     |  7 +++---
 tests/intel/i915_pm_rc6_residency.c |  7 +++---
 tests/intel/i915_pm_rpm.c           |  7 +++---
 tests/intel/i915_pm_rps.c           |  7 +++---
 tests/intel/i915_pm_sseu.c          |  5 ++--
 tests/intel/i915_power.c            |  7 +++---
 tests/intel/i915_selftest.c         | 38 +++++++++++++++--------------
 tests/intel/i915_suspend.c          |  8 +++---
 tests/intel/xe_gt_freq.c            |  3 ++-
 tests/intel/xe_pm.c                 |  3 ++-
 tests/intel/xe_pm_residency.c       |  3 ++-
 12 files changed, 56 insertions(+), 44 deletions(-)

diff --git a/tests/intel/gem_ctx_freq.c b/tests/intel/gem_ctx_freq.c
index db67cade5..c348fe338 100644
--- a/tests/intel/gem_ctx_freq.c
+++ b/tests/intel/gem_ctx_freq.c
@@ -40,9 +40,10 @@
 /**
  * TEST: gem ctx freq
  * Category: Server
- * Feature: context feature
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: frequency management
- * Sub-category: Performance
+ * Feature: context feature
  * Test category: GEM_Legacy
  *
  * SUBTEST: sysfs
diff --git a/tests/intel/i915_pm_freq_mult.c b/tests/intel/i915_pm_freq_mult.c
index 3c390d427..6d375c5aa 100644
--- a/tests/intel/i915_pm_freq_mult.c
+++ b/tests/intel/i915_pm_freq_mult.c
@@ -14,10 +14,11 @@
  * TEST: i915 pm freq mult
  * Description: Tests for sysfs controls (or multipliers) for IP blocks which
  *		run at frequencies different from the main GT frequency.
- * Category: Firmware building block
- * Functionality: freq multipliers
+ * Category: Firmware
+ * Mega feature: Power management
+ * Sub-category: Power management tests
+ * Functionality: freg multipliers
  * Test category: i915
- * Sub-category: Power management
  *
  * SUBTEST: media-freq
  * Description: Tests for media frequency factor sysfs
diff --git a/tests/intel/i915_pm_rc6_residency.c b/tests/intel/i915_pm_rc6_residency.c
index be9f9117a..92dae43b3 100644
--- a/tests/intel/i915_pm_rc6_residency.c
+++ b/tests/intel/i915_pm_rc6_residency.c
@@ -43,10 +43,11 @@
 #include "sw_sync.h"
 /**
  * TEST: i915 pm rc6 residency
- * Feature: GuCRC, pm_rc6
- * Functionality: rc6
- * Sub-category: Power management
  * Category: Desktop client
+ * Mega feature: Power management
+ * Sub-category: Power management tests
+ * Functionality: rc6
+ * Feature: GuCRC, pm_rc6
  *
  * SUBTEST: media-rc6-accuracy
  * Feature: pm_rc6
diff --git a/tests/intel/i915_pm_rpm.c b/tests/intel/i915_pm_rpm.c
index 8ea3fd315..52e00489d 100644
--- a/tests/intel/i915_pm_rpm.c
+++ b/tests/intel/i915_pm_rpm.c
@@ -42,11 +42,12 @@
 #include <sys/stat.h>
 /**
  * TEST: i915 pm rpm
- * Feature: pm_rpm
- * Functionality: D3 state entry-exit
- * Sub-category: Power management
  * Category: Desktop client
+ * Mega feature: Power management
+ * Sub-category: Power management tests
+ * Functionality: D3 state entry-exit
  * Test category: pm_rpm
+ * Feature: pm_rpm
  *
  * SUBTEST: debugfs-forcewake-user
  * SUBTEST: debugfs-read
diff --git a/tests/intel/i915_pm_rps.c b/tests/intel/i915_pm_rps.c
index 648765b02..4ab137282 100644
--- a/tests/intel/i915_pm_rps.c
+++ b/tests/intel/i915_pm_rps.c
@@ -47,11 +47,12 @@
 /**
  * TEST: i915 pm rps
  * Description: Render P-States tests - verify GPU frequency changes
+ * Category: Desktop client
+ * Mega feature: Power management
+ * Sub-category: Power management tests
+ * Functionality: pm_rps
  * Feature: pm_rps
  * Test category: pm_rps
- * Functionality: rps
- * Sub-category: Power management
- * Category: Desktop client
  *
  * SUBTEST: basic-api
  *
diff --git a/tests/intel/i915_pm_sseu.c b/tests/intel/i915_pm_sseu.c
index 11df4f06c..1fb938893 100644
--- a/tests/intel/i915_pm_sseu.c
+++ b/tests/intel/i915_pm_sseu.c
@@ -38,10 +38,11 @@
 /**
  * TEST: i915 pm sseu
  * Description: Tests slice/subslice/EU power gating functionality.
- * Feature: pm_sseu
- * Sub-category: Power management
  * Category: Desktop client
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: sseu
+ * Feature: pm_sseu
  *
  * SUBTEST: full-enable
  */
diff --git a/tests/intel/i915_power.c b/tests/intel/i915_power.c
index fe8437a0f..ef92efb6f 100644
--- a/tests/intel/i915_power.c
+++ b/tests/intel/i915_power.c
@@ -10,11 +10,12 @@
 /**
  * TEST: i915 power
  * Description: i915 power measurement tests
- * Feature: hwmon
- * Test category: GEM_Legacy
- * Sub-category: Power management
  * Category: Desktop client
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: hwmon
+ * Feature: hwmon
+ * Test category: GEM_Legacy
  *
  * SUBTEST: sanity
  * Description: Sanity check gpu power measurement
diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index a673e9b03..cdaaaf635 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -174,10 +174,11 @@
  * Sub-category: Mocs
  *
  * SUBTEST: live@gt_pm
- * Category: Selftest
  * Description: Basic i915 driver module selftests
+ * Category: Selftest
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: rps, rc6
- * Sub-category: Power management
  *
  * SUBTEST: live@gt_timelines
  * Category: Selftest
@@ -252,11 +253,12 @@
  * Test category: i915
  *
  * SUBTEST: live@late_gt_pm
+ * Description: Basic i915 driver module selftests
  * Category: Selftest
- * Feature: rc6 feature
- * Functionality: Basic i915 driver module selftests
- * Test category: rc6
- * Sub-category: Power management
+ * Mega feature: Power management
+ * Sub-category: Power management tests
+ * Feature: rc6
+ * Functionality: rc6
  *
  * SUBTEST: live@lmem
  * Description: Basic i915 driver module selftests
@@ -353,20 +355,20 @@
  * Sub-category: Synchronization
  *
  * SUBTEST: live@slpc
- * Category: Selftest
- * Feature: slpc feature/ pm_rps
- * Test category: slpc / pm_rps
  * Description: Basic i915 driver module selftests
+ * Category: Selftest
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: slpc
- * Sub-category: Power management
+ * Feature: slpc / pm_rps
  *
  * SUBTEST: live@uncore
- * Category: Selftest
  * Description: Basic i915 driver module selftests
- * Feature: forcewake feature
- * Test category: forcewake
+ * Category: Selftest
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: forcewake
- * Sub-category: Power management
+ * Feature: forcewake
  *
  * SUBTEST: live@vma
  * Description: Per-object virtual address management
@@ -532,12 +534,12 @@
  * Test category: Memory Management
  *
  * SUBTEST: mock@uncore
- * Category: Selftest
  * Description: Basic i915 driver module selftests
- * Feature: forcewake feature
- * Test category: forcewake
+ * Category: Selftest
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: forcewake
- * Sub-category: Power management
+ * Feature: forcewake
  *
  * SUBTEST: mock@vma
  * Category: Selftest
diff --git a/tests/intel/i915_suspend.c b/tests/intel/i915_suspend.c
index ae4404101..1f99c2ddc 100644
--- a/tests/intel/i915_suspend.c
+++ b/tests/intel/i915_suspend.c
@@ -46,12 +46,12 @@
 #include "igt_device_scan.h"
 /**
  * TEST: i915 suspend
- * Feature: suspend feature
+ * Category: Desktop client
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: s2idle w/o i915
  * Test category: suspend
- * Functionality: suspend
- * Sub-category: Power management
- * Category: Desktop client
+ * Feature: suspend
  *
  * SUBTEST: basic-s2idle-without-i915
  * Description: Validate suspend-to-idle without i915 module
diff --git a/tests/intel/xe_gt_freq.c b/tests/intel/xe_gt_freq.c
index c12f6c52c..0c1acc688 100644
--- a/tests/intel/xe_gt_freq.c
+++ b/tests/intel/xe_gt_freq.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Test Xe GT frequency request functionality
  * Category: Infrastructure
- * Sub-category: Power management
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: frequency request
  * Test category: functionality test
  */
diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 51442537b..24cdeb7ed 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check Power Management functionality
  * Category: Software building block
- * Sub-category: Power management
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Test category: functionality test
  */
 
diff --git a/tests/intel/xe_pm_residency.c b/tests/intel/xe_pm_residency.c
index ad70e2430..d58ebe804 100644
--- a/tests/intel/xe_pm_residency.c
+++ b/tests/intel/xe_pm_residency.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Test gtidle properties
  * Category: Software building block
- * Sub-category: Power management
+ * Mega feature: Power management
+ * Sub-category: Power management tests
  * Functionality: GT C States
  * Test category: functionality test
  */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 05/16] tests/intel: Introduce Compute Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (3 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 04/16] tests/intel: Introduce Power management " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 06/16] tests: Add DRIVER_ANY tests to General Core " Katarzyna Piecielska
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add mega feature to Compute tests.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_compute.c         | 5 +++--
 tests/intel/gem_ctx_persistence.c | 5 +++--
 tests/intel/gem_userptr_blits.c   | 5 +++--
 tests/intel/gem_vm_create.c       | 3 ++-
 tests/intel/xe_compute.c          | 3 ++-
 tests/intel/xe_compute_preempt.c  | 3 ++-
 tests/intel/xe_noexec_ping_pong.c | 3 ++-
 7 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/tests/intel/gem_compute.c b/tests/intel/gem_compute.c
index ffab45d61..bc640fa11 100644
--- a/tests/intel/gem_compute.c
+++ b/tests/intel/gem_compute.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check compute-related functionality
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Test category: functionality test
  */
 
@@ -21,7 +22,7 @@
  * Description:
  *	Run an openCL Kernel that returns output[i] = input[i] * input[i],
  *	for an input dataset..
- * Functionality: compute openCL kernel
+ * Functionality: OpenCL kernel
  */
 static void
 test_compute_square(int fd)
diff --git a/tests/intel/gem_ctx_persistence.c b/tests/intel/gem_ctx_persistence.c
index 80ece13a7..1d4a14900 100644
--- a/tests/intel/gem_ctx_persistence.c
+++ b/tests/intel/gem_ctx_persistence.c
@@ -47,10 +47,11 @@
 #include "sw_sync.h"
 /**
  * TEST: gem ctx persistence
- * Feature: context feature
  * Category: Server
+ * Sub-category: Compute tests
+ * Mega feature: Compute
  * Functionality: context
- * Sub-category: Compute
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: engines-cleanup
diff --git a/tests/intel/gem_userptr_blits.c b/tests/intel/gem_userptr_blits.c
index 66f2a9416..0592236bc 100644
--- a/tests/intel/gem_userptr_blits.c
+++ b/tests/intel/gem_userptr_blits.c
@@ -70,9 +70,10 @@
 /**
  * TEST: gem userptr blits
  * Category: Server
- * Feature: userptr
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: buffer management
- * Sub-category: Compute
+ * Feature: userptr
  * Test category: GEM_Legacy
  *
  * SUBTEST: access-control
diff --git a/tests/intel/gem_vm_create.c b/tests/intel/gem_vm_create.c
index 2788e1745..8e9d1c193 100644
--- a/tests/intel/gem_vm_create.c
+++ b/tests/intel/gem_vm_create.c
@@ -30,8 +30,9 @@
 /**
  * TEST: gem vm create
  * Category: Server
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: context
- * Sub-category: Compute
  * Feature: mapping
  * Test category: GEM_Legacy
  *
diff --git a/tests/intel/xe_compute.c b/tests/intel/xe_compute.c
index 735b2fcd0..8cf5e393b 100644
--- a/tests/intel/xe_compute.c
+++ b/tests/intel/xe_compute.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check compute-related functionality
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Test category: functionality test
  */
 
diff --git a/tests/intel/xe_compute_preempt.c b/tests/intel/xe_compute_preempt.c
index 78b19158d..df30a6936 100644
--- a/tests/intel/xe_compute_preempt.c
+++ b/tests/intel/xe_compute_preempt.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check compute-related preemption functionality
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: OpenCL kernel
  * Test category: functionality test
  */
diff --git a/tests/intel/xe_noexec_ping_pong.c b/tests/intel/xe_noexec_ping_pong.c
index f88f2af9d..9024623d9 100644
--- a/tests/intel/xe_noexec_ping_pong.c
+++ b/tests/intel/xe_noexec_ping_pong.c
@@ -18,7 +18,8 @@
 /**
  * TEST: Expose compute VM's unnecessary rebinds
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: VM rebind
  * Test category: functionality test
  *
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 06/16] tests: Add DRIVER_ANY tests to General Core Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (4 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 05/16] tests/intel: Introduce Compute " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 07/16] tests/intel: Add legacy i915 " Katarzyna Piecielska
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add tests with DRIVER_ANY to 'General Core feature' mega feature.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/core_auth.c              | 7 ++++---
 tests/core_getclient.c         | 7 ++++---
 tests/core_getstats.c          | 7 ++++---
 tests/core_getversion.c        | 7 ++++---
 tests/core_hotunplug.c         | 5 +++--
 tests/core_setmaster.c         | 7 ++++---
 tests/core_setmaster_vs_auth.c | 7 ++++---
 tests/device_reset.c           | 8 ++++----
 tests/dumb_buffer.c            | 7 ++++---
 tests/prime_vgem.c             | 7 ++++---
 tests/sw_sync.c                | 9 +++++----
 tests/syncobj_basic.c          | 7 ++++---
 tests/syncobj_timeline.c       | 9 +++++----
 tests/syncobj_wait.c           | 9 +++++----
 tests/vgem_basic.c             | 5 +++--
 tests/vgem_slow.c              | 7 ++++---
 16 files changed, 65 insertions(+), 50 deletions(-)

diff --git a/tests/core_auth.c b/tests/core_auth.c
index 2d6ad83e9..1ba518a58 100644
--- a/tests/core_auth.c
+++ b/tests/core_auth.c
@@ -44,11 +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
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic-auth
diff --git a/tests/core_getclient.c b/tests/core_getclient.c
index 308f2c0e4..9875ca990 100644
--- a/tests/core_getclient.c
+++ b/tests/core_getclient.c
@@ -33,11 +33,12 @@
 
 /**
  * TEST: core getclient
- * Category: Desktop client
  * Description: Tests the DRM_IOCTL_GET_CLIENT ioctl.
- * Feature: core
- * Functionality: permission management for clients
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST:
diff --git a/tests/core_getstats.c b/tests/core_getstats.c
index b2d26a826..bb28c2d77 100644
--- a/tests/core_getstats.c
+++ b/tests/core_getstats.c
@@ -34,11 +34,12 @@
 
 /**
  * TEST: core getstats
- * Category: Desktop client
  * Description: Tests the DRM_IOCTL_GET_STATS ioctl.
- * Feature: core
- * Functionality: DRM memory management
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: DRM memory management
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST:
diff --git a/tests/core_getversion.c b/tests/core_getversion.c
index 94cedff8c..bb2e6013d 100644
--- a/tests/core_getversion.c
+++ b/tests/core_getversion.c
@@ -30,11 +30,12 @@
 #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
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/core_hotunplug.c b/tests/core_hotunplug.c
index 9af857e67..afd7c3faa 100644
--- a/tests/core_hotunplug.c
+++ b/tests/core_hotunplug.c
@@ -42,11 +42,12 @@
 /**
  * TEST: core hotunplug
  * Description: Examine behavior of a driver on device hot unplug
- * Feature: SMI, core
- * Test category: functionality test
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: driver
  * Functionality: device hotplug
+ * Feature: SMI, core
+ * Test category: functionality test
  *
  * SUBTEST: hotrebind
  * Description: Check if the driver can be cleanly rebound to a device with a
diff --git a/tests/core_setmaster.c b/tests/core_setmaster.c
index 707c2305f..21c62036e 100644
--- a/tests/core_setmaster.c
+++ b/tests/core_setmaster.c
@@ -40,11 +40,12 @@
 #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
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST: master-drop-set-root
diff --git a/tests/core_setmaster_vs_auth.c b/tests/core_setmaster_vs_auth.c
index 592d850f6..a5e0c8b2d 100644
--- a/tests/core_setmaster_vs_auth.c
+++ b/tests/core_setmaster_vs_auth.c
@@ -42,11 +42,12 @@
 #include "igt_device.h"
 /**
  * TEST: core setmaster vs auth
- * Category: Desktop client
  * Description: Check that drop/setMaster correctly transfer master state
- * Feature: core
- * Functionality: permission management for clients
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST:
diff --git a/tests/device_reset.c b/tests/device_reset.c
index 583a59039..de1a8a87b 100644
--- a/tests/device_reset.c
+++ b/tests/device_reset.c
@@ -16,12 +16,12 @@
 #include "igt_kmod.h"
 /**
  * TEST: device reset
- * Category: Hardware building block
  * Description: Examine behavior of a driver on device sysfs reset
- * Category: Server
- * Feature: reset
- * Functionality: sysfs reset
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: Reset
+ * Functionality: sysfs reset
+ * Feature: reset
  * Test category: GEM_Legacy
  *
  * SUBTEST: cold-reset-bound
diff --git a/tests/dumb_buffer.c b/tests/dumb_buffer.c
index 8e243459c..f27e113d4 100644
--- a/tests/dumb_buffer.c
+++ b/tests/dumb_buffer.c
@@ -51,11 +51,12 @@
 #include "ioctl_wrappers.h"
 /**
  * TEST: dumb buffer
- * Category: Desktop client
  * Description: This is a test for the generic dumb buffer interface.
- * Feature: prime
- * Functionality: ioctl
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: ioctl
+ * Feature: prime
  * Test category: Compositor
  *
  * SUBTEST: create-clear
diff --git a/tests/prime_vgem.c b/tests/prime_vgem.c
index fa19d8e64..3af0eb430 100644
--- a/tests/prime_vgem.c
+++ b/tests/prime_vgem.c
@@ -32,11 +32,12 @@
 #include "intel_batchbuffer.h"	/* igt_blitter_copy() */
 /**
  * TEST: prime vgem
- * Category: Infrastructure
  * Description: Basic check of polling for prime/vgem fences.
- * Feature: prime
- * Functionality: mock device
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: mock device
+ * Feature: prime
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic-blt
diff --git a/tests/sw_sync.c b/tests/sw_sync.c
index a276c4a22..e01397460 100644
--- a/tests/sw_sync.c
+++ b/tests/sw_sync.c
@@ -40,11 +40,12 @@
 
 /**
  * TEST: sw sync
- * Category: Infrastructure
  * Description: Test SW Sync Framework
- * Feature: semaphore
- * Functionality: sw sync framework
- * Sub-category: uapi
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: alloc_fence
diff --git a/tests/syncobj_basic.c b/tests/syncobj_basic.c
index d1ea872cf..9e905a939 100644
--- a/tests/syncobj_basic.c
+++ b/tests/syncobj_basic.c
@@ -28,11 +28,12 @@
 #include "drm.h"
 /**
  * TEST: syncobj basic
- * Category: Infrastructure
  * Description: Basic check for drm sync objects.
- * Feature: semaphore
- * Functionality: drm sync object
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: bad-create-flags
diff --git a/tests/syncobj_timeline.c b/tests/syncobj_timeline.c
index f7e33604d..e9c3ac740 100644
--- a/tests/syncobj_timeline.c
+++ b/tests/syncobj_timeline.c
@@ -32,11 +32,12 @@
 #include "drm.h"
 /**
  * TEST: syncobj timeline
- * Category: Infrastructure
  * Description: Tests for the drm timeline sync object API
- * Feature: synchronization feature
- * Functionality: sync_object
- * Sub-category: uapi
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: 32bits-limit
diff --git a/tests/syncobj_wait.c b/tests/syncobj_wait.c
index 571e3c2af..26fce89fe 100644
--- a/tests/syncobj_wait.c
+++ b/tests/syncobj_wait.c
@@ -32,11 +32,12 @@
 #include "drm.h"
 /**
  * TEST: syncobj wait
- * Category: Infrastructure
  * Description: Tests for the drm sync object wait API
- * Feature: synchronization feature
- * Functionality: object wait
- * Sub-category: uapi
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: invalid-multi-wait-all-unsubmitted
diff --git a/tests/vgem_basic.c b/tests/vgem_basic.c
index cb92efbf5..fa61e6cdb 100644
--- a/tests/vgem_basic.c
+++ b/tests/vgem_basic.c
@@ -33,10 +33,11 @@
 #include <dirent.h>
 /**
  * TEST: vgem basic
- * Category: Infrastructure
  * Description: Basic sanity check of Virtual GEM module (vGEM).
- * Functionality: mock device
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: Core
+ * Functionality: mock device
  * Test category: GEM_Legacy
  * Feature: vgem
  *
diff --git a/tests/vgem_slow.c b/tests/vgem_slow.c
index 35761a4ee..d350da793 100644
--- a/tests/vgem_slow.c
+++ b/tests/vgem_slow.c
@@ -32,11 +32,12 @@
 #include <dirent.h>
 /**
  * TEST: vgem slow
- * Category: Infrastructure
  * Description: Extended sanity check of Virtual GEM module (vGEM).
- * Feature: vgem
- * Functionality: mock device
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: mock device
+ * Feature: vgem
  * Test category: GEM_Legacy
  *
  * SUBTEST: nohang
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 07/16] tests/intel: Add legacy i915 tests to General Core Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (5 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 06/16] tests: Add DRIVER_ANY tests to General Core " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 08/16] tests/intel: Introduce SysMan " Katarzyna Piecielska
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add legacy and DRIVER_INTEL tests to 'General Core features' mega feature.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/api_intel_allocator.c      |   5 +-
 tests/intel/api_intel_bb.c             |   7 +-
 tests/intel/debugfs_test.c             |   5 +-
 tests/intel/drm_fdinfo.c               |   7 +-
 tests/intel/gem_basic.c                |   5 +-
 tests/intel/gem_busy.c                 |   3 +-
 tests/intel/gem_caching.c              |   7 +-
 tests/intel/gem_create.c               |   5 +-
 tests/intel/gem_ctx_isolation.c        |   5 +-
 tests/intel/gem_ctx_param.c            |   5 +-
 tests/intel/gem_ctx_sseu.c             |   5 +-
 tests/intel/gem_eio.c                  |   5 +-
 tests/intel/gem_exec_capture.c         |   5 +-
 tests/intel/gem_exec_endless.c         |   1 +
 tests/intel/gem_flink_basic.c          |   7 +-
 tests/intel/gem_flink_race.c           |   7 +-
 tests/intel/gem_huc_copy.c             |   7 +-
 tests/intel/gem_reg_read.c             |   5 +-
 tests/intel/gem_reset_stats.c          |   5 +-
 tests/intel/gem_spin_batch.c           |   7 +-
 tests/intel/gem_sync.c                 |   7 +-
 tests/intel/gem_wait.c                 |   9 +-
 tests/intel/gem_workarounds.c          |   5 +-
 tests/intel/gen3_mixed_blits.c         |   1 +
 tests/intel/gen3_render_linear_blits.c |   1 +
 tests/intel/gen3_render_mixed_blits.c  |   1 +
 tests/intel/gen3_render_tiledx_blits.c |   1 +
 tests/intel/gen3_render_tiledy_blits.c |   1 +
 tests/intel/i915_getparams_basic.c     |   7 +-
 tests/intel/i915_hangman.c             |   7 +-
 tests/intel/i915_module_load.c         |   7 +-
 tests/intel/i915_pciid.c               |   7 +-
 tests/intel/i915_pm_freq_api.c         |   1 +
 tests/intel/i915_query.c               |   7 +-
 tests/intel/i915_selftest.c            | 166 +++++++++++++++----------
 tests/intel/prime_mmap_kms.c           |   5 +-
 tests/intel/sysfs_defaults.c           |   5 +-
 37 files changed, 211 insertions(+), 135 deletions(-)

diff --git a/tests/intel/api_intel_allocator.c b/tests/intel/api_intel_allocator.c
index 60cd16de0..95b85baff 100644
--- a/tests/intel/api_intel_allocator.c
+++ b/tests/intel/api_intel_allocator.c
@@ -15,10 +15,11 @@
 
 /**
  * TEST: api intel allocator
- * Category: Infrastructure
- * Functionality: virtual address
  * Description: checking the virtual address ranges
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: IGT Lib
+ * Functionality: virtual address
  * Test category: GEM_Legacy
  * Feature: igt_core
  *
diff --git a/tests/intel/api_intel_bb.c b/tests/intel/api_intel_bb.c
index 6e5c1293e..e53298695 100644
--- a/tests/intel/api_intel_bb.c
+++ b/tests/intel/api_intel_bb.c
@@ -43,11 +43,12 @@
 #include "intel_blt.h"
 /**
  * TEST: api intel bb
- * Category: Infrastructure
  * Description: checking dummy buffer creation & submission
- * Feature: igt_core
- * Functionality: dummy buffer creation & submission
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: IGT Lib
+ * Functionality: dummy buffer creation & submission
+ * Feature: igt_core
  * Test category: GEM_Legacy
  *
  * SUBTEST: add-remove-objects
diff --git a/tests/intel/debugfs_test.c b/tests/intel/debugfs_test.c
index 1278b0ae1..f3eb43d68 100644
--- a/tests/intel/debugfs_test.c
+++ b/tests/intel/debugfs_test.c
@@ -32,10 +32,11 @@
 /**
  * TEST: debugfs test
  * Description: Read entries from debugfs, hwmon and sysfs paths.
- * Feature: core
  * Category: Infrastructure
- * Functionality: debugfs
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: debugfs
+ * Feature: core
  * Test category: uapi
  *
  * SUBTEST: basic-hwmon
diff --git a/tests/intel/drm_fdinfo.c b/tests/intel/drm_fdinfo.c
index 61c66079e..effa01da4 100644
--- a/tests/intel/drm_fdinfo.c
+++ b/tests/intel/drm_fdinfo.c
@@ -36,10 +36,11 @@
 /**
  * TEST: drm fdinfo
  * Description: Test the i915 drm fdinfo data
- * Feature: client busyness
- * Functionality: Per client memory statistics
- * Sub-category: driver
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: driver
+ * Functionality: Per client memory statistics
+ * Feature: client_busyness
  *
  * SUBTEST: all-busy-check-all
  *
diff --git a/tests/intel/gem_basic.c b/tests/intel/gem_basic.c
index bd9401149..d5e6cc7e5 100644
--- a/tests/intel/gem_basic.c
+++ b/tests/intel/gem_basic.c
@@ -45,9 +45,10 @@
  * TEST: gem basic
  * Description: Tests basic gem_create and gem_close IOCTLs
  * Category: Infrastructure
- * Feature: gem_core
- * Functionality: driver handler
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: driver handler
+ * Feature: gem_core
  * Test category: GEM_Legacy
  *
  * SUBTEST: bad-close
diff --git a/tests/intel/gem_busy.c b/tests/intel/gem_busy.c
index 58720b4dc..04f41231c 100644
--- a/tests/intel/gem_busy.c
+++ b/tests/intel/gem_busy.c
@@ -34,8 +34,9 @@
  * TEST: gem busy
  * Description: Basic check of busy-ioctl ABI.
  * Category: Desktop client
- * Functionality: semaphore
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: semaphore
  * Test category: GEM_Legacy
  * Feature: cmd_submission
  *
diff --git a/tests/intel/gem_caching.c b/tests/intel/gem_caching.c
index 475013739..d319467fb 100644
--- a/tests/intel/gem_caching.c
+++ b/tests/intel/gem_caching.c
@@ -42,11 +42,12 @@
 #include "intel_blt.h"
 /**
  * TEST: gem caching
- * Category: Desktop client
  * Description: Test snoop consistency when touching partial cachelines.
- * Feature: caching feature
+ * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: Caching
  * Functionality: coherency
- * Sub-category: Memory management
+ * Feature: caching
  * Test category: GEM_Legacy
  *
  * SUBTEST: read-writes
diff --git a/tests/intel/gem_create.c b/tests/intel/gem_create.c
index 1434a50a9..bb389e672 100644
--- a/tests/intel/gem_create.c
+++ b/tests/intel/gem_create.c
@@ -67,9 +67,10 @@
  * Description: Ensure that basic gem_create and gem_create_ext works and that
  *		invalid input combinations are rejected.
  * Category: Infrastructure
- * Feature: mapping
- * Functionality: buffer management
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: buffer management
+ * Feature: mapping
  * Test category: GEM_Legacy
  *
  * SUBTEST: busy-create
diff --git a/tests/intel/gem_ctx_isolation.c b/tests/intel/gem_ctx_isolation.c
index e6b609e35..cd4aaee9c 100644
--- a/tests/intel/gem_ctx_isolation.c
+++ b/tests/intel/gem_ctx_isolation.c
@@ -29,9 +29,10 @@
 /**
  * TEST: gem ctx isolation
  * Category: Infrastructure
- * Feature: context
- * Functionality: priv/non-priv registers
+ * Mega feature: General Core features
  * Sub-category: Security
+ * Functionality: priv/non-priv registers
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: clean
diff --git a/tests/intel/gem_ctx_param.c b/tests/intel/gem_ctx_param.c
index e09216487..921bb09ac 100644
--- a/tests/intel/gem_ctx_param.c
+++ b/tests/intel/gem_ctx_param.c
@@ -34,9 +34,10 @@
  * TEST: gem ctx param
  * Description: Basic test for context set/get param input validation.
  * Category: Infrastructure
- * Feature: context feature
- * Functionality: context
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: context
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic
diff --git a/tests/intel/gem_ctx_sseu.c b/tests/intel/gem_ctx_sseu.c
index d7cb730b1..7847e7ce9 100644
--- a/tests/intel/gem_ctx_sseu.c
+++ b/tests/intel/gem_ctx_sseu.c
@@ -47,10 +47,11 @@
 /**
  * TEST: gem ctx sseu
  * Description: Test context render powergating programming.
- * Feature: pm_sseu
- * Sub-category: uapi
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: sseu
+ * Feature: pm_sseu
  *
  * SUBTEST: engines
  *
diff --git a/tests/intel/gem_eio.c b/tests/intel/gem_eio.c
index c2fdff7c0..39100086d 100644
--- a/tests/intel/gem_eio.c
+++ b/tests/intel/gem_eio.c
@@ -56,10 +56,11 @@
 /**
  * TEST: gem eio
  * Description: Test that specific ioctls report a wedged GPU (EIO).
+ * Mega feature: General Core features
  * Category: Infrastructure
- * Feature: reset uapi
- * Functionality: sysfs reset
  * Sub-category: uapi
+ * Functionality: reset
+ * Feature: reset
  * Test category: GEM_Legacy
  *
  * SUBTEST: banned
diff --git a/tests/intel/gem_exec_capture.c b/tests/intel/gem_exec_capture.c
index 57b178f3e..5c50c7532 100644
--- a/tests/intel/gem_exec_capture.c
+++ b/tests/intel/gem_exec_capture.c
@@ -35,10 +35,11 @@
 /**
  * TEST: gem exec capture
  * Description: Check that we capture the user specified objects on a hang
- * Feature: cmd_submission
  * Category: Server
- * Functionality: offline debugging
+ * Mega feature: General Core features
  * Sub-category: Debugging
+ * Functionality: offline debugging
+ * Feature: cmd_submission
  * Test category: GEM_Legacy
  *
  * SUBTEST: capture
diff --git a/tests/intel/gem_exec_endless.c b/tests/intel/gem_exec_endless.c
index f0bf82b54..99c5403ec 100644
--- a/tests/intel/gem_exec_endless.c
+++ b/tests/intel/gem_exec_endless.c
@@ -33,6 +33,7 @@
 /**
  * TEST: gem exec endless
  * Category: Server
+ * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: compute test
  * Test category: Compute
diff --git a/tests/intel/gem_flink_basic.c b/tests/intel/gem_flink_basic.c
index 049c91be2..28c7c4078 100644
--- a/tests/intel/gem_flink_basic.c
+++ b/tests/intel/gem_flink_basic.c
@@ -40,11 +40,12 @@
 #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
- * Functionality: buffer management
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: buffer management
+ * Feature: xorg_dri2
  * Test category: GEM_Legacy
  *
  * SUBTEST: bad-flink
diff --git a/tests/intel/gem_flink_race.c b/tests/intel/gem_flink_race.c
index 5675954bd..26bae7a87 100644
--- a/tests/intel/gem_flink_race.c
+++ b/tests/intel/gem_flink_race.c
@@ -37,11 +37,12 @@
 #include "igt_stats.h"
 /**
  * TEST: gem flink race
- * Category: Desktop client
  * Description: Check for flink/open vs. gem close races.
- * Feature: xorg_dri2
- * Functionality: buffer management
+ * Category: Desktop client
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: buffer management
+ * Feature: xorg_dri2
  * Test category: GEM_Legacy
  *
  * SUBTEST: flink_close
diff --git a/tests/intel/gem_huc_copy.c b/tests/intel/gem_huc_copy.c
index 541ed01f1..606755a1f 100644
--- a/tests/intel/gem_huc_copy.c
+++ b/tests/intel/gem_huc_copy.c
@@ -38,10 +38,11 @@
 /**
  * TEST: gem huc copy
  * Description: A very simple workload for the HuC.
- * Feature: firmware feature
- * Sub-category: Firmware
  * Category: Desktop client
- * Functionality: huc copy
+ * Mega feature: General Core features
+ * Sub-category: Firmware
+ * Functionality: HUC
+ * Feature: huc
  *
  * SUBTEST: huc-copy
  * Description:
diff --git a/tests/intel/gem_reg_read.c b/tests/intel/gem_reg_read.c
index 8b7bc9898..46ea06979 100644
--- a/tests/intel/gem_reg_read.c
+++ b/tests/intel/gem_reg_read.c
@@ -34,10 +34,11 @@
 
 /**
  * TEST: gem reg read
- * Feature: gem_core
- * Sub-category: uapi
  * Category: Desktop client
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: ioctl
+ * Feature: gem_core
  *
  * SUBTEST: bad-register
  *
diff --git a/tests/intel/gem_reset_stats.c b/tests/intel/gem_reset_stats.c
index fdad7600c..df470fc6a 100644
--- a/tests/intel/gem_reset_stats.c
+++ b/tests/intel/gem_reset_stats.c
@@ -49,9 +49,10 @@
 #include "sw_sync.h"
 /**
  * TEST: gem reset stats
- * Sub-category: uapi
  * Category: Desktop client
- * Functionality: sysfs reset
+ * Mega feature: General Core features
+ * Sub-category: uapi
+ * Functionality: reset
  *
  * SUBTEST: ban-blt
  *
diff --git a/tests/intel/gem_spin_batch.c b/tests/intel/gem_spin_batch.c
index a865e8549..e1522c260 100644
--- a/tests/intel/gem_spin_batch.c
+++ b/tests/intel/gem_spin_batch.c
@@ -27,11 +27,12 @@
 #include "igt.h"
 /**
  * TEST: gem spin batch
- * Test category: GEM_Legacy
  * Category: Infrastructure
- * Feature: context, igt_core
- * Functionality: dummy workload
+ * Mega feature: General Core features
  * Sub-category: IGT Lib
+ * Functionality: dummy workload
+ * Feature: context, igt_core
+ * Test category: GEM_Legacy
  *
  * SUBTEST: engines
  * SUBTEST: legacy
diff --git a/tests/intel/gem_sync.c b/tests/intel/gem_sync.c
index 041ea5959..e10f49f16 100644
--- a/tests/intel/gem_sync.c
+++ b/tests/intel/gem_sync.c
@@ -34,11 +34,12 @@
 #include "igt_sysfs.h"
 /**
  * TEST: gem sync
- * Category: Infrastructure
  * Description: Basic check of ring<->ring write synchronisation.
- * Feature: synchronization feature
- * Functionality: semaphore
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: active
diff --git a/tests/intel/gem_wait.c b/tests/intel/gem_wait.c
index fa6eb9f77..061deaa33 100644
--- a/tests/intel/gem_wait.c
+++ b/tests/intel/gem_wait.c
@@ -33,11 +33,12 @@
 #include "igt_vgem.h"
 /**
  * TEST: gem wait
- * Category: Infrastructure
  * Description: Tests the GEM_WAIT ioctl
- * Feature: synchronization feature
- * Functionality: GEM_WAIT ioctl
- * Sub-category: uapi
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
  * Test category: GEM_Legacy
  *
  * SUBTEST: await
diff --git a/tests/intel/gem_workarounds.c b/tests/intel/gem_workarounds.c
index dbde4cb45..4e325e10e 100644
--- a/tests/intel/gem_workarounds.c
+++ b/tests/intel/gem_workarounds.c
@@ -35,9 +35,10 @@
 /**
  * TEST: gem workarounds
  * Category: Infrastructure
- * Feature: workaround
- * Functionality: context
+ * Mega feature: General Core features
  * Sub-category: Workarounds
+ * Functionality: context
+ * Feature: workarounds
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic-read
diff --git a/tests/intel/gen3_mixed_blits.c b/tests/intel/gen3_mixed_blits.c
index 55bbb5d45..fbfd04705 100644
--- a/tests/intel/gen3_mixed_blits.c
+++ b/tests/intel/gen3_mixed_blits.c
@@ -51,6 +51,7 @@
 /**
  * TEST: gen3 mixed blits
  * Category: Obsolete
+ * Mega feature: General Core features
  * Sub-category: Obsolete_gen3
  * Functionality: obsolete_test
  * Feature: obsolete test
diff --git a/tests/intel/gen3_render_linear_blits.c b/tests/intel/gen3_render_linear_blits.c
index 43a443e0a..34bf510f0 100644
--- a/tests/intel/gen3_render_linear_blits.c
+++ b/tests/intel/gen3_render_linear_blits.c
@@ -50,6 +50,7 @@
 /**
  * TEST: gen3 render linear blits
  * Category: Obsolete
+ * Mega feature: General Core features
  * Sub-category: Obsolete_gen3
  * Functionality: obsolete_test
  * Feature: obsolete test
diff --git a/tests/intel/gen3_render_mixed_blits.c b/tests/intel/gen3_render_mixed_blits.c
index c7336adfe..29db12d3d 100644
--- a/tests/intel/gen3_render_mixed_blits.c
+++ b/tests/intel/gen3_render_mixed_blits.c
@@ -51,6 +51,7 @@
 /**
  * TEST: gen3 render mixed blits
  * Category: Obsolete
+ * Mega feature: General Core features
  * Sub-category: Obsolete_gen3
  * Functionality: obsolete_test
  * Feature: obsolete test
diff --git a/tests/intel/gen3_render_tiledx_blits.c b/tests/intel/gen3_render_tiledx_blits.c
index f5818135b..578abdef0 100644
--- a/tests/intel/gen3_render_tiledx_blits.c
+++ b/tests/intel/gen3_render_tiledx_blits.c
@@ -51,6 +51,7 @@
 /**
  * TEST: gen3 render tiledx blits
  * Category: Obsolete
+ * Mega feature: General Core features
  * Sub-category: Obsolete_gen3
  * Functionality: obsolete_test
  * Feature: obsolete test
diff --git a/tests/intel/gen3_render_tiledy_blits.c b/tests/intel/gen3_render_tiledy_blits.c
index b40be62f6..d8ecc1626 100644
--- a/tests/intel/gen3_render_tiledy_blits.c
+++ b/tests/intel/gen3_render_tiledy_blits.c
@@ -51,6 +51,7 @@
 /**
  * TEST: gen3 render tiledy blits
  * Category: Obsolete
+ * Mega feature: General Core features
  * Sub-category: Obsolete_gen3
  * Functionality: obsolete_test
  * Feature: obsolete test
diff --git a/tests/intel/i915_getparams_basic.c b/tests/intel/i915_getparams_basic.c
index 3518a3b9f..507e9754f 100644
--- a/tests/intel/i915_getparams_basic.c
+++ b/tests/intel/i915_getparams_basic.c
@@ -32,11 +32,12 @@
 #include <i915_drm.h>
 /**
  * TEST: i915 getparams basic
- * Category: Infrastructure
  * Description: Tests the export of parameters via DRM_IOCTL_I915_GETPARAM
- * Feature: gem_core
- * Functionality: device topology
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: device topology
+ * Feature: gem_core
  * Test category: GEM_Legacy
  *
  * SUBTEST: basic-eu-total
diff --git a/tests/intel/i915_hangman.c b/tests/intel/i915_hangman.c
index 47bc4cdd2..4a03917dc 100644
--- a/tests/intel/i915_hangman.c
+++ b/tests/intel/i915_hangman.c
@@ -42,11 +42,12 @@
 #include "sw_sync.h"
 /**
  * TEST: i915 hangman
- * Category: Server
  * Description: Tests for hang detection and recovery
- * Feature: reset
- * Functionality: error handling
+ * Category: Server
+ * Mega feature: General Core features
  * Sub-category: Debugging
+ * Functionality: error handling
+ * Feature: reset
  * Test category: GEM_Legacy
  *
  * SUBTEST: detector
diff --git a/tests/intel/i915_module_load.c b/tests/intel/i915_module_load.c
index 6cde9274e..4508b43de 100644
--- a/tests/intel/i915_module_load.c
+++ b/tests/intel/i915_module_load.c
@@ -25,11 +25,12 @@
 #include <sys/utsname.h>
 /**
  * TEST: i915 module load
- * Category: Infrastructure
  * Description: Tests the i915 module loading.
- * Feature: core
- * Functionality: driver handler
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: driver
+ * Functionality: driver handler
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST: load
diff --git a/tests/intel/i915_pciid.c b/tests/intel/i915_pciid.c
index cc62b1947..a66bd5edd 100644
--- a/tests/intel/i915_pciid.c
+++ b/tests/intel/i915_pciid.c
@@ -30,11 +30,12 @@
 #include "intel_chipset.h"
 /**
  * TEST: i915 pciid
- * Category: Infrastructure
  * Description: Check that igt/i915 know about this PCI-ID
- * Feature: core
- * Functionality: device management
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: Core
+ * Functionality: device management
+ * Feature: core
  * Test category: GEM_Legacy
  *
  * SUBTEST:
diff --git a/tests/intel/i915_pm_freq_api.c b/tests/intel/i915_pm_freq_api.c
index 7766be82d..bfcd02e25 100644
--- a/tests/intel/i915_pm_freq_api.c
+++ b/tests/intel/i915_pm_freq_api.c
@@ -12,6 +12,7 @@
  * TEST: i915 pm freq api
  * Description: Test SLPC freq API
  * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: uapi
  * Functionality: slpc
  *
diff --git a/tests/intel/i915_query.c b/tests/intel/i915_query.c
index 6da974fd1..a6e35804b 100644
--- a/tests/intel/i915_query.c
+++ b/tests/intel/i915_query.c
@@ -29,11 +29,12 @@
 #include <limits.h>
 /**
  * TEST: i915 query
- * Category: Infrastructure
  * Description: Testing the i915 query uAPI.
- * Feature: gem_core
- * Functionality: device topology
+ * Category: Infrastructure
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: device topology
+ * Feature: gem_core
  * Test category: GEM_Legacy
  *
  * SUBTEST: engine-info
diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index cdaaaf635..30864a981 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -29,15 +29,17 @@
  *
  * SUBTEST: live
  * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: Selftest subcategory
  * Functionality: live selftest
  * Feature: gem_core
  *
  * SUBTEST: live@active
  * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
  * Functionality: semaphore
  * Test category: i915
- * Sub-category: Synchronization
  *
  * SUBTEST: live@blt
  * Description: Blitter validation
@@ -48,11 +50,12 @@
  * Test category: i915 / HW
  *
  * SUBTEST: live@client
- * Category: Selftest
  * Description: Internal API over blitter
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: blitter api
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: live@coherency
  * Description: Cache management
@@ -64,9 +67,10 @@
  *
  * SUBTEST: live@debugger
  * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Debugging
  * Functionality: device management
  * Test category: debugger
- * Sub-category: Debugging
  *
  * SUBTEST: live@display
  * Category: Selftest
@@ -152,11 +156,12 @@
  * Test category: HW
  *
  * SUBTEST: live@gt_heartbeat
- * Category: Selftest
  * Description: Stall detection interface validation
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Reset
  * Functionality: heartbeat
  * Test category: i915
- * Sub-category: Reset
  *
  * SUBTEST: live@gt_lrc
  * Description: HW isolation and HW context validation
@@ -167,11 +172,12 @@
  * Test category: HW
  *
  * SUBTEST: live@gt_mocs
- * Category: Selftest
  * Description: Verification of mocs registers
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Mocs
  * Functionality: mocs registers
  * Test category: i915 / HW
- * Sub-category: Mocs
  *
  * SUBTEST: live@gt_pm
  * Description: Basic i915 driver module selftests
@@ -181,11 +187,12 @@
  * Functionality: rps, rc6
  *
  * SUBTEST: live@gt_timelines
- * Category: Selftest
  * Description: semaphore tracking
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
  * Functionality: semaphore
  * Test category: i915
- * Sub-category: Synchronization
  *
  * SUBTEST: live@gt_tlb
  * Category: Selftest
@@ -203,43 +210,49 @@
  * Test category: i915
  *
  * SUBTEST: live@gtt_l4wa
- * Category: Selftest
  * Description: Check the L4WA is enabled when it was required
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Workarounds
  * Functionality: L4WA
  * Test category: i915
- * Sub-category: Workarounds
  *
  * SUBTEST: live@guc
  * Category: Selftest
- * Feature: firmware feature
+ * Mega feature: General Core features
  * Sub-category: Firmware
  * Functionality: GUC
+ * Feature: GuC
  * Test category: GuC
  *
  * SUBTEST: live@guc_doorbells
  * Category: Selftest
- * Feature: firmware feature
+ * Mega feature: General Core features
  * Sub-category: Firmware
  * Functionality: GUC
+ * Feature: GuC
  * Test category: GuC
  *
  * SUBTEST: live@guc_hang
  * Category: Selftest
- * Feature: firmware feature
+ * Mega feature: General Core features
  * Sub-category: Firmware
  * Functionality: GUC
+ * Feature: GuC
  * Test category: GuC
  *
  * SUBTEST: live@guc_multi_lrc
  * Category: Selftest
- * Feature: firmware feature
+ * Mega feature: General Core features
  * Sub-category: Firmware
  * Functionality: GUC
+ * Feature: GuC
  * Test category: GuC
  *
  * SUBTEST: live@hangcheck
- * Category: Selftest
  * Description: reset handling after stall detection
+ * Category: Selftest
+ * Mega feature: General Core features
  * Functionality: hangcheck
  * Test category: i915
  * Sub-category: Reset
@@ -293,18 +306,20 @@
  * Test category: i915
  *
  * SUBTEST: live@obj_lock
- * Category: Selftest
  * Description: Validation of per-object locking patterns
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Core
  * Functionality: per-object locking
  * Test category: i915
- * Sub-category: Core
  *
  * SUBTEST: live@objects
- * Category: Selftest
  * Description: User object allocation and isolation checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Core
  * Functionality: buffer management
  * Test category: i915
- * Sub-category: Core
  *
  * SUBTEST: live@perf
  * Category: Selftest
@@ -314,10 +329,11 @@
  * Sub-category: Performance
  *
  * SUBTEST: live@remote_tiles
- * Category: Selftest
  * Description: Tile meta data validation
- * Functionality: meta data
+ * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: MultiTile
+ * Functionality: meta data
  *
  * SUBTEST: live@requests
  * Description: Validation of internal i915 command submission interface
@@ -328,15 +344,17 @@
  * Test category: i915
  *
  * SUBTEST: live@reset
- * Category: Selftest
  * Description: engine/GT resets
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Reset
  * Functionality: engine/GT reset
  * Test category: HW
- * Sub-category: Reset
  *
  * SUBTEST: live@sanitycheck
  * Description: Checks the selftest infrastructure itself
  * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: Core
  * Functionality: sanitycheck
  * Test category: i915
@@ -348,11 +366,12 @@
  * Functionality: scheduler
  *
  * SUBTEST: live@semaphores
- * Category: Selftest
  * Description: GuC semaphore management
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
  * Functionality: semaphore
  * Test category: HW
- * Sub-category: Synchronization
  *
  * SUBTEST: live@slpc
  * Description: Basic i915 driver module selftests
@@ -387,14 +406,17 @@
  * Test category: i915 / HW
  *
  * SUBTEST: live@workarounds
- * Category: Selftest
  * Description: Check workarounds persist or are reapplied after resets and other power management events
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: Workarounds
  * Functionality: driver workarounds
  * Test category: HW
- * Sub-category: Workarounds
  *
  * SUBTEST: mock
  * Category: Selftest
+ * Mega feature: General Core features
+ * Feature: gem_core
  * Sub-category: Selftest subcategory
  * Functionality: mock selftest
  * Feature: gem_core
@@ -408,123 +430,140 @@
  * Test category: DRM
  *
  * SUBTEST: mock@contexts
- * Category: Selftest
  * Description: GEM context internal API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: context
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@dmabuf
- * Category: Selftest
  * Description: dma-buf (buffer management) API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: buffer management
  * Test category: DRM
- * Sub-category: uapi
  *
  * SUBTEST: mock@engine
- * Category: Selftest
  * Description: Engine topology API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: engine topology
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@evict
- * Category: Selftest
  * Description: GTT eviction API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: gtt eviction
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@fence
- * Category: Selftest
  * Description: semaphore API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: semaphore
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@gtt
- * Category: Selftest
  * Description: Virtual address management API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: gtt
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@hugepages
- * Category: Selftest
  * Description: Hugepage API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: huge page
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@memory_region
- * Category: Selftest
  * Description: Memory region API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: memory region
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@objects
- * Category: Selftest
  * Description: Buffer object API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: buffer object
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@phys
- * Category: Selftest
  * Description: legacy physical object API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: physical object
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@requests
- * Category: Selftest
  * Description: Internal command submission API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: requests
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@ring
- * Category: Selftest
  * Description: Ringbuffer management API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: ringbuffer
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@sanitycheck
  * Description: Selftest for the selftest
  * Category: Selftest
+ * Mega feature: General Core features
  * Sub-category: Core
  * Functionality: sanitycheck
  * Test category: i915
  *
  * SUBTEST: mock@scatterlist
- * Category: Selftest
  * Description: Scatterlist API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: scatterlist
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@shmem
- * Category: Selftest
  * Description: SHM utils API checks
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: shm
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@syncmap
- * Category: Selftest
  * Description: API checks for the contracted radixtree
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: contracted radixtree
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@timelines
- * Category: Selftest
  * Description: API checks for semaphore tracking
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: semaphore
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: mock@tlb
  * Category: Selftest
@@ -542,11 +581,12 @@
  * Feature: forcewake
  *
  * SUBTEST: mock@vma
- * Category: Selftest
  * Description: API checks for virtual address management
+ * Category: Selftest
+ * Mega feature: General Core features
+ * Sub-category: uapi
  * Functionality: virtual address
  * Test category: i915
- * Sub-category: uapi
  *
  * SUBTEST: perf
  * Category: Selftest
diff --git a/tests/intel/prime_mmap_kms.c b/tests/intel/prime_mmap_kms.c
index 7759b9469..1f39ba79a 100644
--- a/tests/intel/prime_mmap_kms.c
+++ b/tests/intel/prime_mmap_kms.c
@@ -40,9 +40,10 @@ IGT_TEST_DESCRIPTION(
 /**
  * TEST: prime mmap kms
  * Category: Infrastructure
- * Feature: prime
- * Functionality: prime
+ * Mega feature: General Core features
  * Sub-category: DRM
+ * Functionality: memory management
+ * Feature: prime
  * Test category: GEM_Legacy
  *
  * SUBTEST: buffer-sharing
diff --git a/tests/intel/sysfs_defaults.c b/tests/intel/sysfs_defaults.c
index 0be8232d5..5b37e038d 100644
--- a/tests/intel/sysfs_defaults.c
+++ b/tests/intel/sysfs_defaults.c
@@ -36,9 +36,10 @@
 /**
  * TEST: sysfs defaults
  * Category: Infrastructure
- * Feature: gem_core
- * Functionality: sysfs
+ * Mega feature: General Core features
  * Sub-category: uapi
+ * Functionality: sysfs
+ * Feature: gem_core
  * Test category: GEM_Legacy
  *
  * SUBTEST: readonly
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 08/16] tests/intel: Introduce SysMan Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (6 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 07/16] tests/intel: Add legacy i915 " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-25 17:15   ` Kamil Konieczny
  2024-04-23 10:49 ` [PATCH i-g-t v2 09/16] tests/intel: Add general XE tests to General Core " Katarzyna Piecielska
                   ` (8 subsequent siblings)
  16 siblings, 1 reply; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add tests to SysMan mega feature.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/device_reset.c                   | 3 ++-
 tests/intel/sysfs_heartbeat_interval.c | 7 ++++---
 tests/intel/sysfs_preempt_timeout.c    | 7 ++++---
 tests/intel/sysfs_timeslice_duration.c | 7 ++++---
 tests/intel/xe_sysfs_defaults.c        | 6 ++++--
 tests/intel/xe_sysfs_scheduler.c       | 3 ++-
 6 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/tests/device_reset.c b/tests/device_reset.c
index de1a8a87b..9f77d0fce 100644
--- a/tests/device_reset.c
+++ b/tests/device_reset.c
@@ -38,7 +38,8 @@
  *   Unbinds driver from device, initiates reset then rebinds driver to device
  *   validating device resets
  * Category: Infrastructure
- * Sub-category: SysMan
+ * Mega feature: SysMan
+ * Sub-category: SysMan tests
  * Feature: reset, sriov-reset
  */
 
diff --git a/tests/intel/sysfs_heartbeat_interval.c b/tests/intel/sysfs_heartbeat_interval.c
index 5f82185bc..0af8879f6 100644
--- a/tests/intel/sysfs_heartbeat_interval.c
+++ b/tests/intel/sysfs_heartbeat_interval.c
@@ -43,11 +43,12 @@
 #include "sw_sync.h"
 /**
  * TEST: sysfs heartbeat interval
- * Feature: SMI, cmd_submission
- * Test category: SysMan
- * Sub-category: SysMan
  * Category: Desktop \ Server
+ * Mega feature: SysMan
+ * Sub-category: SysMan tests
  * Functionality: sysfs heartbeat
+ * Feature: SMI, cmd_submission
+ * Test category: SysMan
  *
  * SUBTEST: idempotent
  * Description: Test to check whether the heartbeat parameter reports the values set.
diff --git a/tests/intel/sysfs_preempt_timeout.c b/tests/intel/sysfs_preempt_timeout.c
index 84f8ba7d3..88f2cdfcd 100644
--- a/tests/intel/sysfs_preempt_timeout.c
+++ b/tests/intel/sysfs_preempt_timeout.c
@@ -42,11 +42,12 @@
 #include "sw_sync.h"
 /**
  * TEST: sysfs preempt timeout
- * Feature: SMI, context
- * Test category: SysMan
- * Sub-category: SysMan
  * Category: Desktop \ Server
+ * Mega feature: SysMan
+ * Sub-category: SysMan tests
  * Functionality: sysfs preempt timeout
+ * Feature: SMI, context
+ * Test category: SysMan
  *
  * SUBTEST: idempotent
  * Description: Test to check whether the preempt_timeout parameter reports the
diff --git a/tests/intel/sysfs_timeslice_duration.c b/tests/intel/sysfs_timeslice_duration.c
index b48152ecc..6baa000df 100644
--- a/tests/intel/sysfs_timeslice_duration.c
+++ b/tests/intel/sysfs_timeslice_duration.c
@@ -45,11 +45,12 @@
 #include "sw_sync.h"
 /**
  * TEST: sysfs timeslice duration
+ * Category: Desktop \ Server
+ * Mega feature: SysMan
+ * Sub-category: SysMan tests
+ * Functionality: timeslise sysfs
  * Feature: SMI, cmd_submission
  * Test category: SysMan
- * Functionality: timeslise sysfs
- * Sub-category: SysMan
- * Category: Desktop \ Server
  *
  * SUBTEST: duration
  * Description: Test to measure the timeslice duration by watching the
diff --git a/tests/intel/xe_sysfs_defaults.c b/tests/intel/xe_sysfs_defaults.c
index fd7dea77b..5c5db71a4 100644
--- a/tests/intel/xe_sysfs_defaults.c
+++ b/tests/intel/xe_sysfs_defaults.c
@@ -5,12 +5,14 @@
 
 /**
  * TEST: xe sysfs defaults
+ * Description: check if the sysfs engine .defaults node has all values.
  * Category: Infrastructure
+ * Mega feature: SysMan
+ * Sub-category: SysMan tests
  * Functionality: sysman defaults
- * Sub-category: SysMan
  * Test category: functionality test
+ *
  * SUBTEST: engine-defaults
- * Description: check if the sysfs engine .defaults node has all values.
  */
 
 #include <dirent.h>
diff --git a/tests/intel/xe_sysfs_scheduler.c b/tests/intel/xe_sysfs_scheduler.c
index d1ef422f4..5c4fb1114 100644
--- a/tests/intel/xe_sysfs_scheduler.c
+++ b/tests/intel/xe_sysfs_scheduler.c
@@ -6,7 +6,8 @@
 /**
  * TEST: xe sysfs scheduler
  * Category: Infrastructure
- * Sub-category: SysMan
+ * Mega feature: SysMan
+ * Sub-category: SysMan tests
  * Functionality: scheduler control interface
  *
  * SUBTEST: %s-invalid
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 09/16] tests/intel: Add general XE tests to General Core Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (7 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 08/16] tests/intel: Introduce SysMan " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 10/16] tests/intel: Introduce Performance " Katarzyna Piecielska
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add general XE tests to 'General Core features' mega feature.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/xe_create.c              |  1 +
 tests/intel/xe_debugfs.c             |  3 +-
 tests/intel/xe_dma_buf_sync.c        |  1 +
 tests/intel/xe_drm_fdinfo.c          |  3 +-
 tests/intel/xe_exec_atomic.c         |  1 +
 tests/intel/xe_exec_queue_property.c |  1 +
 tests/intel/xe_huc_copy.c            |  1 +
 tests/intel/xe_intel_bb.c            |  1 +
 tests/intel/xe_live_ktest.c          |  1 +
 tests/intel/xe_module_load.c         |  1 +
 tests/intel/xe_peer2peer.c           |  3 +-
 tests/intel/xe_prime_self_import.c   |  1 +
 tests/intel/xe_query.c               | 66 +++++++++++++++++-----------
 tests/intel/xe_spin_batch.c          |  1 +
 tests/intel/xe_waitfence.c           |  2 +
 15 files changed, 58 insertions(+), 29 deletions(-)

diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
index 6ea5ad38b..037c5f747 100644
--- a/tests/intel/xe_create.c
+++ b/tests/intel/xe_create.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Check bo create ioctl
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: uapi
  */
 
diff --git a/tests/intel/xe_debugfs.c b/tests/intel/xe_debugfs.c
index c5a586e9b..97e267d6c 100644
--- a/tests/intel/xe_debugfs.c
+++ b/tests/intel/xe_debugfs.c
@@ -5,11 +5,12 @@
 
 /**
  * TEST: Check debugfs userspace API
+ * Description: Validate debugfs entries
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: uapi
  * Functionality: debugfs
  * Test category: functionality test
- * Description: Validate debugfs entries
  */
 
 #include <fcntl.h>
diff --git a/tests/intel/xe_dma_buf_sync.c b/tests/intel/xe_dma_buf_sync.c
index b69283093..202a02059 100644
--- a/tests/intel/xe_dma_buf_sync.c
+++ b/tests/intel/xe_dma_buf_sync.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Check dmabuf functionality
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: dmabuf
  * Test category: functionality test
  */
diff --git a/tests/intel/xe_drm_fdinfo.c b/tests/intel/xe_drm_fdinfo.c
index 9e5d0644a..51d2ea368 100644
--- a/tests/intel/xe_drm_fdinfo.c
+++ b/tests/intel/xe_drm_fdinfo.c
@@ -15,10 +15,11 @@
 /**
  * TEST: xe drm fdinfo
  * Description: Read and verify drm client memory consumption using fdinfo
- * Feature: SMI, core
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: driver
  * Functionality: Per client memory statistics
+ * Feature: SMI, core
  * Test category: SysMan
  *
  * SUBTEST: basic
diff --git a/tests/intel/xe_exec_atomic.c b/tests/intel/xe_exec_atomic.c
index d9790da78..4eff16f7a 100644
--- a/tests/intel/xe_exec_atomic.c
+++ b/tests/intel/xe_exec_atomic.c
@@ -15,6 +15,7 @@
 /**
  * TEST: Tests to verify atomic functionality.
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: HW
  * Functionality: intel-bb
  * Test category: functionality test
diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
index 57baae305..a9762efc6 100644
--- a/tests/intel/xe_exec_queue_property.c
+++ b/tests/intel/xe_exec_queue_property.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Basic tests to check exec_queue set/get property functionality
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: uapi
  * Functionality: exec queue set property
  * Test category: functionality test
diff --git a/tests/intel/xe_huc_copy.c b/tests/intel/xe_huc_copy.c
index 339cf6e5f..67c1ad6c0 100644
--- a/tests/intel/xe_huc_copy.c
+++ b/tests/intel/xe_huc_copy.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Test HuC copy firmware.
  * Category: Firmware building block
+ * Mega feature: General Core features
  * Sub-category: Firmware
  * Functionality: huc copy
  * Test category: functionality test
diff --git a/tests/intel/xe_intel_bb.c b/tests/intel/xe_intel_bb.c
index 09164c41f..690576586 100644
--- a/tests/intel/xe_intel_bb.c
+++ b/tests/intel/xe_intel_bb.c
@@ -27,6 +27,7 @@
 /**
  * TEST: Basic tests for intel-bb xe functionality
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: IGT Lib
  * Functionality: intel-bb
  * Test category: functionality test
diff --git a/tests/intel/xe_live_ktest.c b/tests/intel/xe_live_ktest.c
index a894c6257..f3380dc98 100644
--- a/tests/intel/xe_live_ktest.c
+++ b/tests/intel/xe_live_ktest.c
@@ -5,6 +5,7 @@
  * TEST: Xe driver live kunit tests
  * Description: Xe driver live dmabuf unit tests
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: kunit
  * Functionality: kunit test
  * Test category: functionality test
diff --git a/tests/intel/xe_module_load.c b/tests/intel/xe_module_load.c
index 080e12ec8..ce63ab106 100644
--- a/tests/intel/xe_module_load.c
+++ b/tests/intel/xe_module_load.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Tests the xe module loading
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: driver
  * Functionality: module load
  * Test category: functionality test
diff --git a/tests/intel/xe_peer2peer.c b/tests/intel/xe_peer2peer.c
index c63f1e4c4..59ea9964b 100644
--- a/tests/intel/xe_peer2peer.c
+++ b/tests/intel/xe_peer2peer.c
@@ -17,10 +17,11 @@
 
 /**
  * TEST: xe_peer2peer
+ * Description: Peer2peer dma buf copy tests
  * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
  * Functionality: dma buf copy
- * Description: Peer2peer dma buf copy tests
  * Test category: xe
  *
  * SUBTEST: read
diff --git a/tests/intel/xe_prime_self_import.c b/tests/intel/xe_prime_self_import.c
index f47733bb2..10a393811 100644
--- a/tests/intel/xe_prime_self_import.c
+++ b/tests/intel/xe_prime_self_import.c
@@ -28,6 +28,7 @@
 /**
  * TEST: Check whether prime import/export works on the same device
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: DRM
  * Functionality: prime import/export
  * Test category: functionality test
diff --git a/tests/intel/xe_query.c b/tests/intel/xe_query.c
index a5a2dd7d4..de2b13818 100644
--- a/tests/intel/xe_query.c
+++ b/tests/intel/xe_query.c
@@ -6,6 +6,7 @@
 /**
  * TEST: Check device configuration query
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: uapi
  * Functionality: ioctl
  * Description: Acquire configuration data for xe device
@@ -176,10 +177,11 @@ const char *get_topo_name(int value)
  * Test category: functionality test
  *
  * SUBTEST: multigpu-query-engines
- * Category: Hardware building block
  * Description: Display engine classes available for all Xe devices.
- * Test category: functionality test
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
+ * Test category: functionality test
  */
 static void
 test_query_engines(int fd)
@@ -204,10 +206,11 @@ test_query_engines(int fd)
  *	and alignment.
  *
  * SUBTEST: multigpu-query-mem-usage
+ * Description: Display memory information for all Xe devices.
  * Category: Hardware building block
- * Test category: functionality test
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
- * Description: Display memory information for all Xe devices.
+ * Test category: functionality test
  */
 static void
 test_query_mem_regions(int fd)
@@ -269,10 +272,11 @@ test_query_mem_regions(int fd)
  * Description: Display information about available GT components for xe device.
  *
  * SUBTEST: multigpu-query-gt-list
- * Category: Hardware building block
- * Test category: functionality test
  * Description: Display information about GT components for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
+ * Test category: functionality test
  */
 static void
 test_query_gt_list(int fd)
@@ -340,10 +344,11 @@ test_query_gt_list(int fd)
  * Description: Display topology information of GT.
  *
  * SUBTEST: multigpu-query-topology
- * Category: Hardware building block
- * Test category: functionality test
  * Description: Display topology information of GT for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
+ * Test category: functionality test
  */
 static void
 test_query_gt_topology(int fd)
@@ -390,10 +395,11 @@ test_query_gt_topology(int fd)
  * Description: Display xe device id, revision and configuration.
  *
  * SUBTEST: multigpu-query-config
- * Category: Hardware building block
- * Test category: functionality test
  * Description: Display config information for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
+ * Test category: functionality test
  */
 static void
 test_query_config(int fd)
@@ -445,10 +451,11 @@ test_query_config(int fd)
  * Description: Display hardware configuration of xe device.
  *
  * SUBTEST: multigpu-query-hwconfig
- * Category: Hardware building block
- * Test category: functionality test
  * Description: Display hardware configuration for all Xe devices.
+ * Category: Hardware building block
  * Sub-category: MultiGPU
+ * Mega feature: General Core features
+ * Test category: functionality test
  */
 static void
 test_query_hwconfig(int fd)
@@ -485,10 +492,11 @@ test_query_hwconfig(int fd)
  * Description: Check query with invalid arguments returns expected error code.
  *
  * SUBTEST: multigpu-query-invalid-query
- * Category: Hardware building block
- * Test category: negative test
  * Description: Check query with invalid arguments for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
+ * Test category: negative test
  */
 static void
 test_query_invalid_query(int fd)
@@ -509,10 +517,11 @@ test_query_invalid_query(int fd)
  * Description: Check query with invalid size returns expected error code.
  *
  * SUBTEST: multigpu-query-invalid-size
- * Category: Hardware building block
- * Test category: negative test
  * Description: Check query with invalid size for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
+ * Test category: negative test
  */
 static void
 test_query_invalid_size(int fd)
@@ -533,10 +542,11 @@ test_query_invalid_size(int fd)
  * Description: Check query with invalid extension returns expected error code.
  *
  * SUBTEST: multigpu-query-invalid-extension
- * Category: Hardware building block
- * Test category: negative test
  * Description: Check query with invalid extension for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
+ * Test category: negative test
  */
 static void
 test_query_invalid_extension(int fd)
@@ -698,8 +708,9 @@ __engine_cycles(int fd, struct drm_xe_engine_class_instance *hwe)
  * Description: Query CPU-GPU timestamp correlation
  *
  * SUBTEST: multigpu-query-cs-cycles
- * Category: Hardware building block
  * Description: Query CPU-GPU timestamp correlation for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
  */
 static void test_query_engine_cycles(int fd)
@@ -719,8 +730,9 @@ static void test_query_engine_cycles(int fd)
  * Description: Check query with invalid arguments returns expected error code.
  *
  * SUBTEST: multigpu-query-invalid-cs-cycles
- * Category: Hardware building block
  * Description: Check query with invalid arguments for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
  * Sub-category: MultiGPU
  */
 static void test_engine_cycles_invalid(int fd)
@@ -833,9 +845,10 @@ test_query_uc_fw_version(int fd, uint32_t uc_type)
  * Description: Display the GuC firmware submission version
  *
  * SUBTEST: multigpu-query-uc-fw-version-guc
- * Test category: functionality test
- * Sub-category: MultiGPU
  * Description: Display GuC firmware submission version for all Xe devices.
+ * Mega feature: General Core features
+ * Sub-category: MultiGPU
+ * Test category: functionality test
  */
 static void
 test_query_uc_fw_version_guc(int fd)
@@ -849,9 +862,10 @@ test_query_uc_fw_version_guc(int fd)
  * Description: Check query with invalid arguments returns expected error code.
  *
  * SUBTEST: multigpu-query-invalid-uc-fw-version-mbz
- * Test category: functionality test
- * Sub-category: MultiGPU
  * Description: Check query with invalid arguments for all Xe devices.
+ * Mega feature: General Core features
+ * Sub-category: MultiGPU
+ * Test category: functionality test
  */
 static void
 test_query_uc_fw_version_invalid_mbz(int fd)
@@ -898,9 +912,9 @@ test_query_uc_fw_version_invalid_mbz(int fd)
  * Description: Display the HuC firmware version
  *
  * SUBTEST: multigpu-query-uc-fw-version-huc
- * Test category: functionality test
- * Sub-category: MultiGPU
  * Description: Display HuC firmware version for all Xe devices.
+ * Sub-category: MultiGPU
+ * Test category: functionality test
  */
 static void
 test_query_uc_fw_version_huc(int fd)
diff --git a/tests/intel/xe_spin_batch.c b/tests/intel/xe_spin_batch.c
index 68cbd1bd1..66ed0b77e 100644
--- a/tests/intel/xe_spin_batch.c
+++ b/tests/intel/xe_spin_batch.c
@@ -9,6 +9,7 @@
 /**
  * TEST: Tests for spin batch submissons.
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: IGT Lib
  * Functionality: parallel execution
  * Test category: functionality test
diff --git a/tests/intel/xe_waitfence.c b/tests/intel/xe_waitfence.c
index 45378d95d..6916694f9 100644
--- a/tests/intel/xe_waitfence.c
+++ b/tests/intel/xe_waitfence.c
@@ -16,6 +16,7 @@
 /**
  * TEST: Check if waitfences work
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: Synchronization
  * Functionality: waitfence
  * Test category: functionality test
@@ -140,6 +141,7 @@ waitfence(int fd, enum waittype wt)
 /**
  * TEST: Negative test for wait ufence ioctl
  * Category: Software building block
+ * Mega feature: General Core features
  * Sub-category: Synchronization
  * Functionality: waitfence
  * Test category: negative test
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 10/16] tests/intel: Introduce Performance Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (8 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 09/16] tests/intel: Add general XE tests to General Core " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 11/16] tests/intel: Introduce Compression " Katarzyna Piecielska
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add mega feature to Performance tests.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

v2: Move gem_ctx_freq to Power management (Sandeep)

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/i915_selftest.c | 43 +++++++++++++++++++++----------------
 tests/intel/perf.c          |  7 +++---
 tests/intel/perf_pmu.c      |  7 +++---
 3 files changed, 33 insertions(+), 24 deletions(-)

diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index 30864a981..a5e5059bf 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -322,11 +322,12 @@
  * Test category: i915
  *
  * SUBTEST: live@perf
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: live@remote_tiles
  * Description: Tile meta data validation
@@ -590,42 +591,48 @@
  *
  * SUBTEST: perf
  * Category: Selftest
- * Feature: i915 perf selftests
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: oa
- * Sub-category: Performance
+ * Feature: oa
  *
  * SUBTEST: perf@blt
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: perf@engine_cs
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: perf@region
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: perf@request
- * Category: Selftest
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
  *
  * SUBTEST: perf@scheduler
- * Category: Selftest
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
  */
 
 IGT_TEST_DESCRIPTION("Basic unit tests for i915.ko");
diff --git a/tests/intel/perf.c b/tests/intel/perf.c
index 7a63a3bdd..e1776812e 100644
--- a/tests/intel/perf.c
+++ b/tests/intel/perf.c
@@ -48,11 +48,12 @@
 /**
  * TEST: perf
  * Description: Test the i915 perf metrics streaming interface
+ * Category: Desktop client
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
+ * Functionality: oa
  * Feature: i915 streaming interface, oa
  * Test category: Perf
- * Functionality: oa
- * Sub-category: Performance
- * Category: Desktop client
  *
  * SUBTEST: blocking
  * Description: Test blocking read with default hrtimer frequency
diff --git a/tests/intel/perf_pmu.c b/tests/intel/perf_pmu.c
index e3d2f4664..7a92d5c1d 100644
--- a/tests/intel/perf_pmu.c
+++ b/tests/intel/perf_pmu.c
@@ -52,11 +52,12 @@
 /**
  * TEST: perf pmu
  * Description: Test the i915 pmu perf interface
- * Feature: i915 pmu perf interface, pmu feature
- * Test category: Perf
- * Sub-category: Performance
  * Category: Desktop client
+ * Mega feature: Performance interface
+ * Sub-category: Performance tests
  * Functionality: pmu
+ * Feature: i915 pmu perf interface, pmu
+ * Test category: Perf
  *
  * SUBTEST: all-busy-check-all
  * Description: Test the i915 pmu perf interface
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 11/16] tests/intel: Introduce Compression Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (9 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 10/16] tests/intel: Introduce Performance " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 12/16] tests/intel: Introduce Render " Katarzyna Piecielska
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add Compression mega feature to FlatCCS tests.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_ccs.c      | 5 +++--
 tests/intel/xe_evict_ccs.c | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/intel/gem_ccs.c b/tests/intel/gem_ccs.c
index a8e7e8a74..9b523dfec 100644
--- a/tests/intel/gem_ccs.c
+++ b/tests/intel/gem_ccs.c
@@ -19,10 +19,11 @@
 /**
  * TEST: gem ccs
  * Description: Exercise gen12 blitter with and without flatccs compression
- * Feature: flat_ccs_mapping
- * Sub-category: Flat-ccs
  * Category: Desktop \ Server
+ * Mega feature: Compression
+ * Sub-category: Flat-ccs tests
  * Functionality: block-copy
+ * Feature: flat_ccs_mapping
  *
  * SUBTEST: block-copy-compressed
  * Description: Check block-copy flatccs compressed blit
diff --git a/tests/intel/xe_evict_ccs.c b/tests/intel/xe_evict_ccs.c
index 8e43f691d..34b59cb96 100644
--- a/tests/intel/xe_evict_ccs.c
+++ b/tests/intel/xe_evict_ccs.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check flat-ccs eviction
  * Category: Software building block
- * Sub-category: Flat-ccs
+ * Mega feature: Compression
+ * Sub-category: Flat-ccs tests
  * Functionality: ccs-evict
  * GPU requirements: GPU needs to have dedicated VRAM
  */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 12/16] tests/intel: Introduce Render Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (10 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 11/16] tests/intel: Introduce Compression " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-25 17:07   ` Kamil Konieczny
  2024-04-23 10:49 ` [PATCH i-g-t v2 13/16] tests/intel: Add GPGPU tests to Compute " Katarzyna Piecielska
                   ` (4 subsequent siblings)
  16 siblings, 1 reply; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add mega feature to Render tests.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_render_copy.c       | 5 +++--
 tests/intel/gem_render_copy_redux.c | 3 ++-
 tests/intel/xe_render_copy.c        | 1 +
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/tests/intel/gem_render_copy.c b/tests/intel/gem_render_copy.c
index 0b5a0ac4a..e9a82c465 100644
--- a/tests/intel/gem_render_copy.c
+++ b/tests/intel/gem_render_copy.c
@@ -51,10 +51,11 @@
 /**
  * TEST: gem render copy
  * Description: Basic test for the render_copy() function.
- * Feature: mapping
- * Sub-category: Render copy
  * Category: Desktop client
+ * Mega feature: Render
+ * Sub-category: Render copy
  * Functionality: render_copy
+ * Feature: mapping
  *
  * SUBTEST: linear
  * Description: Test render_copy() from a mixed-tiled to a linear buffer.
diff --git a/tests/intel/gem_render_copy_redux.c b/tests/intel/gem_render_copy_redux.c
index 60366fd42..6dcd3145d 100644
--- a/tests/intel/gem_render_copy_redux.c
+++ b/tests/intel/gem_render_copy_redux.c
@@ -51,8 +51,9 @@
 /**
  * TEST: gem render copy redux
  * Description: Advanced test for the render_copy() function.
- * Sub-category: Render copy
  * Category: Desktop client
+ * Mega feature: Render
+ * Sub-category: Render copy
  * Functionality: render_copy
  *
  * SUBTEST: flink
diff --git a/tests/intel/xe_render_copy.c b/tests/intel/xe_render_copy.c
index 4f98cb7df..184662a17 100644
--- a/tests/intel/xe_render_copy.c
+++ b/tests/intel/xe_render_copy.c
@@ -18,6 +18,7 @@
 /**
  * TEST: Copy memory using 3d engine
  * Category: Software building block
+ * Mega feature: Render
  * Sub-category: 3d
  * Functionality: render
  * Test category: functionality test
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 13/16] tests/intel: Add GPGPU tests to Compute Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (11 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 12/16] tests/intel: Introduce Render " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 14/16] tests/intel: Introduce Media " Katarzyna Piecielska
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add GPGPU tests to Compute mega feature.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_gpgpu_fill.c | 3 ++-
 tests/intel/xe_gpgpu_fill.c  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/intel/gem_gpgpu_fill.c b/tests/intel/gem_gpgpu_fill.c
index 14811abce..3c03c7e70 100644
--- a/tests/intel/gem_gpgpu_fill.c
+++ b/tests/intel/gem_gpgpu_fill.c
@@ -51,8 +51,9 @@
 /**
  * TEST: gem gpgpu fill
  * Category: Server
+ * Mega feature: Compute
+ * Sub-category: GPGPU tests
  * Functionality: gpgpu_fill
- * Sub-category: GPGPU
  * Test category: GEM_Legacy
  * Feature: compute
  *
diff --git a/tests/intel/xe_gpgpu_fill.c b/tests/intel/xe_gpgpu_fill.c
index a359f9f55..1d2aafbf2 100644
--- a/tests/intel/xe_gpgpu_fill.c
+++ b/tests/intel/xe_gpgpu_fill.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Basic tests for gpgpu functionality
  * Category: Software building block
- * Sub-category: GPGPU
+ * Mega feature: Compute
+ * Sub-category: GPGPU tests
  * Functionality: gpgpu_fill
  * Test category: functionality test
  */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 14/16] tests/intel: Introduce Media Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (12 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 13/16] tests/intel: Add GPGPU tests to Compute " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 15/16] tests/intel: Introduce RAS " Katarzyna Piecielska
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add mega feature to Media tests.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/gem_media_fill.c | 7 ++++---
 tests/intel/gem_media_vme.c  | 5 +++--
 tests/intel/xe_media_fill.c  | 9 +++++----
 3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/tests/intel/gem_media_fill.c b/tests/intel/gem_media_fill.c
index e9455df9e..e22565b86 100644
--- a/tests/intel/gem_media_fill.c
+++ b/tests/intel/gem_media_fill.c
@@ -48,10 +48,11 @@
 /**
  * TEST: gem media fill
  * Description: Basic test for the media_fill() function, a very simple workload for the Media pipeline.
- * Feature: media feature
- * Sub-category: Media
  * Category: Desktop client
- * Functionality: fill media
+ * Mega feature: Media
+ * Sub-category: Media tests
+ * Functionality: fill surface with media block
+ * Feature: media
  *
  * SUBTEST: media-fill
  */
diff --git a/tests/intel/gem_media_vme.c b/tests/intel/gem_media_vme.c
index 89ce8c55d..1ec4d4492 100644
--- a/tests/intel/gem_media_vme.c
+++ b/tests/intel/gem_media_vme.c
@@ -38,10 +38,11 @@
 /**
  * TEST: gem media vme
  * Description: A very simple workload for the VME media block.
- * Feature: media feature
- * Sub-category: Media
  * Category: Desktop client
+ * Mega feature: Media
+ * Sub-category: Media tests
  * Functionality: vme media block
+ * Feature: media
  *
  * SUBTEST:
  */
diff --git a/tests/intel/xe_media_fill.c b/tests/intel/xe_media_fill.c
index e6b5aaf73..1adafee4f 100644
--- a/tests/intel/xe_media_fill.c
+++ b/tests/intel/xe_media_fill.c
@@ -27,11 +27,12 @@
 
 /**
  * TEST: xe media fill
- * Category: Hardware building block
- * Sub-category: Media
- * Functionality: fill media
  * Description: Basic tests for the media_fill() function.
- * Feature: media feature
+ * Category: Hardware building block
+ * Mega feature: Media
+ * Sub-category: Media tests
+ * Functionality: fill surface with media block
+ * Feature: media
  * Test category: functionality test
  *
  * SUBTEST: media-fill
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 15/16] tests/intel: Introduce RAS Mega feature
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (13 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 14/16] tests/intel: Introduce Media " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-23 10:49 ` [PATCH i-g-t v2 16/16] tests/intel: Add display tests to General Display Features Katarzyna Piecielska
  2024-04-25 15:36 ` [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Mauro Carvalho Chehab
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add mega feature to RAS tests.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/intel_hwmon.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/intel/intel_hwmon.c b/tests/intel/intel_hwmon.c
index 7c6ee0100..448f780d4 100644
--- a/tests/intel/intel_hwmon.c
+++ b/tests/intel/intel_hwmon.c
@@ -12,7 +12,8 @@
  * TEST: intel hwmon
  * Description: Tests for intel hwmon
  * Category: Software Building Block
- * Sub-category: RAS
+ * Mega feature: RAS
+ * Sub-category: RAS tests
  * Functionality: hwmon
  * Test category: functionality
  *
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [PATCH i-g-t v2 16/16] tests/intel: Add display tests to General Display Features
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (14 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 15/16] tests/intel: Introduce RAS " Katarzyna Piecielska
@ 2024-04-23 10:49 ` Katarzyna Piecielska
  2024-04-25 15:36 ` [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Mauro Carvalho Chehab
  16 siblings, 0 replies; 25+ messages in thread
From: Katarzyna Piecielska @ 2024-04-23 10:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Kamil Konieczny, Mauro Carvalho Chehab,
	Aditya Chauhan, Girotra Himanshu, Sandeep Kumar Parupalli

Add display tests to General Display Features.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan@intel.com>
Cc: Girotra Himanshu <himanshu.girotra@intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
---
 tests/intel/i915_pipe_stress.c | 4 ++--
 tests/intel/i915_selftest.c    | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/intel/i915_pipe_stress.c b/tests/intel/i915_pipe_stress.c
index de4df830f..203eb46a3 100644
--- a/tests/intel/i915_pipe_stress.c
+++ b/tests/intel/i915_pipe_stress.c
@@ -20,13 +20,13 @@
 #include "i915/gem.h"
 /**
  * TEST: i915 pipe stress
- * Category: Display
  * Description: Stress test how gpu and cpu behaves if maximum amount of
  *              planes, cpu and gpu utilization is achieved in order to reveal
  *              possible bandwidth/watermark and similar problems.
- * Functionality: kms_core
+ * Category: Display
  * Mega feature: General Display Features
  * Sub-category: Display Tests
+ * Functionality: kms_core
  * Test category: stress test
  *
  * SUBTEST: stress-xrgb8888-untiled
diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index a5e5059bf..5f0bd30b8 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -74,9 +74,10 @@
  *
  * SUBTEST: live@display
  * Category: Selftest
+ * Mega feature: General Display Features
+ * Sub-category: Display tests
  * Functionality: display sanity
  * Test category: i915
- * Sub-category: Display tests
  *
  * SUBTEST: live@dmabuf
  * Category: Selftest
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests
  2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
                   ` (15 preceding siblings ...)
  2024-04-23 10:49 ` [PATCH i-g-t v2 16/16] tests/intel: Add display tests to General Display Features Katarzyna Piecielska
@ 2024-04-25 15:36 ` Mauro Carvalho Chehab
  2024-04-25 17:29   ` Kamil Konieczny
  16 siblings, 1 reply; 25+ messages in thread
From: Mauro Carvalho Chehab @ 2024-04-25 15:36 UTC (permalink / raw)
  To: Katarzyna Piecielska
  Cc: igt-dev, Kamil Konieczny, Aditya Chauhan, Girotra Himanshu,
	Sandeep Kumar Parupalli

On Tue, 23 Apr 2024 10:48:57 +0000
Katarzyna Piecielska <katarzyna.piecielska@intel.com> wrote:

> After Xe and i915 test documentation alignment there is now time to
> add Mega feature field. After live review of v1 we decided to reduce
> number of Mega feature values:
> 
>  - General Core features will cover:
> 	legacy and DRIVER_ANY tests
> 	legacy and DRIVER_INTEL i915 tests
> 	general Xe tests
> 	Blitter tests
> 	Command Submission tests
> 	Memory management tests, VMA,
>  - Compute
> 	Compute tests
> 	GPGPU tests
>  - Compression
> 	FlatCCS tests
>  - Media
> 	Media tests
>  - Performance interface
> 	Performance interface tests
>  - Power management
> 	Power management tests
>  - RAS
> 	RAS tests
>  - Render
> 	Render copy, 3d
>  - SysMan
> 	SysMan tests
> 
> Also adding missing Mega feature to Display tests: General Display
> Features.

Those are the feature-mapping warnings after applying this series

- for Xe:

WARNING: feature Blitter has multiple parents: Hardware building block and Software building block
WARNING: feature Power management has multiple parents: Infrastructure and Software building block
WARNING: feature driver has multiple parents: Software building block and Hardware building block
WARNING: feature RAS has multiple parents: Software Building Block and Hardware building block
WARNING: feature CMD submission has multiple parents: Hardware building block and Software building block
WARNING: feature MultiGPU has multiple parents: Hardware building block and Software building block
WARNING: feature compute is duplicated at Functionality and Sub-category
WARNING: feature compute has multiple parents: CMD submission and Hardware building block
WARNING: feature compute has multiple hierarchical levels: 3 and 2

- for i915:

WARNING: feature CMD submission has multiple parents: None and Infrastructure
WARNING: feature CMD submission has multiple hierarchical levels: 1 and 2
WARNING: feature Memory management has multiple parents: Server and None
WARNING: feature Memory management has multiple hierarchical levels: 2 and 1
WARNING: feature Power management has multiple parents: Firmware and None
WARNING: feature Power management has multiple hierarchical levels: 2 and 1
WARNING: feature SysMan has multiple parents: None and Desktop \ Server
WARNING: feature SysMan has multiple hierarchical levels: 1 and 2
WARNING: feature uapi has multiple parents: Infrastructure and None
WARNING: feature uapi has multiple hierarchical levels: 2 and 1
WARNING: feature driver handler has multiple parents: CMD submission and driver
WARNING: feature buffer management has multiple parents: Memory management and DRM
WARNING: feature Blitter is duplicated at Functionality and Sub-category
WARNING: feature Blitter has multiple parents: blitter and None
WARNING: feature Blitter has multiple hierarchical levels: 2 and 1
WARNING: feature Context has multiple parents: Desktop client and Infrastructure
WARNING: feature Performance has multiple parents: Server and None
WARNING: feature Performance has multiple hierarchical levels: 2 and 1
WARNING: feature Display has multiple parents: None and Selftest
WARNING: feature Display has multiple hierarchical levels: 1 and 2
WARNING: feature CMD Submission has multiple parents: None and Selftest
WARNING: feature CMD Submission has multiple hierarchical levels: 1 and 2
WARNING: feature SR-IOV has multiple parents: Desktop \ Server and HW
WARNING: feature driver has multiple parents: Infrastructure and None
WARNING: feature driver has multiple hierarchical levels: 2 and 1
WARNING: feature DRM has multiple parents: Desktop client and Infrastructure

> 
> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
> Cc: Aditya Chauhan <aditya.chauhan@intel.com>
> Cc: Girotra Himanshu <himanshu.girotra@intel.com>
> CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
> 
> Katarzyna Piecielska (16):
>   tests/intel: Introduce General Core Mega feature
>   tests: Add Memory management tests to General Core Mega feature
>   tests/intel: Add Blitter tests to General Core Mega feature
>   tests/intel: Introduce Power management Mega feature
>   tests/intel: Introduce Compute Mega feature
>   tests: Add DRIVER_ANY tests to General Core Mega feature
>   tests/intel: Add legacy i915 tests to General Core Mega feature
>   tests/intel: Introduce SysMan Mega feature
>   tests/intel: Add general XE tests to General Core Mega feature
>   tests/intel: Introduce Performance Mega feature
>   tests/intel: Introduce Compression Mega feature
>   tests/intel: Introduce Render Mega feature
>   tests/intel: Add GPGPU tests to Compute Mega feature
>   tests/intel: Introduce Media Mega feature
>   tests/intel: Introduce RAS Mega feature
>   tests/intel: Add display tests to General Display Features
> 
>  tests/core_auth.c                            |   7 +-
>  tests/core_getclient.c                       |   7 +-
>  tests/core_getstats.c                        |   7 +-
>  tests/core_getversion.c                      |   7 +-
>  tests/core_hotunplug.c                       |   5 +-
>  tests/core_setmaster.c                       |   7 +-
>  tests/core_setmaster_vs_auth.c               |   7 +-
>  tests/device_reset.c                         |  11 +-
>  tests/dmabuf.c                               |   4 +-
>  tests/drm_mm.c                               |   5 +-
>  tests/dumb_buffer.c                          |   7 +-
>  tests/intel/api_intel_allocator.c            |   5 +-
>  tests/intel/api_intel_bb.c                   |   7 +-
>  tests/intel/debugfs_test.c                   |   5 +-
>  tests/intel/drm_fdinfo.c                     |   7 +-
>  tests/intel/gem_bad_reloc.c                  |   5 +-
>  tests/intel/gem_barrier_race.c               |   1 +
>  tests/intel/gem_basic.c                      |   5 +-
>  tests/intel/gem_blits.c                      |   5 +-
>  tests/intel/gem_busy.c                       |   3 +-
>  tests/intel/gem_caching.c                    |   7 +-
>  tests/intel/gem_ccs.c                        |   5 +-
>  tests/intel/gem_close.c                      |   5 +-
>  tests/intel/gem_close_race.c                 |   5 +-
>  tests/intel/gem_compute.c                    |   5 +-
>  tests/intel/gem_create.c                     |   5 +-
>  tests/intel/gem_cs_tlb.c                     |   7 +-
>  tests/intel/gem_ctx_bad_destroy.c            |   7 +-
>  tests/intel/gem_ctx_create.c                 |   5 +-
>  tests/intel/gem_ctx_engines.c                |   5 +-
>  tests/intel/gem_ctx_exec.c                   |   5 +-
>  tests/intel/gem_ctx_freq.c                   |   5 +-
>  tests/intel/gem_ctx_isolation.c              |   5 +-
>  tests/intel/gem_ctx_param.c                  |   5 +-
>  tests/intel/gem_ctx_persistence.c            |   5 +-
>  tests/intel/gem_ctx_shared.c                 |   5 +-
>  tests/intel/gem_ctx_sseu.c                   |   5 +-
>  tests/intel/gem_ctx_switch.c                 |   1 +
>  tests/intel/gem_eio.c                        |   5 +-
>  tests/intel/gem_evict_alignment.c            |   3 +-
>  tests/intel/gem_evict_everything.c           |   3 +-
>  tests/intel/gem_exec_alignment.c             |   7 +-
>  tests/intel/gem_exec_async.c                 |   5 +-
>  tests/intel/gem_exec_await.c                 |   5 +-
>  tests/intel/gem_exec_balancer.c              |   5 +-
>  tests/intel/gem_exec_basic.c                 |   5 +-
>  tests/intel/gem_exec_big.c                   |   3 +-
>  tests/intel/gem_exec_capture.c               |   5 +-
>  tests/intel/gem_exec_create.c                |   5 +-
>  tests/intel/gem_exec_endless.c               |   1 +
>  tests/intel/gem_exec_fair.c                  |   5 +-
>  tests/intel/gem_exec_fence.c                 |   5 +-
>  tests/intel/gem_exec_flush.c                 |   1 +
>  tests/intel/gem_exec_gttfill.c               |   5 +-
>  tests/intel/gem_exec_latency.c               |   3 +-
>  tests/intel/gem_exec_lut_handle.c            |   3 +-
>  tests/intel/gem_exec_nop.c                   |   5 +-
>  tests/intel/gem_exec_parallel.c              |   6 +-
>  tests/intel/gem_exec_params.c                |   5 +-
>  tests/intel/gem_exec_reloc.c                 |   3 +-
>  tests/intel/gem_exec_schedule.c              |   5 +-
>  tests/intel/gem_exec_store.c                 |   7 +-
>  tests/intel/gem_exec_suspend.c               |   5 +-
>  tests/intel/gem_exec_whisper.c               |   3 +-
>  tests/intel/gem_exercise_blt.c               |   5 +-
>  tests/intel/gem_fd_exhaustion.c              |   3 +-
>  tests/intel/gem_fence_thrash.c               |   5 +-
>  tests/intel/gem_fence_upload.c               |   3 +-
>  tests/intel/gem_fenced_exec_thrash.c         |   1 +
>  tests/intel/gem_flink_basic.c                |   7 +-
>  tests/intel/gem_flink_race.c                 |   7 +-
>  tests/intel/gem_gpgpu_fill.c                 |   3 +-
>  tests/intel/gem_gtt_cpu_tlb.c                |   8 +-
>  tests/intel/gem_gtt_hog.c                    |   3 +-
>  tests/intel/gem_gtt_speed.c                  |   3 +-
>  tests/intel/gem_huc_copy.c                   |   7 +-
>  tests/intel/gem_linear_blits.c               |   7 +-
>  tests/intel/gem_lmem_evict.c                 |   5 +-
>  tests/intel/gem_lmem_swapping.c              |   7 +-
>  tests/intel/gem_lut_handle.c                 |   3 +-
>  tests/intel/gem_madvise.c                    |   7 +-
>  tests/intel/gem_media_fill.c                 |   7 +-
>  tests/intel/gem_media_vme.c                  |   5 +-
>  tests/intel/gem_mmap.c                       |   7 +-
>  tests/intel/gem_mmap_gtt.c                   |   5 +-
>  tests/intel/gem_mmap_offset.c                |   5 +-
>  tests/intel/gem_mmap_wc.c                    |   5 +-
>  tests/intel/gem_partial_pwrite_pread.c       |   5 +-
>  tests/intel/gem_pipe_control_store_loop.c    |   5 +-
>  tests/intel/gem_ppgtt.c                      |   5 +-
>  tests/intel/gem_pread.c                      |   5 +-
>  tests/intel/gem_pread_after_blit.c           |   3 +-
>  tests/intel/gem_pwrite.c                     |   3 +-
>  tests/intel/gem_pwrite_snooped.c             |   1 +
>  tests/intel/gem_pxp.c                        |   7 +-
>  tests/intel/gem_read_read_speed.c            |   3 +-
>  tests/intel/gem_readwrite.c                  |   5 +-
>  tests/intel/gem_reg_read.c                   |   5 +-
>  tests/intel/gem_render_copy.c                |   5 +-
>  tests/intel/gem_render_copy_redux.c          |   3 +-
>  tests/intel/gem_render_linear_blits.c        |   5 +-
>  tests/intel/gem_render_tiled_blits.c         |   5 +-
>  tests/intel/gem_request_retire.c             |   7 +-
>  tests/intel/gem_reset_stats.c                |   5 +-
>  tests/intel/gem_ringfill.c                   |   7 +-
>  tests/intel/gem_set_tiling_vs_blt.c          |   7 +-
>  tests/intel/gem_set_tiling_vs_gtt.c          |   5 +-
>  tests/intel/gem_set_tiling_vs_pwrite.c       |   5 +-
>  tests/intel/gem_shrink.c                     |   3 +-
>  tests/intel/gem_softpin.c                    |   7 +-
>  tests/intel/gem_spin_batch.c                 |   7 +-
>  tests/intel/gem_streaming_writes.c           |   3 +-
>  tests/intel/gem_stress.c                     |   1 +
>  tests/intel/gem_sync.c                       |   7 +-
>  tests/intel/gem_tiled_blits.c                |   5 +-
>  tests/intel/gem_tiled_fence_blits.c          |   5 +-
>  tests/intel/gem_tiled_partial_pwrite_pread.c |   5 +-
>  tests/intel/gem_tiled_pread_basic.c          |   5 +-
>  tests/intel/gem_tiled_pread_pwrite.c         |   5 +-
>  tests/intel/gem_tiled_swapping.c             |   5 +-
>  tests/intel/gem_tiled_wb.c                   |   5 +-
>  tests/intel/gem_tiled_wc.c                   |   5 +-
>  tests/intel/gem_tiling_max_stride.c          |   5 +-
>  tests/intel/gem_unfence_active_buffers.c     |   5 +-
>  tests/intel/gem_unref_active_buffers.c       |   7 +-
>  tests/intel/gem_userptr_blits.c              |   5 +-
>  tests/intel/gem_vm_create.c                  |   3 +-
>  tests/intel/gem_wait.c                       |   9 +-
>  tests/intel/gem_watchdog.c                   |   5 +-
>  tests/intel/gem_workarounds.c                |   5 +-
>  tests/intel/gen3_mixed_blits.c               |   1 +
>  tests/intel/gen3_render_linear_blits.c       |   1 +
>  tests/intel/gen3_render_mixed_blits.c        |   1 +
>  tests/intel/gen3_render_tiledx_blits.c       |   1 +
>  tests/intel/gen3_render_tiledy_blits.c       |   1 +
>  tests/intel/gen7_exec_parse.c                |   3 +-
>  tests/intel/gen9_exec_parse.c                |   7 +-
>  tests/intel/i915_fb_tiling.c                 |   5 +-
>  tests/intel/i915_getparams_basic.c           |   7 +-
>  tests/intel/i915_hangman.c                   |   7 +-
>  tests/intel/i915_module_load.c               |   7 +-
>  tests/intel/i915_pciid.c                     |   7 +-
>  tests/intel/i915_pipe_stress.c               |   4 +-
>  tests/intel/i915_pm_freq_api.c               |   1 +
>  tests/intel/i915_pm_freq_mult.c              |   7 +-
>  tests/intel/i915_pm_rc6_residency.c          |   7 +-
>  tests/intel/i915_pm_rpm.c                    |   7 +-
>  tests/intel/i915_pm_rps.c                    |   7 +-
>  tests/intel/i915_pm_sseu.c                   |   5 +-
>  tests/intel/i915_power.c                     |   7 +-
>  tests/intel/i915_query.c                     |   7 +-
>  tests/intel/i915_selftest.c                  | 370 +++++++++++--------
>  tests/intel/i915_suspend.c                   |   8 +-
>  tests/intel/intel_hwmon.c                    |   3 +-
>  tests/intel/perf.c                           |   7 +-
>  tests/intel/perf_pmu.c                       |   7 +-
>  tests/intel/prime_busy.c                     |   7 +-
>  tests/intel/prime_mmap.c                     |   7 +-
>  tests/intel/prime_mmap_coherency.c           |   7 +-
>  tests/intel/prime_mmap_kms.c                 |   5 +-
>  tests/intel/prime_self_import.c              |   7 +-
>  tests/intel/sysfs_defaults.c                 |   5 +-
>  tests/intel/sysfs_heartbeat_interval.c       |   7 +-
>  tests/intel/sysfs_preempt_timeout.c          |   7 +-
>  tests/intel/sysfs_timeslice_duration.c       |   7 +-
>  tests/intel/xe_ccs.c                         |   3 +-
>  tests/intel/xe_compute.c                     |   3 +-
>  tests/intel/xe_compute_preempt.c             |   3 +-
>  tests/intel/xe_copy_basic.c                  |   3 +-
>  tests/intel/xe_create.c                      |   1 +
>  tests/intel/xe_debugfs.c                     |   3 +-
>  tests/intel/xe_dma_buf_sync.c                |   1 +
>  tests/intel/xe_drm_fdinfo.c                  |   3 +-
>  tests/intel/xe_evict.c                       |   2 +
>  tests/intel/xe_evict_ccs.c                   |   3 +-
>  tests/intel/xe_exec_atomic.c                 |   1 +
>  tests/intel/xe_exec_balancer.c               |   2 +-
>  tests/intel/xe_exec_basic.c                  |   1 +
>  tests/intel/xe_exec_compute_mode.c           |   1 +
>  tests/intel/xe_exec_fault_mode.c             |   1 +
>  tests/intel/xe_exec_queue_property.c         |   1 +
>  tests/intel/xe_exec_reset.c                  |   5 +-
>  tests/intel/xe_exec_store.c                  |   1 +
>  tests/intel/xe_exec_threads.c                |   1 +
>  tests/intel/xe_exercise_blt.c                |   3 +-
>  tests/intel/xe_gpgpu_fill.c                  |   3 +-
>  tests/intel/xe_gt_freq.c                     |   3 +-
>  tests/intel/xe_huc_copy.c                    |   1 +
>  tests/intel/xe_intel_bb.c                    |   1 +
>  tests/intel/xe_live_ktest.c                  |   1 +
>  tests/intel/xe_media_fill.c                  |   9 +-
>  tests/intel/xe_mmap.c                        |   3 +-
>  tests/intel/xe_module_load.c                 |   1 +
>  tests/intel/xe_noexec_ping_pong.c            |   3 +-
>  tests/intel/xe_pat.c                         |   1 +
>  tests/intel/xe_peer2peer.c                   |   3 +-
>  tests/intel/xe_pm.c                          |   3 +-
>  tests/intel/xe_pm_residency.c                |   3 +-
>  tests/intel/xe_prime_self_import.c           |   1 +
>  tests/intel/xe_query.c                       |  66 ++--
>  tests/intel/xe_render_copy.c                 |   1 +
>  tests/intel/xe_spin_batch.c                  |   1 +
>  tests/intel/xe_sysfs_defaults.c              |   6 +-
>  tests/intel/xe_sysfs_scheduler.c             |   3 +-
>  tests/intel/xe_vm.c                          |   1 +
>  tests/intel/xe_waitfence.c                   |   2 +
>  tests/prime_vgem.c                           |   7 +-
>  tests/sw_sync.c                              |   9 +-
>  tests/syncobj_basic.c                        |   7 +-
>  tests/syncobj_timeline.c                     |   9 +-
>  tests/syncobj_wait.c                         |   9 +-
>  tests/vgem_basic.c                           |   5 +-
>  tests/vgem_slow.c                            |   7 +-
>  213 files changed, 859 insertions(+), 559 deletions(-)
> 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 12/16] tests/intel: Introduce Render Mega feature
  2024-04-23 10:49 ` [PATCH i-g-t v2 12/16] tests/intel: Introduce Render " Katarzyna Piecielska
@ 2024-04-25 17:07   ` Kamil Konieczny
  0 siblings, 0 replies; 25+ messages in thread
From: Kamil Konieczny @ 2024-04-25 17:07 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Mauro Carvalho Chehab, Aditya Chauhan,
	Girotra Himanshu, Sandeep Kumar Parupalli

Hi Katarzyna,
On 2024-04-23 at 10:49:09 +0000, Katarzyna Piecielska wrote:
> Add mega feature to Render tests.
> Group:
> 	SUBTEST
> 	Description
> 	Category
> 	Mega feature
> 	Sub-category
> 	Functionality
> 
> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
> Cc: Aditya Chauhan <aditya.chauhan@intel.com>
> Cc: Girotra Himanshu <himanshu.girotra@intel.com>
> CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
> ---
>  tests/intel/gem_render_copy.c       | 5 +++--
>  tests/intel/gem_render_copy_redux.c | 3 ++-
>  tests/intel/xe_render_copy.c        | 1 +

There is conflict in render:

n.Functionality:../tests/intel/xe_render_copy.c: * Functionality: render
n.Mega.feature:../tests/intel/gem_render_copy.c: * Mega feature: Render

Regards,
Kamil

>  3 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/intel/gem_render_copy.c b/tests/intel/gem_render_copy.c
> index 0b5a0ac4a..e9a82c465 100644
> --- a/tests/intel/gem_render_copy.c
> +++ b/tests/intel/gem_render_copy.c
> @@ -51,10 +51,11 @@
>  /**
>   * TEST: gem render copy
>   * Description: Basic test for the render_copy() function.
> - * Feature: mapping
> - * Sub-category: Render copy
>   * Category: Desktop client
> + * Mega feature: Render
> + * Sub-category: Render copy
>   * Functionality: render_copy
> + * Feature: mapping
>   *
>   * SUBTEST: linear
>   * Description: Test render_copy() from a mixed-tiled to a linear buffer.
> diff --git a/tests/intel/gem_render_copy_redux.c b/tests/intel/gem_render_copy_redux.c
> index 60366fd42..6dcd3145d 100644
> --- a/tests/intel/gem_render_copy_redux.c
> +++ b/tests/intel/gem_render_copy_redux.c
> @@ -51,8 +51,9 @@
>  /**
>   * TEST: gem render copy redux
>   * Description: Advanced test for the render_copy() function.
> - * Sub-category: Render copy
>   * Category: Desktop client
> + * Mega feature: Render
> + * Sub-category: Render copy
>   * Functionality: render_copy
>   *
>   * SUBTEST: flink
> diff --git a/tests/intel/xe_render_copy.c b/tests/intel/xe_render_copy.c
> index 4f98cb7df..184662a17 100644
> --- a/tests/intel/xe_render_copy.c
> +++ b/tests/intel/xe_render_copy.c
> @@ -18,6 +18,7 @@
>  /**
>   * TEST: Copy memory using 3d engine
>   * Category: Software building block
> + * Mega feature: Render
>   * Sub-category: 3d
>   * Functionality: render
>   * Test category: functionality test
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 04/16] tests/intel: Introduce Power management Mega feature
  2024-04-23 10:49 ` [PATCH i-g-t v2 04/16] tests/intel: Introduce Power management " Katarzyna Piecielska
@ 2024-04-25 17:11   ` Kamil Konieczny
  0 siblings, 0 replies; 25+ messages in thread
From: Kamil Konieczny @ 2024-04-25 17:11 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Mauro Carvalho Chehab, Aditya Chauhan,
	Girotra Himanshu, Sandeep Kumar Parupalli

Hi Katarzyna,
On 2024-04-23 at 10:49:01 +0000, Katarzyna Piecielska wrote:
> Add mega feature to Power Management tests.
> Group:
> 	SUBTEST
>  	Description
>  	Category
>  	Mega feature
>  	Sub-category
>  	Functionality
> 
> v2: move gem_pxp to General Mega feature
> 
> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
> Cc: Aditya Chauhan <aditya.chauhan@intel.com>
> Cc: Girotra Himanshu <himanshu.girotra@intel.com>
> CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
> ---
>  tests/intel/gem_ctx_freq.c          |  5 ++--
>  tests/intel/i915_pm_freq_mult.c     |  7 +++---

grep -E -i ':.*firmware' n.*
n.Category:../tests/intel/i915_pm_freq_mult.c: * Category: Firmware
n.Category:../tests/intel/xe_huc_copy.c: * Category: Firmware building block

n.Sub-category:../tests/intel/gem_huc_copy.c: * Sub-category: Firmware
n.Sub-category:../tests/intel/i915_selftest.c: * Sub-category: Firmware
n.Sub-category:../tests/intel/xe_huc_copy.c: * Sub-category: Firmware

so there is conflict where 'Firmware' is both in Category
and Sub-category.

Regards,
Kamil

>  tests/intel/i915_pm_rc6_residency.c |  7 +++---
>  tests/intel/i915_pm_rpm.c           |  7 +++---
>  tests/intel/i915_pm_rps.c           |  7 +++---
>  tests/intel/i915_pm_sseu.c          |  5 ++--
>  tests/intel/i915_power.c            |  7 +++---
>  tests/intel/i915_selftest.c         | 38 +++++++++++++++--------------
>  tests/intel/i915_suspend.c          |  8 +++---
>  tests/intel/xe_gt_freq.c            |  3 ++-
>  tests/intel/xe_pm.c                 |  3 ++-
>  tests/intel/xe_pm_residency.c       |  3 ++-
>  12 files changed, 56 insertions(+), 44 deletions(-)
> 
> diff --git a/tests/intel/gem_ctx_freq.c b/tests/intel/gem_ctx_freq.c
> index db67cade5..c348fe338 100644
> --- a/tests/intel/gem_ctx_freq.c
> +++ b/tests/intel/gem_ctx_freq.c
> @@ -40,9 +40,10 @@
>  /**
>   * TEST: gem ctx freq
>   * Category: Server
> - * Feature: context feature
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: frequency management
> - * Sub-category: Performance
> + * Feature: context feature
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: sysfs
> diff --git a/tests/intel/i915_pm_freq_mult.c b/tests/intel/i915_pm_freq_mult.c
> index 3c390d427..6d375c5aa 100644
> --- a/tests/intel/i915_pm_freq_mult.c
> +++ b/tests/intel/i915_pm_freq_mult.c
> @@ -14,10 +14,11 @@
>   * TEST: i915 pm freq mult
>   * Description: Tests for sysfs controls (or multipliers) for IP blocks which
>   *		run at frequencies different from the main GT frequency.
> - * Category: Firmware building block
> - * Functionality: freq multipliers
> + * Category: Firmware
> + * Mega feature: Power management
> + * Sub-category: Power management tests
> + * Functionality: freg multipliers
>   * Test category: i915
> - * Sub-category: Power management
>   *
>   * SUBTEST: media-freq
>   * Description: Tests for media frequency factor sysfs
> diff --git a/tests/intel/i915_pm_rc6_residency.c b/tests/intel/i915_pm_rc6_residency.c
> index be9f9117a..92dae43b3 100644
> --- a/tests/intel/i915_pm_rc6_residency.c
> +++ b/tests/intel/i915_pm_rc6_residency.c
> @@ -43,10 +43,11 @@
>  #include "sw_sync.h"
>  /**
>   * TEST: i915 pm rc6 residency
> - * Feature: GuCRC, pm_rc6
> - * Functionality: rc6
> - * Sub-category: Power management
>   * Category: Desktop client
> + * Mega feature: Power management
> + * Sub-category: Power management tests
> + * Functionality: rc6
> + * Feature: GuCRC, pm_rc6
>   *
>   * SUBTEST: media-rc6-accuracy
>   * Feature: pm_rc6
> diff --git a/tests/intel/i915_pm_rpm.c b/tests/intel/i915_pm_rpm.c
> index 8ea3fd315..52e00489d 100644
> --- a/tests/intel/i915_pm_rpm.c
> +++ b/tests/intel/i915_pm_rpm.c
> @@ -42,11 +42,12 @@
>  #include <sys/stat.h>
>  /**
>   * TEST: i915 pm rpm
> - * Feature: pm_rpm
> - * Functionality: D3 state entry-exit
> - * Sub-category: Power management
>   * Category: Desktop client
> + * Mega feature: Power management
> + * Sub-category: Power management tests
> + * Functionality: D3 state entry-exit
>   * Test category: pm_rpm
> + * Feature: pm_rpm
>   *
>   * SUBTEST: debugfs-forcewake-user
>   * SUBTEST: debugfs-read
> diff --git a/tests/intel/i915_pm_rps.c b/tests/intel/i915_pm_rps.c
> index 648765b02..4ab137282 100644
> --- a/tests/intel/i915_pm_rps.c
> +++ b/tests/intel/i915_pm_rps.c
> @@ -47,11 +47,12 @@
>  /**
>   * TEST: i915 pm rps
>   * Description: Render P-States tests - verify GPU frequency changes
> + * Category: Desktop client
> + * Mega feature: Power management
> + * Sub-category: Power management tests
> + * Functionality: pm_rps
>   * Feature: pm_rps
>   * Test category: pm_rps
> - * Functionality: rps
> - * Sub-category: Power management
> - * Category: Desktop client
>   *
>   * SUBTEST: basic-api
>   *
> diff --git a/tests/intel/i915_pm_sseu.c b/tests/intel/i915_pm_sseu.c
> index 11df4f06c..1fb938893 100644
> --- a/tests/intel/i915_pm_sseu.c
> +++ b/tests/intel/i915_pm_sseu.c
> @@ -38,10 +38,11 @@
>  /**
>   * TEST: i915 pm sseu
>   * Description: Tests slice/subslice/EU power gating functionality.
> - * Feature: pm_sseu
> - * Sub-category: Power management
>   * Category: Desktop client
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: sseu
> + * Feature: pm_sseu
>   *
>   * SUBTEST: full-enable
>   */
> diff --git a/tests/intel/i915_power.c b/tests/intel/i915_power.c
> index fe8437a0f..ef92efb6f 100644
> --- a/tests/intel/i915_power.c
> +++ b/tests/intel/i915_power.c
> @@ -10,11 +10,12 @@
>  /**
>   * TEST: i915 power
>   * Description: i915 power measurement tests
> - * Feature: hwmon
> - * Test category: GEM_Legacy
> - * Sub-category: Power management
>   * Category: Desktop client
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: hwmon
> + * Feature: hwmon
> + * Test category: GEM_Legacy
>   *
>   * SUBTEST: sanity
>   * Description: Sanity check gpu power measurement
> diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
> index a673e9b03..cdaaaf635 100644
> --- a/tests/intel/i915_selftest.c
> +++ b/tests/intel/i915_selftest.c
> @@ -174,10 +174,11 @@
>   * Sub-category: Mocs
>   *
>   * SUBTEST: live@gt_pm
> - * Category: Selftest
>   * Description: Basic i915 driver module selftests
> + * Category: Selftest
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: rps, rc6
> - * Sub-category: Power management
>   *
>   * SUBTEST: live@gt_timelines
>   * Category: Selftest
> @@ -252,11 +253,12 @@
>   * Test category: i915
>   *
>   * SUBTEST: live@late_gt_pm
> + * Description: Basic i915 driver module selftests
>   * Category: Selftest
> - * Feature: rc6 feature
> - * Functionality: Basic i915 driver module selftests
> - * Test category: rc6
> - * Sub-category: Power management
> + * Mega feature: Power management
> + * Sub-category: Power management tests
> + * Feature: rc6
> + * Functionality: rc6
>   *
>   * SUBTEST: live@lmem
>   * Description: Basic i915 driver module selftests
> @@ -353,20 +355,20 @@
>   * Sub-category: Synchronization
>   *
>   * SUBTEST: live@slpc
> - * Category: Selftest
> - * Feature: slpc feature/ pm_rps
> - * Test category: slpc / pm_rps
>   * Description: Basic i915 driver module selftests
> + * Category: Selftest
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: slpc
> - * Sub-category: Power management
> + * Feature: slpc / pm_rps
>   *
>   * SUBTEST: live@uncore
> - * Category: Selftest
>   * Description: Basic i915 driver module selftests
> - * Feature: forcewake feature
> - * Test category: forcewake
> + * Category: Selftest
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: forcewake
> - * Sub-category: Power management
> + * Feature: forcewake
>   *
>   * SUBTEST: live@vma
>   * Description: Per-object virtual address management
> @@ -532,12 +534,12 @@
>   * Test category: Memory Management
>   *
>   * SUBTEST: mock@uncore
> - * Category: Selftest
>   * Description: Basic i915 driver module selftests
> - * Feature: forcewake feature
> - * Test category: forcewake
> + * Category: Selftest
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: forcewake
> - * Sub-category: Power management
> + * Feature: forcewake
>   *
>   * SUBTEST: mock@vma
>   * Category: Selftest
> diff --git a/tests/intel/i915_suspend.c b/tests/intel/i915_suspend.c
> index ae4404101..1f99c2ddc 100644
> --- a/tests/intel/i915_suspend.c
> +++ b/tests/intel/i915_suspend.c
> @@ -46,12 +46,12 @@
>  #include "igt_device_scan.h"
>  /**
>   * TEST: i915 suspend
> - * Feature: suspend feature
> + * Category: Desktop client
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: s2idle w/o i915
>   * Test category: suspend
> - * Functionality: suspend
> - * Sub-category: Power management
> - * Category: Desktop client
> + * Feature: suspend
>   *
>   * SUBTEST: basic-s2idle-without-i915
>   * Description: Validate suspend-to-idle without i915 module
> diff --git a/tests/intel/xe_gt_freq.c b/tests/intel/xe_gt_freq.c
> index c12f6c52c..0c1acc688 100644
> --- a/tests/intel/xe_gt_freq.c
> +++ b/tests/intel/xe_gt_freq.c
> @@ -6,7 +6,8 @@
>  /**
>   * TEST: Test Xe GT frequency request functionality
>   * Category: Infrastructure
> - * Sub-category: Power management
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: frequency request
>   * Test category: functionality test
>   */
> diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
> index 51442537b..24cdeb7ed 100644
> --- a/tests/intel/xe_pm.c
> +++ b/tests/intel/xe_pm.c
> @@ -6,7 +6,8 @@
>  /**
>   * TEST: Check Power Management functionality
>   * Category: Software building block
> - * Sub-category: Power management
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Test category: functionality test
>   */
>  
> diff --git a/tests/intel/xe_pm_residency.c b/tests/intel/xe_pm_residency.c
> index ad70e2430..d58ebe804 100644
> --- a/tests/intel/xe_pm_residency.c
> +++ b/tests/intel/xe_pm_residency.c
> @@ -6,7 +6,8 @@
>  /**
>   * TEST: Test gtidle properties
>   * Category: Software building block
> - * Sub-category: Power management
> + * Mega feature: Power management
> + * Sub-category: Power management tests
>   * Functionality: GT C States
>   * Test category: functionality test
>   */
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 08/16] tests/intel: Introduce SysMan Mega feature
  2024-04-23 10:49 ` [PATCH i-g-t v2 08/16] tests/intel: Introduce SysMan " Katarzyna Piecielska
@ 2024-04-25 17:15   ` Kamil Konieczny
  0 siblings, 0 replies; 25+ messages in thread
From: Kamil Konieczny @ 2024-04-25 17:15 UTC (permalink / raw)
  To: igt-dev
  Cc: Katarzyna Piecielska, Mauro Carvalho Chehab, Aditya Chauhan,
	Girotra Himanshu, Sandeep Kumar Parupalli

Hi Katarzyna,
On 2024-04-23 at 10:49:05 +0000, Katarzyna Piecielska wrote:
> Add tests to SysMan mega feature.
> Group:
> 	SUBTEST
> 	Description
> 	Category
> 	Mega feature
> 	Sub-category
> 	Functionality
> 
> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
> Cc: Aditya Chauhan <aditya.chauhan@intel.com>
> Cc: Girotra Himanshu <himanshu.girotra@intel.com>
> CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
> ---
>  tests/device_reset.c                   | 3 ++-

'reset' is both in Functionality and Sub-Category:

grep -E -i ':.*reset' n.*
n.Functionality:../tests/device_reset.c: * Functionality: sysfs reset
n.Functionality:../tests/intel/gem_eio.c: * Functionality: reset
n.Functionality:../tests/intel/gem_reset_stats.c: * Functionality: reset
n.Functionality:../tests/intel/i915_selftest.c: * Functionality: engine/GT reset
n.Functionality:../tests/intel/xe_exec_reset.c: * Functionality: reset

n.Sub-category:../tests/device_reset.c: * Sub-category: Reset
n.Sub-category:../tests/intel/i915_selftest.c: * Sub-category: Reset

Regards,
Kamil

>  tests/intel/sysfs_heartbeat_interval.c | 7 ++++---
>  tests/intel/sysfs_preempt_timeout.c    | 7 ++++---
>  tests/intel/sysfs_timeslice_duration.c | 7 ++++---
>  tests/intel/xe_sysfs_defaults.c        | 6 ++++--
>  tests/intel/xe_sysfs_scheduler.c       | 3 ++-
>  6 files changed, 20 insertions(+), 13 deletions(-)
> 
> diff --git a/tests/device_reset.c b/tests/device_reset.c
> index de1a8a87b..9f77d0fce 100644
> --- a/tests/device_reset.c
> +++ b/tests/device_reset.c
> @@ -38,7 +38,8 @@
>   *   Unbinds driver from device, initiates reset then rebinds driver to device
>   *   validating device resets
>   * Category: Infrastructure
> - * Sub-category: SysMan
> + * Mega feature: SysMan
> + * Sub-category: SysMan tests
>   * Feature: reset, sriov-reset
>   */
>  
> diff --git a/tests/intel/sysfs_heartbeat_interval.c b/tests/intel/sysfs_heartbeat_interval.c
> index 5f82185bc..0af8879f6 100644
> --- a/tests/intel/sysfs_heartbeat_interval.c
> +++ b/tests/intel/sysfs_heartbeat_interval.c
> @@ -43,11 +43,12 @@
>  #include "sw_sync.h"
>  /**
>   * TEST: sysfs heartbeat interval
> - * Feature: SMI, cmd_submission
> - * Test category: SysMan
> - * Sub-category: SysMan
>   * Category: Desktop \ Server
> + * Mega feature: SysMan
> + * Sub-category: SysMan tests
>   * Functionality: sysfs heartbeat
> + * Feature: SMI, cmd_submission
> + * Test category: SysMan
>   *
>   * SUBTEST: idempotent
>   * Description: Test to check whether the heartbeat parameter reports the values set.
> diff --git a/tests/intel/sysfs_preempt_timeout.c b/tests/intel/sysfs_preempt_timeout.c
> index 84f8ba7d3..88f2cdfcd 100644
> --- a/tests/intel/sysfs_preempt_timeout.c
> +++ b/tests/intel/sysfs_preempt_timeout.c
> @@ -42,11 +42,12 @@
>  #include "sw_sync.h"
>  /**
>   * TEST: sysfs preempt timeout
> - * Feature: SMI, context
> - * Test category: SysMan
> - * Sub-category: SysMan
>   * Category: Desktop \ Server
> + * Mega feature: SysMan
> + * Sub-category: SysMan tests
>   * Functionality: sysfs preempt timeout
> + * Feature: SMI, context
> + * Test category: SysMan
>   *
>   * SUBTEST: idempotent
>   * Description: Test to check whether the preempt_timeout parameter reports the
> diff --git a/tests/intel/sysfs_timeslice_duration.c b/tests/intel/sysfs_timeslice_duration.c
> index b48152ecc..6baa000df 100644
> --- a/tests/intel/sysfs_timeslice_duration.c
> +++ b/tests/intel/sysfs_timeslice_duration.c
> @@ -45,11 +45,12 @@
>  #include "sw_sync.h"
>  /**
>   * TEST: sysfs timeslice duration
> + * Category: Desktop \ Server
> + * Mega feature: SysMan
> + * Sub-category: SysMan tests
> + * Functionality: timeslise sysfs
>   * Feature: SMI, cmd_submission
>   * Test category: SysMan
> - * Functionality: timeslise sysfs
> - * Sub-category: SysMan
> - * Category: Desktop \ Server
>   *
>   * SUBTEST: duration
>   * Description: Test to measure the timeslice duration by watching the
> diff --git a/tests/intel/xe_sysfs_defaults.c b/tests/intel/xe_sysfs_defaults.c
> index fd7dea77b..5c5db71a4 100644
> --- a/tests/intel/xe_sysfs_defaults.c
> +++ b/tests/intel/xe_sysfs_defaults.c
> @@ -5,12 +5,14 @@
>  
>  /**
>   * TEST: xe sysfs defaults
> + * Description: check if the sysfs engine .defaults node has all values.
>   * Category: Infrastructure
> + * Mega feature: SysMan
> + * Sub-category: SysMan tests
>   * Functionality: sysman defaults
> - * Sub-category: SysMan
>   * Test category: functionality test
> + *
>   * SUBTEST: engine-defaults
> - * Description: check if the sysfs engine .defaults node has all values.
>   */
>  
>  #include <dirent.h>
> diff --git a/tests/intel/xe_sysfs_scheduler.c b/tests/intel/xe_sysfs_scheduler.c
> index d1ef422f4..5c4fb1114 100644
> --- a/tests/intel/xe_sysfs_scheduler.c
> +++ b/tests/intel/xe_sysfs_scheduler.c
> @@ -6,7 +6,8 @@
>  /**
>   * TEST: xe sysfs scheduler
>   * Category: Infrastructure
> - * Sub-category: SysMan
> + * Mega feature: SysMan
> + * Sub-category: SysMan tests
>   * Functionality: scheduler control interface
>   *
>   * SUBTEST: %s-invalid
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 02/16] tests: Add Memory management tests to General Core Mega feature
  2024-04-23 10:48 ` [PATCH i-g-t v2 02/16] tests: Add Memory management tests to " Katarzyna Piecielska
@ 2024-04-25 17:19   ` Kamil Konieczny
  0 siblings, 0 replies; 25+ messages in thread
From: Kamil Konieczny @ 2024-04-25 17:19 UTC (permalink / raw)
  To: Katarzyna Piecielska
  Cc: igt-dev, Mauro Carvalho Chehab, Aditya Chauhan, Girotra Himanshu,
	Sandeep Kumar Parupalli

Hi Katarzyna,
On 2024-04-23 at 10:48:59 +0000, Katarzyna Piecielska wrote:
> Add Memory management tests to General Core mega feature
> Group:
> 	SUBTEST
> 	Description
> 	Category
> 	Mega feature
> 	Sub-category
> 	Functionality
> 	Feature

grep -E -i ':.*memory.management' n.*

n.Functionality:../tests/core_getstats.c: * Functionality: DRM memory management

n.Functionality:../tests/intel/prime_mmap_kms.c: * Functionality: memory management

n.Sub-category:../tests/dmabuf.c: * Sub-category: Memory management
^^^^
imho there is missing 'tests' in this sub-category, it should be:

n.Sub-category:../tests/dmabuf.c: * Sub-category: Memory management tests

Regards,
Kamil

> 
> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
> Cc: Aditya Chauhan <aditya.chauhan@intel.com>
> Cc: Girotra Himanshu <himanshu.girotra@intel.com>
> CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
> ---
>  tests/dmabuf.c                               |  4 +-
>  tests/drm_mm.c                               |  5 +-
>  tests/intel/gem_close.c                      |  5 +-
>  tests/intel/gem_cs_tlb.c                     |  7 ++-
>  tests/intel/gem_gtt_cpu_tlb.c                |  8 ++-
>  tests/intel/gem_gtt_hog.c                    |  3 +-
>  tests/intel/gem_gtt_speed.c                  |  3 +-
>  tests/intel/gem_lmem_evict.c                 |  5 +-
>  tests/intel/gem_lmem_swapping.c              |  7 ++-
>  tests/intel/gem_madvise.c                    |  7 ++-
>  tests/intel/gem_mmap.c                       |  7 ++-
>  tests/intel/gem_mmap_gtt.c                   |  5 +-
>  tests/intel/gem_mmap_offset.c                |  5 +-
>  tests/intel/gem_mmap_wc.c                    |  5 +-
>  tests/intel/gem_ppgtt.c                      |  5 +-
>  tests/intel/gem_read_read_speed.c            |  3 +-
>  tests/intel/gem_readwrite.c                  |  5 +-
>  tests/intel/gem_set_tiling_vs_gtt.c          |  5 +-
>  tests/intel/gem_set_tiling_vs_pwrite.c       |  5 +-
>  tests/intel/gem_streaming_writes.c           |  3 +-
>  tests/intel/gem_tiled_blits.c                |  5 +-
>  tests/intel/gem_tiled_fence_blits.c          |  5 +-
>  tests/intel/gem_tiled_partial_pwrite_pread.c |  5 +-
>  tests/intel/gem_tiled_pread_basic.c          |  5 +-
>  tests/intel/gem_tiled_pread_pwrite.c         |  5 +-
>  tests/intel/gem_tiled_swapping.c             |  5 +-
>  tests/intel/gem_tiled_wb.c                   |  5 +-
>  tests/intel/gem_tiled_wc.c                   |  5 +-
>  tests/intel/gem_tiling_max_stride.c          |  5 +-
>  tests/intel/gem_unfence_active_buffers.c     |  5 +-
>  tests/intel/i915_fb_tiling.c                 |  5 +-
>  tests/intel/i915_selftest.c                  | 64 ++++++++++++--------
>  tests/intel/prime_busy.c                     |  7 ++-
>  tests/intel/prime_mmap.c                     |  7 ++-
>  tests/intel/prime_mmap_coherency.c           |  7 ++-
>  tests/intel/prime_self_import.c              |  7 ++-
>  tests/intel/xe_evict.c                       |  2 +
>  tests/intel/xe_mmap.c                        |  3 +-
>  tests/intel/xe_pat.c                         |  1 +
>  tests/intel/xe_vm.c                          |  1 +
>  40 files changed, 155 insertions(+), 101 deletions(-)
> 
> diff --git a/tests/dmabuf.c b/tests/dmabuf.c
> index 71285ff0b..f99f0e7fb 100644
> --- a/tests/dmabuf.c
> +++ b/tests/dmabuf.c
> @@ -26,11 +26,11 @@
>  /**
>   * TEST: dmabuf
>   * Description: Kernel selftests for the dmabuf API
> - * Feature: mapping, prime
>   * Category: Infrastructure
> - * Description: drm_mm range manager SW validation
> + * Mega feature: General Core features
>   * Functionality: drm_mm
>   * Sub-category: Memory management
> + * Feature: mapping, prime
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: all-tests
> diff --git a/tests/drm_mm.c b/tests/drm_mm.c
> index dcd4c7676..41b363cf0 100644
> --- a/tests/drm_mm.c
> +++ b/tests/drm_mm.c
> @@ -26,10 +26,11 @@
>  /**
>   * TEST: drm mm
>   * Description: Basic sanity check of DRM's range manager (struct drm_mm)
> - * Feature: mapping
>   * Category: Infrastructure
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: drm_mm
> - * Sub-category: Memory management
> + * Feature: mapping
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: drm_mm
> diff --git a/tests/intel/gem_close.c b/tests/intel/gem_close.c
> index b3c5cb108..33da151e1 100644
> --- a/tests/intel/gem_close.c
> +++ b/tests/intel/gem_close.c
> @@ -28,9 +28,10 @@
>  /**
>   * TEST: gem close
>   * Category: Infrastructure
> - * Feature: mapping
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: driver handler
> - * Sub-category: Memory management
> + * Feature: mapping
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: basic
> diff --git a/tests/intel/gem_cs_tlb.c b/tests/intel/gem_cs_tlb.c
> index f18a8fdaa..065d6b330 100644
> --- a/tests/intel/gem_cs_tlb.c
> +++ b/tests/intel/gem_cs_tlb.c
> @@ -54,11 +54,12 @@
>  #include "igt.h"
>  /**
>   * TEST: gem cs tlb
> - * Category: Infrastructure
>   * Description: Check whether we correctly invalidate the cs tlb.
> - * Feature: mapping
> + * Category: Infrastructure
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tlb
> - * Sub-category: Memory management
> + * Feature: mapping
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: engines
> diff --git a/tests/intel/gem_gtt_cpu_tlb.c b/tests/intel/gem_gtt_cpu_tlb.c
> index c7a1cbe63..7fd876e5c 100644
> --- a/tests/intel/gem_gtt_cpu_tlb.c
> +++ b/tests/intel/gem_gtt_cpu_tlb.c
> @@ -46,10 +46,12 @@
>  /**
>   * TEST: gem gtt cpu tlb
>   * Description: Check whether gtt tlbs for cpu access are correctly invalidated.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> - * Functionality: mmap
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
> + * Functionality: mapping
> + * Feature: gtt, mapping
> + *
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_gtt_hog.c b/tests/intel/gem_gtt_hog.c
> index 12f291020..cfeea8ba1 100644
> --- a/tests/intel/gem_gtt_hog.c
> +++ b/tests/intel/gem_gtt_hog.c
> @@ -44,8 +44,9 @@
>  #include "igt.h"
>  /**
>   * TEST: gem gtt hog
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: gtt
>   *
>   * SUBTEST:
> diff --git a/tests/intel/gem_gtt_speed.c b/tests/intel/gem_gtt_speed.c
> index 46ebafdd8..14f0ffa88 100644
> --- a/tests/intel/gem_gtt_speed.c
> +++ b/tests/intel/gem_gtt_speed.c
> @@ -44,8 +44,9 @@
>  #include "i915/gem_create.h"
>  /**
>   * TEST: gem gtt speed
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: gtt
>   *
>   * SUBTEST:
> diff --git a/tests/intel/gem_lmem_evict.c b/tests/intel/gem_lmem_evict.c
> index f756565cb..2453f95b2 100644
> --- a/tests/intel/gem_lmem_evict.c
> +++ b/tests/intel/gem_lmem_evict.c
> @@ -10,10 +10,11 @@
>  /**
>   * TEST: gem lmem evict
>   * Description: Force tiny lmem size for easily testing eviction scenarios.
> - * Feature: local_memory
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: local memory eviction
> + * Feature: local_memory
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: dontneed-evict-race
> diff --git a/tests/intel/gem_lmem_swapping.c b/tests/intel/gem_lmem_swapping.c
> index a10a6e96e..3f9a8c90a 100644
> --- a/tests/intel/gem_lmem_swapping.c
> +++ b/tests/intel/gem_lmem_swapping.c
> @@ -26,11 +26,12 @@
>  #include "intel_mocs.h"
>  /**
>   * TEST: gem lmem swapping
> - * Category: Server
>   * Description: Exercise local memory swapping.
> - * Feature: local_memory
> + * Category: Server
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: buffer management
> - * Sub-category: Memory management
> + * Feature: local_memory
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: basic
> diff --git a/tests/intel/gem_madvise.c b/tests/intel/gem_madvise.c
> index da5ac7d6d..71139f27d 100644
> --- a/tests/intel/gem_madvise.c
> +++ b/tests/intel/gem_madvise.c
> @@ -40,12 +40,13 @@
>  #include "i915/gem_create.h"
>  /**
>   * TEST: gem madvise
> - * Category: Desktop client
>   * Description: Checks that the kernel reports EFAULT when trying to use purged bo.
> - * Feature: caching, mapping
> + * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: buffer management
> - * Sub-category: Memory management
>   * Test category: GEM_Legacy
> + * Feature: caching, mapping
>   *
>   * SUBTEST: dontneed-after-mmap
>   * Description: Check signal for Segmentation Fault and bus error after
> diff --git a/tests/intel/gem_mmap.c b/tests/intel/gem_mmap.c
> index 179001a20..5e8a787d1 100644
> --- a/tests/intel/gem_mmap.c
> +++ b/tests/intel/gem_mmap.c
> @@ -41,10 +41,11 @@
>  /**
>   * TEST: gem mmap
>   * Description: Basic MMAP IOCTL tests for memory regions.
> - * Feature: mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> - * Functionality: mmap
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
> + * Functionality: mapping
> + * Feature: mapping
>   *
>   * SUBTEST: bad-object
>   * Description: Verify mapping to invalid gem objects won't be created.
> diff --git a/tests/intel/gem_mmap_gtt.c b/tests/intel/gem_mmap_gtt.c
> index 7218ef9bc..79be68a22 100644
> --- a/tests/intel/gem_mmap_gtt.c
> +++ b/tests/intel/gem_mmap_gtt.c
> @@ -49,10 +49,11 @@
>  /**
>   * TEST: gem mmap gtt
>   * Description: Ensure that all operations around MMAP_GTT ioctl works.
> - * Feature: gtt
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: map gtt
> + * Feature: gtt
>   *
>   * SUBTEST: bad-object
>   * Description: Verify mapping to invalid gem objects fails.
> diff --git a/tests/intel/gem_mmap_offset.c b/tests/intel/gem_mmap_offset.c
> index 95d2158ca..90a4a0f1a 100644
> --- a/tests/intel/gem_mmap_offset.c
> +++ b/tests/intel/gem_mmap_offset.c
> @@ -41,9 +41,10 @@
>   * TEST: gem mmap offset
>   * Description: Basic MMAP_OFFSET IOCTL tests for mem regions
>   * Category: Infrastructure
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
> + * Functionality: mapping
>   * Feature: mapping
> - * Functionality: mmap
> - * Sub-category: Memory management
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: bad-extensions
> diff --git a/tests/intel/gem_mmap_wc.c b/tests/intel/gem_mmap_wc.c
> index 0a1bef7a2..beecd0b3a 100644
> --- a/tests/intel/gem_mmap_wc.c
> +++ b/tests/intel/gem_mmap_wc.c
> @@ -41,10 +41,11 @@
>  #include "i915/gem_create.h"
>  /**
>   * TEST: gem mmap wc
> - * Feature: caching, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: cache
> + * Feature: caching, mapping
>   *
>   * SUBTEST: bad-object
>   * SUBTEST: bad-offset
> diff --git a/tests/intel/gem_ppgtt.c b/tests/intel/gem_ppgtt.c
> index e6a4651da..0dee7ad1a 100644
> --- a/tests/intel/gem_ppgtt.c
> +++ b/tests/intel/gem_ppgtt.c
> @@ -42,10 +42,11 @@
>  /**
>   * TEST: gem ppgtt
>   * Category: Desktop client
> - * Feature: mapping, xorg_dri2
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: buffer management
> - * Sub-category: Memory management
>   * Test category: GEM_Legacy
> + * Feature: mapping, xorg_dri2
>   *
>   * SUBTEST: blt-vs-render-ctx0
>   *
> diff --git a/tests/intel/gem_read_read_speed.c b/tests/intel/gem_read_read_speed.c
> index 47c3dfecd..f6834f74c 100644
> --- a/tests/intel/gem_read_read_speed.c
> +++ b/tests/intel/gem_read_read_speed.c
> @@ -45,8 +45,9 @@
>  /**
>   * TEST: gem read read speed
>   * Description: Test speed of concurrent reads between engines.
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: read/write memory
>   *
>   * SUBTEST: read-read-1024x1024
> diff --git a/tests/intel/gem_readwrite.c b/tests/intel/gem_readwrite.c
> index 9970c5f33..b5c6e7a26 100644
> --- a/tests/intel/gem_readwrite.c
> +++ b/tests/intel/gem_readwrite.c
> @@ -40,10 +40,11 @@
>  #include "i915/gem_create.h"
>  /**
>   * TEST: gem readwrite
> - * Feature: mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: read/write memory
> + * Feature: mapping
>   *
>   * SUBTEST: beyond-EOB
>   *
> diff --git a/tests/intel/gem_set_tiling_vs_gtt.c b/tests/intel/gem_set_tiling_vs_gtt.c
> index 3305a2297..621dc6fbf 100644
> --- a/tests/intel/gem_set_tiling_vs_gtt.c
> +++ b/tests/intel/gem_set_tiling_vs_gtt.c
> @@ -41,10 +41,11 @@
>  /**
>   * TEST: gem set tiling vs gtt
>   * Description: Check set_tiling vs gtt mmap coherency.
> - * Feature: gtt
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiling vs gtt coherency
> + * Feature: gtt
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_set_tiling_vs_pwrite.c b/tests/intel/gem_set_tiling_vs_pwrite.c
> index 241e72ab8..10bfcb71f 100644
> --- a/tests/intel/gem_set_tiling_vs_pwrite.c
> +++ b/tests/intel/gem_set_tiling_vs_pwrite.c
> @@ -41,10 +41,11 @@
>  /**
>   * TEST: gem set tiling vs pwrite
>   * Description: Check set_tiling vs pwrite coherency.
> - * Feature: gtt
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiling vs pwrite coherency
> + * Feature: gtt
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_streaming_writes.c b/tests/intel/gem_streaming_writes.c
> index d707c703a..d80ac6fe1 100644
> --- a/tests/intel/gem_streaming_writes.c
> +++ b/tests/intel/gem_streaming_writes.c
> @@ -43,8 +43,9 @@
>  /**
>   * TEST: gem streaming writes
>   * Description: Test of streaming writes into active GPU sources
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: barrier
>   *
>   * SUBTEST: batch-cpu
> diff --git a/tests/intel/gem_tiled_blits.c b/tests/intel/gem_tiled_blits.c
> index 73adadef4..f3845d213 100644
> --- a/tests/intel/gem_tiled_blits.c
> +++ b/tests/intel/gem_tiled_blits.c
> @@ -57,10 +57,11 @@
>  /**
>   * TEST: gem tiled blits
>   * Description: Test doing many tiled blits, with a working set larger than the aperture size.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiled blits
> + * Feature: gtt, mapping
>   *
>   * SUBTEST: basic
>   * Description: Check basic functionality.
> diff --git a/tests/intel/gem_tiled_fence_blits.c b/tests/intel/gem_tiled_fence_blits.c
> index faebe0efb..bf33b8d5f 100644
> --- a/tests/intel/gem_tiled_fence_blits.c
> +++ b/tests/intel/gem_tiled_fence_blits.c
> @@ -50,10 +50,11 @@
>   * Description:
>   *   Tests fence management problems related to tiled blits by performing many blits on tiled
>   *   buffer objects with fences enabled and with working set larger than the aperture size.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiled blits
> + * Feature: gtt, mapping
>   *
>   * SUBTEST: basic
>   * Description: Check basic functionality.
> diff --git a/tests/intel/gem_tiled_partial_pwrite_pread.c b/tests/intel/gem_tiled_partial_pwrite_pread.c
> index 9c24f1901..551fb4306 100644
> --- a/tests/intel/gem_tiled_partial_pwrite_pread.c
> +++ b/tests/intel/gem_tiled_partial_pwrite_pread.c
> @@ -41,10 +41,11 @@
>  /**
>   * TEST: gem tiled partial pwrite pread
>   * Description: Test pwrite/pread consistency when touching partial cachelines.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiled pread/pwrite
> + * Feature: gtt, mapping
>   *
>   * SUBTEST: reads
>   *
> diff --git a/tests/intel/gem_tiled_pread_basic.c b/tests/intel/gem_tiled_pread_basic.c
> index 913800880..f26db3592 100644
> --- a/tests/intel/gem_tiled_pread_basic.c
> +++ b/tests/intel/gem_tiled_pread_basic.c
> @@ -51,10 +51,11 @@
>  /**
>   * TEST: gem tiled pread basic
>   * Description: Test pread behavior on tiled objects with respect to the reported swizzling value.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiled pread/pwrite
> + * Feature: gtt, mapping
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_tiled_pread_pwrite.c b/tests/intel/gem_tiled_pread_pwrite.c
> index 7ec6a9291..b65e0458a 100644
> --- a/tests/intel/gem_tiled_pread_pwrite.c
> +++ b/tests/intel/gem_tiled_pread_pwrite.c
> @@ -61,10 +61,11 @@
>  /**
>   * TEST: gem tiled pread pwrite
>   * Description: Test swizzling by testing pwrite does the inverse of pread.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiled pread/pwrite
> + * Feature: gtt, mapping
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_tiled_swapping.c b/tests/intel/gem_tiled_swapping.c
> index 1b5c4bd14..af8976a25 100644
> --- a/tests/intel/gem_tiled_swapping.c
> +++ b/tests/intel/gem_tiled_swapping.c
> @@ -61,10 +61,11 @@
>  /**
>   * TEST: gem tiled swapping
>   * Description: Exercise swizzle code for swapping.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: swapping
> + * Feature: gtt, mapping
>   *
>   * SUBTEST: non-threaded
>   *
> diff --git a/tests/intel/gem_tiled_wb.c b/tests/intel/gem_tiled_wb.c
> index 53c1ea217..6a61fcace 100644
> --- a/tests/intel/gem_tiled_wb.c
> +++ b/tests/intel/gem_tiled_wb.c
> @@ -50,10 +50,11 @@
>   * Description:
>   *   This is a test of write-combining mmap's behavior on tiled objects with respect to the reported
>   *   swizzling value.
> - * Feature: caching, gtt
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: cache
> + * Feature: caching, gtt
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_tiled_wc.c b/tests/intel/gem_tiled_wc.c
> index 7b8e88427..ca10ab02d 100644
> --- a/tests/intel/gem_tiled_wc.c
> +++ b/tests/intel/gem_tiled_wc.c
> @@ -47,10 +47,11 @@
>  #include "i915/gem_create.h"
>  /**
>   * TEST: gem tiled wc
> - * Feature: caching, gtt
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: cache
> + * Feature: caching, gtt
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_tiling_max_stride.c b/tests/intel/gem_tiling_max_stride.c
> index 5877b887c..4021f3e7a 100644
> --- a/tests/intel/gem_tiling_max_stride.c
> +++ b/tests/intel/gem_tiling_max_stride.c
> @@ -42,10 +42,11 @@
>  /**
>   * TEST: gem tiling max stride
>   * Description: Check that max fence stride works.
> - * Feature: gtt, mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: fences
> + * Feature: gtt, mapping
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/gem_unfence_active_buffers.c b/tests/intel/gem_unfence_active_buffers.c
> index cde4771c6..14ed1167a 100644
> --- a/tests/intel/gem_unfence_active_buffers.c
> +++ b/tests/intel/gem_unfence_active_buffers.c
> @@ -55,10 +55,11 @@
>  /**
>   * TEST: gem unfence active buffers
>   * Description: Check for use-after-free in the fence stealing code.
> - * Feature: synchronization feature
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: fences
> + * Feature: synchronization
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/i915_fb_tiling.c b/tests/intel/i915_fb_tiling.c
> index 1e42555b2..eab1d661d 100644
> --- a/tests/intel/i915_fb_tiling.c
> +++ b/tests/intel/i915_fb_tiling.c
> @@ -26,10 +26,11 @@
>  /**
>   * TEST: i915 fb tiling
>   * Description: Object tiling must be fixed after framebuffer creation.
> - * Feature: mapping
> - * Sub-category: Memory management
>   * Category: Desktop client
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tiling
> + * Feature: mapping
>   *
>   * SUBTEST:
>   */
> diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
> index ce43042c8..5d17f3bf1 100644
> --- a/tests/intel/i915_selftest.c
> +++ b/tests/intel/i915_selftest.c
> @@ -54,11 +54,12 @@
>   * Sub-category: uapi
>   *
>   * SUBTEST: live@coherency
> - * Category: Selftest
>   * Description: Cache management
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: cache
>   * Test category: i915 / HW
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@debugger
>   * Category: Selftest
> @@ -74,15 +75,17 @@
>   *
>   * SUBTEST: live@dmabuf
>   * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: buffer management
>   * Test category: i915
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@evict
>   * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: GTT eviction
>   * Test category: i915
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@execlists
>   * Description: command submission backend
> @@ -140,11 +143,12 @@
>   * Test category: i915
>   *
>   * SUBTEST: live@gt_gtt
> - * Category: Selftest
>   * Description: Validation of virtual address management and execution
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: gtt
>   * Test category: HW
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@gt_heartbeat
>   * Category: Selftest
> @@ -183,16 +187,18 @@
>   *
>   * SUBTEST: live@gt_tlb
>   * Category: Selftest
> - * Test category: Memory Management
> - * Sub-category: Memory management
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tlb
> + * Test category: Memory Management
>   *
>   * SUBTEST: live@gtt
> - * Category: Selftest
>   * Description: Virtual address management interface validation
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: virtual address
>   * Test category: i915
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@gtt_l4wa
>   * Category: Selftest
> @@ -237,11 +243,12 @@
>   * Sub-category: Reset
>   *
>   * SUBTEST: live@hugepages
> - * Category: Selftest
>   * Description: Large page support validation
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: large page
>   * Test category: i915
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@late_gt_pm
>   * Category: Selftest
> @@ -251,32 +258,36 @@
>   * Sub-category: Power management
>   *
>   * SUBTEST: live@lmem
> + * Description: Basic i915 driver module selftests
>   * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Feature: local_memory
> - * Description: Basic i915 driver module selftests
>   * Functionality: local memory
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@memory_region
> - * Category: Selftest
>   * Description: memory topology validation and migration checks
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: memory topology
>   * Test category: i915 / HW
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@memory_region_cross_tile
>   * Category: Selftest
>   * Mega feature: General Core features
>   * Description: Multi-tile memory topology validation
> - * Functionality: memory topology
> + * Category: Selftest
>   * Sub-category: MultiTile
> + * Functionality: memory topology
>   *
>   * SUBTEST: live@mman
> - * Category: Selftest
>   * Description: memory management validation
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: mapping
>   * Test category: i915
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@obj_lock
>   * Category: Selftest
> @@ -357,11 +368,12 @@
>   * Sub-category: Power management
>   *
>   * SUBTEST: live@vma
> - * Category: Selftest
>   * Description: Per-object virtual address management
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: virtual address
>   * Test category: i915
> - * Sub-category: Memory management
>   *
>   * SUBTEST: live@win_blt_copy
>   * Category: Selftest
> @@ -384,11 +396,12 @@
>   * Feature: gem_core
>   *
>   * SUBTEST: mock@buddy
> - * Category: Selftest
>   * Description: Buddy allocation
> + * Category: Selftest
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: buddy allocation
>   * Test category: DRM
> - * Sub-category: Memory management
>   *
>   * SUBTEST: mock@contexts
>   * Category: Selftest
> @@ -511,9 +524,10 @@
>   *
>   * SUBTEST: mock@tlb
>   * Category: Selftest
> - * Test category: Memory Management
> - * Sub-category: Memory management
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: tlb
> + * Test category: Memory Management
>   *
>   * SUBTEST: mock@uncore
>   * Category: Selftest
> diff --git a/tests/intel/prime_busy.c b/tests/intel/prime_busy.c
> index 66af5f8a3..a7c3f3499 100644
> --- a/tests/intel/prime_busy.c
> +++ b/tests/intel/prime_busy.c
> @@ -28,12 +28,13 @@
>  #include "igt.h"
>  /**
>   * TEST: prime busy
> - * Category: Infrastructure
>   * Description: Basic check of polling for prime fences.
> - * Feature: prime
> + * Category: Infrastructure
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: buffer management
> - * Sub-category: Memory management
>   * Test category: GEM_Legacy
> + * Feature: prime
>   *
>   * SUBTEST: after
>   *
> diff --git a/tests/intel/prime_mmap.c b/tests/intel/prime_mmap.c
> index 3c0a0c0e5..c874bbd1f 100644
> --- a/tests/intel/prime_mmap.c
> +++ b/tests/intel/prime_mmap.c
> @@ -53,10 +53,11 @@
>  /**
>   * TEST: prime mmap
>   * Category: Infrastructure
> - * Feature: prime
> - * Functionality: prime mmap
> - * Sub-category: Memory management
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
> + * Functionality: prime
>   * Test category: GEM_Legacy
> + * Feature: prime
>   *
>   * SUBTEST: test_aperture_limit
>   *
> diff --git a/tests/intel/prime_mmap_coherency.c b/tests/intel/prime_mmap_coherency.c
> index 3db79156d..73449d8bb 100644
> --- a/tests/intel/prime_mmap_coherency.c
> +++ b/tests/intel/prime_mmap_coherency.c
> @@ -33,13 +33,14 @@
>  #include "igt.h"
>  /**
>   * TEST: prime mmap coherency
> - * Category: Infrastructure
>   * Description:
>   *   Test dma-buf mmap on !llc platforms mostly and provoke coherency bugs so we know for sure where
>   *   we need the sync ioctls.
> + * Category: Infrastructure
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
> + * Functionality: prime
>   * Feature: prime
> - * Functionality: prime mmap
> - * Sub-category: Memory management
>   * Test category: GEM_Legacy
>   *
>   * SUBTEST: ioctl-errors
> diff --git a/tests/intel/prime_self_import.c b/tests/intel/prime_self_import.c
> index 7bf947cf4..7603c1763 100644
> --- a/tests/intel/prime_self_import.c
> +++ b/tests/intel/prime_self_import.c
> @@ -47,12 +47,13 @@
>  #include "i915/gem_create.h"
>  /**
>   * TEST: prime self import
> - * Category: Infrastructure
>   * Description: Check whether prime import/export works on the same device... but with different fds.
> - * Feature: prime
> + * Category: Infrastructure
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: buffer management
> - * Sub-category: Memory management
>   * Test category: GEM_Legacy
> + * Feature: prime
>   *
>   * SUBTEST: basic-llseek-bad
>   * Description: Check dmabuf llseek support with invalid values.
> diff --git a/tests/intel/xe_evict.c b/tests/intel/xe_evict.c
> index 5994ebb14..d5f6cea32 100644
> --- a/tests/intel/xe_evict.c
> +++ b/tests/intel/xe_evict.c
> @@ -6,6 +6,7 @@
>  /**
>   * TEST: Check VMA eviction
>   * Category: Software building block
> + * Mega feature: General Core features
>   * Sub-category: VMA
>   * Functionality: eviction
>   * GPU requirements: GPU needs to have dedicated VRAM
> @@ -486,6 +487,7 @@ static uint64_t calc_bo_size(uint64_t vram_size, int mul, int div)
>   * @beng-large-multi-vm:	large multi VM bind exec_queue
>   */
>  /**
> + *
>   * SUBTEST: evict-%s
>   * Description:  %arg[1] evict test.
>   * Feature: compute machine
> diff --git a/tests/intel/xe_mmap.c b/tests/intel/xe_mmap.c
> index dcd36a50d..353d157da 100644
> --- a/tests/intel/xe_mmap.c
> +++ b/tests/intel/xe_mmap.c
> @@ -6,7 +6,8 @@
>  /**
>   * TEST: Test if the driver is capable of doing mmap on different memory regions
>   * Category: Software building block
> - * Sub-category: Memory management
> + * Mega feature: General Core features
> + * Sub-category: Memory management tests
>   * Functionality: mmap
>   */
>  
> diff --git a/tests/intel/xe_pat.c b/tests/intel/xe_pat.c
> index d20100d7e..a48cd084b 100644
> --- a/tests/intel/xe_pat.c
> +++ b/tests/intel/xe_pat.c
> @@ -6,6 +6,7 @@
>  /**
>   * TEST: Test for selecting per-VMA pat_index
>   * Category: Software building block
> + * Mega feature: General Core features
>   * Sub-category: VMA
>   * Functionality: pat_index
>   */
> diff --git a/tests/intel/xe_vm.c b/tests/intel/xe_vm.c
> index 13cca2752..695a7882c 100644
> --- a/tests/intel/xe_vm.c
> +++ b/tests/intel/xe_vm.c
> @@ -6,6 +6,7 @@
>  /**
>   * TEST: Check if VMA functionality is working
>   * Category: Software building block
> + * Mega feature: General Core features
>   * Sub-category: VMA
>   */
>  
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests
  2024-04-25 15:36 ` [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Mauro Carvalho Chehab
@ 2024-04-25 17:29   ` Kamil Konieczny
  2024-04-26  7:25     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 25+ messages in thread
From: Kamil Konieczny @ 2024-04-25 17:29 UTC (permalink / raw)
  To: igt-dev
  Cc: Mauro Carvalho Chehab, Katarzyna Piecielska, Aditya Chauhan,
	Girotra Himanshu, Sandeep Kumar Parupalli

Hi,

On 2024-04-25 at 17:36:05 +0200, Mauro Carvalho Chehab wrote:
> On Tue, 23 Apr 2024 10:48:57 +0000
> Katarzyna Piecielska <katarzyna.piecielska@intel.com> wrote:
> 
> > After Xe and i915 test documentation alignment there is now time to
> > add Mega feature field. After live review of v1 we decided to reduce
> > number of Mega feature values:
> > 
> >  - General Core features will cover:
> > 	legacy and DRIVER_ANY tests
> > 	legacy and DRIVER_INTEL i915 tests
> > 	general Xe tests
> > 	Blitter tests
> > 	Command Submission tests
> > 	Memory management tests, VMA,
> >  - Compute
> > 	Compute tests
> > 	GPGPU tests
> >  - Compression
> > 	FlatCCS tests
> >  - Media
> > 	Media tests
> >  - Performance interface
> > 	Performance interface tests
> >  - Power management
> > 	Power management tests
> >  - RAS
> > 	RAS tests
> >  - Render
> > 	Render copy, 3d
> >  - SysMan
> > 	SysMan tests
> > 
> > Also adding missing Mega feature to Display tests: General Display
> > Features.
> 
> Those are the feature-mapping warnings after applying this series
> 
> - for Xe:
> 
> WARNING: feature Blitter has multiple parents: Hardware building block and Software building block
> WARNING: feature Power management has multiple parents: Infrastructure and Software building block
> WARNING: feature driver has multiple parents: Software building block and Hardware building block
> WARNING: feature RAS has multiple parents: Software Building Block and Hardware building block
> WARNING: feature CMD submission has multiple parents: Hardware building block and Software building block
> WARNING: feature MultiGPU has multiple parents: Hardware building block and Software building block
> WARNING: feature compute is duplicated at Functionality and Sub-category
> WARNING: feature compute has multiple parents: CMD submission and Hardware building block
> WARNING: feature compute has multiple hierarchical levels: 3 and 2
> 

As for 'compute' here is what a script founds:

$ grep compute c.*

c.Functionality:computeYtest
c.Mega.feature:compute
c.Sub-category:computeYtests

where space is replaced by 'Y'. Btw 'compute tests' and 'compute test' is
very misleading and could be error prone, maybe rename to some other term?

> - for i915:
> 
> WARNING: feature CMD submission has multiple parents: None and Infrastructure
> WARNING: feature CMD submission has multiple hierarchical levels: 1 and 2

'None' here and below looks a little strange.

Regards,
Kamil

> WARNING: feature Memory management has multiple parents: Server and None
> WARNING: feature Memory management has multiple hierarchical levels: 2 and 1
> WARNING: feature Power management has multiple parents: Firmware and None
> WARNING: feature Power management has multiple hierarchical levels: 2 and 1
> WARNING: feature SysMan has multiple parents: None and Desktop \ Server
> WARNING: feature SysMan has multiple hierarchical levels: 1 and 2
> WARNING: feature uapi has multiple parents: Infrastructure and None
> WARNING: feature uapi has multiple hierarchical levels: 2 and 1
> WARNING: feature driver handler has multiple parents: CMD submission and driver
> WARNING: feature buffer management has multiple parents: Memory management and DRM
> WARNING: feature Blitter is duplicated at Functionality and Sub-category
> WARNING: feature Blitter has multiple parents: blitter and None
> WARNING: feature Blitter has multiple hierarchical levels: 2 and 1
> WARNING: feature Context has multiple parents: Desktop client and Infrastructure
> WARNING: feature Performance has multiple parents: Server and None
> WARNING: feature Performance has multiple hierarchical levels: 2 and 1
> WARNING: feature Display has multiple parents: None and Selftest
> WARNING: feature Display has multiple hierarchical levels: 1 and 2
> WARNING: feature CMD Submission has multiple parents: None and Selftest
> WARNING: feature CMD Submission has multiple hierarchical levels: 1 and 2
> WARNING: feature SR-IOV has multiple parents: Desktop \ Server and HW
> WARNING: feature driver has multiple parents: Infrastructure and None
> WARNING: feature driver has multiple hierarchical levels: 2 and 1
> WARNING: feature DRM has multiple parents: Desktop client and Infrastructure
> 
> > 
> > Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
> > Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> > Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
> > Cc: Aditya Chauhan <aditya.chauhan@intel.com>
> > Cc: Girotra Himanshu <himanshu.girotra@intel.com>
> > CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli@intel.com>
> > 
> > Katarzyna Piecielska (16):
> >   tests/intel: Introduce General Core Mega feature
> >   tests: Add Memory management tests to General Core Mega feature
> >   tests/intel: Add Blitter tests to General Core Mega feature
> >   tests/intel: Introduce Power management Mega feature
> >   tests/intel: Introduce Compute Mega feature
> >   tests: Add DRIVER_ANY tests to General Core Mega feature
> >   tests/intel: Add legacy i915 tests to General Core Mega feature
> >   tests/intel: Introduce SysMan Mega feature
> >   tests/intel: Add general XE tests to General Core Mega feature
> >   tests/intel: Introduce Performance Mega feature
> >   tests/intel: Introduce Compression Mega feature
> >   tests/intel: Introduce Render Mega feature
> >   tests/intel: Add GPGPU tests to Compute Mega feature
> >   tests/intel: Introduce Media Mega feature
> >   tests/intel: Introduce RAS Mega feature
> >   tests/intel: Add display tests to General Display Features
> > 
> >  tests/core_auth.c                            |   7 +-
> >  tests/core_getclient.c                       |   7 +-
> >  tests/core_getstats.c                        |   7 +-
> >  tests/core_getversion.c                      |   7 +-
> >  tests/core_hotunplug.c                       |   5 +-
> >  tests/core_setmaster.c                       |   7 +-
> >  tests/core_setmaster_vs_auth.c               |   7 +-
> >  tests/device_reset.c                         |  11 +-
> >  tests/dmabuf.c                               |   4 +-
> >  tests/drm_mm.c                               |   5 +-
> >  tests/dumb_buffer.c                          |   7 +-
> >  tests/intel/api_intel_allocator.c            |   5 +-
> >  tests/intel/api_intel_bb.c                   |   7 +-
> >  tests/intel/debugfs_test.c                   |   5 +-
> >  tests/intel/drm_fdinfo.c                     |   7 +-
> >  tests/intel/gem_bad_reloc.c                  |   5 +-
> >  tests/intel/gem_barrier_race.c               |   1 +
> >  tests/intel/gem_basic.c                      |   5 +-
> >  tests/intel/gem_blits.c                      |   5 +-
> >  tests/intel/gem_busy.c                       |   3 +-
> >  tests/intel/gem_caching.c                    |   7 +-
> >  tests/intel/gem_ccs.c                        |   5 +-
> >  tests/intel/gem_close.c                      |   5 +-
> >  tests/intel/gem_close_race.c                 |   5 +-
> >  tests/intel/gem_compute.c                    |   5 +-
> >  tests/intel/gem_create.c                     |   5 +-
> >  tests/intel/gem_cs_tlb.c                     |   7 +-
> >  tests/intel/gem_ctx_bad_destroy.c            |   7 +-
> >  tests/intel/gem_ctx_create.c                 |   5 +-
> >  tests/intel/gem_ctx_engines.c                |   5 +-
> >  tests/intel/gem_ctx_exec.c                   |   5 +-
> >  tests/intel/gem_ctx_freq.c                   |   5 +-
> >  tests/intel/gem_ctx_isolation.c              |   5 +-
> >  tests/intel/gem_ctx_param.c                  |   5 +-
> >  tests/intel/gem_ctx_persistence.c            |   5 +-
> >  tests/intel/gem_ctx_shared.c                 |   5 +-
> >  tests/intel/gem_ctx_sseu.c                   |   5 +-
> >  tests/intel/gem_ctx_switch.c                 |   1 +
> >  tests/intel/gem_eio.c                        |   5 +-
> >  tests/intel/gem_evict_alignment.c            |   3 +-
> >  tests/intel/gem_evict_everything.c           |   3 +-
> >  tests/intel/gem_exec_alignment.c             |   7 +-
> >  tests/intel/gem_exec_async.c                 |   5 +-
> >  tests/intel/gem_exec_await.c                 |   5 +-
> >  tests/intel/gem_exec_balancer.c              |   5 +-
> >  tests/intel/gem_exec_basic.c                 |   5 +-
> >  tests/intel/gem_exec_big.c                   |   3 +-
> >  tests/intel/gem_exec_capture.c               |   5 +-
> >  tests/intel/gem_exec_create.c                |   5 +-
> >  tests/intel/gem_exec_endless.c               |   1 +
> >  tests/intel/gem_exec_fair.c                  |   5 +-
> >  tests/intel/gem_exec_fence.c                 |   5 +-
> >  tests/intel/gem_exec_flush.c                 |   1 +
> >  tests/intel/gem_exec_gttfill.c               |   5 +-
> >  tests/intel/gem_exec_latency.c               |   3 +-
> >  tests/intel/gem_exec_lut_handle.c            |   3 +-
> >  tests/intel/gem_exec_nop.c                   |   5 +-
> >  tests/intel/gem_exec_parallel.c              |   6 +-
> >  tests/intel/gem_exec_params.c                |   5 +-
> >  tests/intel/gem_exec_reloc.c                 |   3 +-
> >  tests/intel/gem_exec_schedule.c              |   5 +-
> >  tests/intel/gem_exec_store.c                 |   7 +-
> >  tests/intel/gem_exec_suspend.c               |   5 +-
> >  tests/intel/gem_exec_whisper.c               |   3 +-
> >  tests/intel/gem_exercise_blt.c               |   5 +-
> >  tests/intel/gem_fd_exhaustion.c              |   3 +-
> >  tests/intel/gem_fence_thrash.c               |   5 +-
> >  tests/intel/gem_fence_upload.c               |   3 +-
> >  tests/intel/gem_fenced_exec_thrash.c         |   1 +
> >  tests/intel/gem_flink_basic.c                |   7 +-
> >  tests/intel/gem_flink_race.c                 |   7 +-
> >  tests/intel/gem_gpgpu_fill.c                 |   3 +-
> >  tests/intel/gem_gtt_cpu_tlb.c                |   8 +-
> >  tests/intel/gem_gtt_hog.c                    |   3 +-
> >  tests/intel/gem_gtt_speed.c                  |   3 +-
> >  tests/intel/gem_huc_copy.c                   |   7 +-
> >  tests/intel/gem_linear_blits.c               |   7 +-
> >  tests/intel/gem_lmem_evict.c                 |   5 +-
> >  tests/intel/gem_lmem_swapping.c              |   7 +-
> >  tests/intel/gem_lut_handle.c                 |   3 +-
> >  tests/intel/gem_madvise.c                    |   7 +-
> >  tests/intel/gem_media_fill.c                 |   7 +-
> >  tests/intel/gem_media_vme.c                  |   5 +-
> >  tests/intel/gem_mmap.c                       |   7 +-
> >  tests/intel/gem_mmap_gtt.c                   |   5 +-
> >  tests/intel/gem_mmap_offset.c                |   5 +-
> >  tests/intel/gem_mmap_wc.c                    |   5 +-
> >  tests/intel/gem_partial_pwrite_pread.c       |   5 +-
> >  tests/intel/gem_pipe_control_store_loop.c    |   5 +-
> >  tests/intel/gem_ppgtt.c                      |   5 +-
> >  tests/intel/gem_pread.c                      |   5 +-
> >  tests/intel/gem_pread_after_blit.c           |   3 +-
> >  tests/intel/gem_pwrite.c                     |   3 +-
> >  tests/intel/gem_pwrite_snooped.c             |   1 +
> >  tests/intel/gem_pxp.c                        |   7 +-
> >  tests/intel/gem_read_read_speed.c            |   3 +-
> >  tests/intel/gem_readwrite.c                  |   5 +-
> >  tests/intel/gem_reg_read.c                   |   5 +-
> >  tests/intel/gem_render_copy.c                |   5 +-
> >  tests/intel/gem_render_copy_redux.c          |   3 +-
> >  tests/intel/gem_render_linear_blits.c        |   5 +-
> >  tests/intel/gem_render_tiled_blits.c         |   5 +-
> >  tests/intel/gem_request_retire.c             |   7 +-
> >  tests/intel/gem_reset_stats.c                |   5 +-
> >  tests/intel/gem_ringfill.c                   |   7 +-
> >  tests/intel/gem_set_tiling_vs_blt.c          |   7 +-
> >  tests/intel/gem_set_tiling_vs_gtt.c          |   5 +-
> >  tests/intel/gem_set_tiling_vs_pwrite.c       |   5 +-
> >  tests/intel/gem_shrink.c                     |   3 +-
> >  tests/intel/gem_softpin.c                    |   7 +-
> >  tests/intel/gem_spin_batch.c                 |   7 +-
> >  tests/intel/gem_streaming_writes.c           |   3 +-
> >  tests/intel/gem_stress.c                     |   1 +
> >  tests/intel/gem_sync.c                       |   7 +-
> >  tests/intel/gem_tiled_blits.c                |   5 +-
> >  tests/intel/gem_tiled_fence_blits.c          |   5 +-
> >  tests/intel/gem_tiled_partial_pwrite_pread.c |   5 +-
> >  tests/intel/gem_tiled_pread_basic.c          |   5 +-
> >  tests/intel/gem_tiled_pread_pwrite.c         |   5 +-
> >  tests/intel/gem_tiled_swapping.c             |   5 +-
> >  tests/intel/gem_tiled_wb.c                   |   5 +-
> >  tests/intel/gem_tiled_wc.c                   |   5 +-
> >  tests/intel/gem_tiling_max_stride.c          |   5 +-
> >  tests/intel/gem_unfence_active_buffers.c     |   5 +-
> >  tests/intel/gem_unref_active_buffers.c       |   7 +-
> >  tests/intel/gem_userptr_blits.c              |   5 +-
> >  tests/intel/gem_vm_create.c                  |   3 +-
> >  tests/intel/gem_wait.c                       |   9 +-
> >  tests/intel/gem_watchdog.c                   |   5 +-
> >  tests/intel/gem_workarounds.c                |   5 +-
> >  tests/intel/gen3_mixed_blits.c               |   1 +
> >  tests/intel/gen3_render_linear_blits.c       |   1 +
> >  tests/intel/gen3_render_mixed_blits.c        |   1 +
> >  tests/intel/gen3_render_tiledx_blits.c       |   1 +
> >  tests/intel/gen3_render_tiledy_blits.c       |   1 +
> >  tests/intel/gen7_exec_parse.c                |   3 +-
> >  tests/intel/gen9_exec_parse.c                |   7 +-
> >  tests/intel/i915_fb_tiling.c                 |   5 +-
> >  tests/intel/i915_getparams_basic.c           |   7 +-
> >  tests/intel/i915_hangman.c                   |   7 +-
> >  tests/intel/i915_module_load.c               |   7 +-
> >  tests/intel/i915_pciid.c                     |   7 +-
> >  tests/intel/i915_pipe_stress.c               |   4 +-
> >  tests/intel/i915_pm_freq_api.c               |   1 +
> >  tests/intel/i915_pm_freq_mult.c              |   7 +-
> >  tests/intel/i915_pm_rc6_residency.c          |   7 +-
> >  tests/intel/i915_pm_rpm.c                    |   7 +-
> >  tests/intel/i915_pm_rps.c                    |   7 +-
> >  tests/intel/i915_pm_sseu.c                   |   5 +-
> >  tests/intel/i915_power.c                     |   7 +-
> >  tests/intel/i915_query.c                     |   7 +-
> >  tests/intel/i915_selftest.c                  | 370 +++++++++++--------
> >  tests/intel/i915_suspend.c                   |   8 +-
> >  tests/intel/intel_hwmon.c                    |   3 +-
> >  tests/intel/perf.c                           |   7 +-
> >  tests/intel/perf_pmu.c                       |   7 +-
> >  tests/intel/prime_busy.c                     |   7 +-
> >  tests/intel/prime_mmap.c                     |   7 +-
> >  tests/intel/prime_mmap_coherency.c           |   7 +-
> >  tests/intel/prime_mmap_kms.c                 |   5 +-
> >  tests/intel/prime_self_import.c              |   7 +-
> >  tests/intel/sysfs_defaults.c                 |   5 +-
> >  tests/intel/sysfs_heartbeat_interval.c       |   7 +-
> >  tests/intel/sysfs_preempt_timeout.c          |   7 +-
> >  tests/intel/sysfs_timeslice_duration.c       |   7 +-
> >  tests/intel/xe_ccs.c                         |   3 +-
> >  tests/intel/xe_compute.c                     |   3 +-
> >  tests/intel/xe_compute_preempt.c             |   3 +-
> >  tests/intel/xe_copy_basic.c                  |   3 +-
> >  tests/intel/xe_create.c                      |   1 +
> >  tests/intel/xe_debugfs.c                     |   3 +-
> >  tests/intel/xe_dma_buf_sync.c                |   1 +
> >  tests/intel/xe_drm_fdinfo.c                  |   3 +-
> >  tests/intel/xe_evict.c                       |   2 +
> >  tests/intel/xe_evict_ccs.c                   |   3 +-
> >  tests/intel/xe_exec_atomic.c                 |   1 +
> >  tests/intel/xe_exec_balancer.c               |   2 +-
> >  tests/intel/xe_exec_basic.c                  |   1 +
> >  tests/intel/xe_exec_compute_mode.c           |   1 +
> >  tests/intel/xe_exec_fault_mode.c             |   1 +
> >  tests/intel/xe_exec_queue_property.c         |   1 +
> >  tests/intel/xe_exec_reset.c                  |   5 +-
> >  tests/intel/xe_exec_store.c                  |   1 +
> >  tests/intel/xe_exec_threads.c                |   1 +
> >  tests/intel/xe_exercise_blt.c                |   3 +-
> >  tests/intel/xe_gpgpu_fill.c                  |   3 +-
> >  tests/intel/xe_gt_freq.c                     |   3 +-
> >  tests/intel/xe_huc_copy.c                    |   1 +
> >  tests/intel/xe_intel_bb.c                    |   1 +
> >  tests/intel/xe_live_ktest.c                  |   1 +
> >  tests/intel/xe_media_fill.c                  |   9 +-
> >  tests/intel/xe_mmap.c                        |   3 +-
> >  tests/intel/xe_module_load.c                 |   1 +
> >  tests/intel/xe_noexec_ping_pong.c            |   3 +-
> >  tests/intel/xe_pat.c                         |   1 +
> >  tests/intel/xe_peer2peer.c                   |   3 +-
> >  tests/intel/xe_pm.c                          |   3 +-
> >  tests/intel/xe_pm_residency.c                |   3 +-
> >  tests/intel/xe_prime_self_import.c           |   1 +
> >  tests/intel/xe_query.c                       |  66 ++--
> >  tests/intel/xe_render_copy.c                 |   1 +
> >  tests/intel/xe_spin_batch.c                  |   1 +
> >  tests/intel/xe_sysfs_defaults.c              |   6 +-
> >  tests/intel/xe_sysfs_scheduler.c             |   3 +-
> >  tests/intel/xe_vm.c                          |   1 +
> >  tests/intel/xe_waitfence.c                   |   2 +
> >  tests/prime_vgem.c                           |   7 +-
> >  tests/sw_sync.c                              |   9 +-
> >  tests/syncobj_basic.c                        |   7 +-
> >  tests/syncobj_timeline.c                     |   9 +-
> >  tests/syncobj_wait.c                         |   9 +-
> >  tests/vgem_basic.c                           |   5 +-
> >  tests/vgem_slow.c                            |   7 +-
> >  213 files changed, 859 insertions(+), 559 deletions(-)
> > 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests
  2024-04-25 17:29   ` Kamil Konieczny
@ 2024-04-26  7:25     ` Mauro Carvalho Chehab
  2024-04-26  8:09       ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 25+ messages in thread
From: Mauro Carvalho Chehab @ 2024-04-26  7:25 UTC (permalink / raw)
  To: Kamil Konieczny
  Cc: igt-dev, Katarzyna Piecielska, Aditya Chauhan, Girotra Himanshu,
	Sandeep Kumar Parupalli

On Thu, 25 Apr 2024 19:29:13 +0200
Kamil Konieczny <kamil.konieczny@linux.intel.com> wrote:

> > - for i915:
> > 
> > WARNING: feature CMD submission has multiple parents: None and Infrastructure
> > WARNING: feature CMD submission has multiple hierarchical levels: 1 and 2  
> 
> 'None' here and below looks a little strange.

Indeed. I'll take a better look on how such warning was generated.

Regards,
Mauro

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests
  2024-04-26  7:25     ` Mauro Carvalho Chehab
@ 2024-04-26  8:09       ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 25+ messages in thread
From: Mauro Carvalho Chehab @ 2024-04-26  8:09 UTC (permalink / raw)
  To: Kamil Konieczny
  Cc: igt-dev, Katarzyna Piecielska, Aditya Chauhan, Girotra Himanshu,
	Sandeep Kumar Parupalli

On Fri, 26 Apr 2024 09:25:45 +0200
Mauro Carvalho Chehab <mauro.chehab@linux.intel.com> wrote:

> On Thu, 25 Apr 2024 19:29:13 +0200
> Kamil Konieczny <kamil.konieczny@linux.intel.com> wrote:
> 
> > > - for i915:
> > > 
> > > WARNING: feature CMD submission has multiple parents: None and Infrastructure
> > > WARNING: feature CMD submission has multiple hierarchical levels: 1 and 2    
> > 
> > 'None' here and below looks a little strange.  

I double-checked the logic which produces such warning: None means that
it is on the first level (so, no parents).

> 
> Indeed. I'll take a better look on how such warning was generated.

The output I pasted is bogus: the code was using a very old version of
definitions from an old repository (from the time  gem_pwrite_snooped.c 
was at tests/i915/).

Fixing it produces a different set of warnings:

WARNING: feature pwrite has multiple hierarchical levels: 3 and 4
WARNING: feature CMD submission has multiple parents: Desktop client and General Core features
WARNING: feature CMD submission has multiple hierarchical levels: 2 and 3
WARNING: feature General Core features has multiple parents: Server and Infrastructure
WARNING: feature buffer management has multiple parents: Memory management tests and CMD submission
WARNING: feature driver handler has multiple parents: CMD submission and driver
WARNING: feature sseu has multiple parents: uapi and Power management tests
WARNING: feature semaphore has multiple parents: CMD submission and Synchronization
WARNING: feature command parser has multiple parents: Blitter tests and CMD submission
WARNING: feature coherency has multiple parents: CMD submission and Caching
WARNING: feature fences has multiple parents: Memory management tests and CMD submission
WARNING: feature tiling has multiple parents: Blitter tests and Memory management tests
WARNING: feature context has multiple parents: Workarounds and Compute tests
WARNING: feature sysfs reset has multiple parents: Reset and SysMan tests
WARNING: feature drm_mm has multiple parents: Memory management and Memory management tests
WARNING: feature mock device has multiple parents: DRM and Core

Regards,
Mauro

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2024-04-26  8:09 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23 10:48 [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Katarzyna Piecielska
2024-04-23 10:48 ` [PATCH i-g-t v2 01/16] tests/intel: Introduce General Core Mega feature Katarzyna Piecielska
2024-04-23 10:48 ` [PATCH i-g-t v2 02/16] tests: Add Memory management tests to " Katarzyna Piecielska
2024-04-25 17:19   ` Kamil Konieczny
2024-04-23 10:49 ` [PATCH i-g-t v2 03/16] tests/intel: Add Blitter " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 04/16] tests/intel: Introduce Power management " Katarzyna Piecielska
2024-04-25 17:11   ` Kamil Konieczny
2024-04-23 10:49 ` [PATCH i-g-t v2 05/16] tests/intel: Introduce Compute " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 06/16] tests: Add DRIVER_ANY tests to General Core " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 07/16] tests/intel: Add legacy i915 " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 08/16] tests/intel: Introduce SysMan " Katarzyna Piecielska
2024-04-25 17:15   ` Kamil Konieczny
2024-04-23 10:49 ` [PATCH i-g-t v2 09/16] tests/intel: Add general XE tests to General Core " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 10/16] tests/intel: Introduce Performance " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 11/16] tests/intel: Introduce Compression " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 12/16] tests/intel: Introduce Render " Katarzyna Piecielska
2024-04-25 17:07   ` Kamil Konieczny
2024-04-23 10:49 ` [PATCH i-g-t v2 13/16] tests/intel: Add GPGPU tests to Compute " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 14/16] tests/intel: Introduce Media " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 15/16] tests/intel: Introduce RAS " Katarzyna Piecielska
2024-04-23 10:49 ` [PATCH i-g-t v2 16/16] tests/intel: Add display tests to General Display Features Katarzyna Piecielska
2024-04-25 15:36 ` [PATCH i-g-t v2 00/16] Introduce Mega feature to Xe and i915 tests Mauro Carvalho Chehab
2024-04-25 17:29   ` Kamil Konieczny
2024-04-26  7:25     ` Mauro Carvalho Chehab
2024-04-26  8:09       ` Mauro Carvalho Chehab

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.