drm/xe: Group normal kunit tests in a single module
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 22 Nov 2023 20:31:46 +0000 (12:31 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 16 Jan 2024 17:53:27 +0000 (09:53 -0800)
commit85f3b79fb5788e2a1ec938a70d8f5c7150a670b9
tree1bee9e3da2e2bf6d3af7a45c0002590dc329eaed
parentddc3c0877e16669eb61782f0fe3abc786cc426a1
drm/xe: Group normal kunit tests in a single module

Creating one module for each compilation unit to be tested seems
excessive as the number of tests increase. Group them all in a single
kunit test module called xe_test.ko.

The tests requiring the physical device, aka "live" tests, are still
kept in separate modules since they are normally triggered via igt,
and not via kunit.py. After igt is converted, those can be merged in
a single module as well.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231122203147.988021-2-lucas.demarchi@intel.com
drivers/gpu/drm/xe/tests/Makefile
drivers/gpu/drm/xe/tests/xe_pci_test.c
drivers/gpu/drm/xe/tests/xe_rtp_test.c
drivers/gpu/drm/xe/tests/xe_test_mod.c [new file with mode: 0644]
drivers/gpu/drm/xe/tests/xe_wa_test.c