]> www.infradead.org Git - users/hch/configfs.git/commit
drm/xe/kunit: Simplify xe_bo live tests code layout
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 8 Jul 2024 11:12:07 +0000 (13:12 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 12 Jul 2024 08:49:45 +0000 (10:49 +0200)
commitd6e850acc716d0fad756f09488d198db2077141e
tree105f516203a51e262f877ad77d83762f4228537b
parent57c2b3e684ba3e82e9944bc1975e047bd1630537
drm/xe/kunit: Simplify xe_bo 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-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/tests/Makefile
drivers/gpu/drm/xe/tests/xe_bo.c
drivers/gpu/drm/xe/tests/xe_bo_test.c [deleted file]
drivers/gpu/drm/xe/tests/xe_bo_test.h [deleted file]
drivers/gpu/drm/xe/tests/xe_live_test_mod.c