]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/kunit: Simplify xe_migrate live tests code layout
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 8 Jul 2024 11:12:09 +0000 (13:12 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 12 Jul 2024 08:49:49 +0000 (10:49 +0200)
commit0237368193e897aadeea9801126c101e33047354
tree54acba3e993b234aafb7c2fe19de4ad41d8fd9fa
parentff10c99ab1e644fed578dce13e94e372d2c688c3
drm/xe/kunit: Simplify xe_migrate live tests code layout

The test case logic is implemented by the functions compiled as
part of the core Xe driver module and then exported to build and
register the test suite in the live test module.

But we don't need to export individual test case functions, we may
just export the entire test suite. And we don't need to register
this test suite in a separate file, it can be done in the main
file of the live test module.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240708111210.1154-4-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/tests/Makefile
drivers/gpu/drm/xe/tests/xe_live_test_mod.c
drivers/gpu/drm/xe/tests/xe_migrate.c
drivers/gpu/drm/xe/tests/xe_migrate_test.c [deleted file]
drivers/gpu/drm/xe/tests/xe_migrate_test.h [deleted file]