]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/kunit: Simplify xe_dma_buf live tests code layout
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 8 Jul 2024 11:12:08 +0000 (13:12 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 12 Jul 2024 08:49:47 +0000 (10:49 +0200)
commitff10c99ab1e644fed578dce13e94e372d2c688c3
tree5a3f557d8a88d60062da999a63acd5515a06f6ac
parentd6e850acc716d0fad756f09488d198db2077141e
drm/xe/kunit: Simplify xe_dma_buf 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-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/tests/Makefile
drivers/gpu/drm/xe/tests/xe_dma_buf.c
drivers/gpu/drm/xe/tests/xe_dma_buf_test.c [deleted file]
drivers/gpu/drm/xe/tests/xe_dma_buf_test.h [deleted file]
drivers/gpu/drm/xe/tests/xe_live_test_mod.c