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

2024-02-26 Thread Arnd Bergmann
On Mon, Feb 26, 2024, at 04:42, Lucas De Marchi wrote: > On Sat, Feb 24, 2024 at 01:14:59PM +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:

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

2024-02-26 Thread Maxime Ripard
On Sun, Feb 25, 2024 at 09:42:06PM -0600, Lucas De Marchi wrote: > On Sat, Feb 24, 2024 at 01:14:59PM +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: > > > >

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

2024-02-25 Thread Lucas De Marchi
On Sat, Feb 24, 2024 at 01:14:59PM +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]

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

2024-02-24 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