Re: [PATCH 1/3] [v2] drm/xe/kunit: fix link failure with built-in xe

2024-02-28 Thread Lucas De Marchi
On Mon, 26 Feb 2024 13:46:36 +0100, Arnd Bergmann wrote: > When the driver is built-in but the tests are in loadable modules, > the helpers don't actually get put into the driver: > > ERROR: modpost: "xe_kunit_helper_alloc_xe_device" > [drivers/gpu/drm/xe/tests/xe_test.ko] undefined! > > Chang

Re: [PATCH 1/3] [v2] drm/xe/kunit: fix link failure with built-in xe

2024-02-28 Thread Lucas De Marchi
On Mon, Feb 26, 2024 at 01:46:36PM +0100, Arnd Bergmann wrote: From: Arnd Bergmann When the driver is built-in but the tests are in loadable modules, the helpers don't actually get put into the driver: ERROR: modpost: "xe_kunit_helper_alloc_xe_device" [drivers/gpu/drm/xe/tests/xe_test.ko] und

[PATCH 1/3] [v2] drm/xe/kunit: fix link failure with built-in xe

2024-02-26 Thread Arnd Bergmann
From: Arnd Bergmann When the driver is built-in but the tests are in loadable modules, the helpers don't actually get put into the driver: ERROR: modpost: "xe_kunit_helper_alloc_xe_device" [drivers/gpu/drm/xe/tests/xe_test.ko] undefined! Change the Makefile to ensure they are always part of th