]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/kunit: Simplify xe_mocs live tests code layout
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 8 Jul 2024 11:12:10 +0000 (13:12 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 12 Jul 2024 08:49:51 +0000 (10:49 +0200)
commite97701a069612ba2fa1d92b56a720b108049df4e
tree6714925ec845f12635bdf875d41b0436e9babb89
parent0237368193e897aadeea9801126c101e33047354
drm/xe/kunit: Simplify xe_mocs 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-5-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_mocs.c
drivers/gpu/drm/xe/tests/xe_mocs_test.c [deleted file]
drivers/gpu/drm/xe/tests/xe_mocs_test.h [deleted file]