[Intel-xe] [PATCH 0/2] Group kunit tests

Lucas De Marchi lucas.demarchi at intel.com
Wed Nov 22 20:31:45 UTC 2023


Group kunit tests in 2 sets: normal and live tests. We don't need one
kernel module for each compilation unit. Running the "normal" kunit
tests via UMD continues to work in the same way as kunit.py figures out
from the attributes what is the module to use. For the live kunit tests,
it will need a patch in igt that I will provide.

Lucas De Marchi (2):
  drm/xe: Group normal kunit tests in a single module
  drm/xe: Group live kunit tests

 drivers/gpu/drm/xe/tests/Makefile           | 10 ++++++++--
 drivers/gpu/drm/xe/tests/xe_bo_test.c       |  5 -----
 drivers/gpu/drm/xe/tests/xe_dma_buf_test.c  |  5 -----
 drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 10 ++++++++++
 drivers/gpu/drm/xe/tests/xe_migrate_test.c  |  5 -----
 drivers/gpu/drm/xe/tests/xe_mocs_test.c     |  4 ----
 drivers/gpu/drm/xe/tests/xe_pci_test.c      |  5 -----
 drivers/gpu/drm/xe/tests/xe_rtp_test.c      |  5 -----
 drivers/gpu/drm/xe/tests/xe_test_mod.c      | 10 ++++++++++
 drivers/gpu/drm/xe/tests/xe_wa_test.c       |  5 -----
 10 files changed, 28 insertions(+), 36 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_live_test_mod.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_test_mod.c

-- 
2.40.1



More information about the Intel-xe mailing list