Skip to content

Commit 50d3004

Browse files
rddunlapsgruszka
authored andcommitted
accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR
Drivers that use the gen_pool*() family of functions should select GENERIC_ALLOCATOR to prevent build errors like these: ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free': include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner' ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_alloc_algo': include/linux/genalloc.h:138: undefined reference to `gen_pool_alloc_algo_owner' ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free': include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner' ld: drivers/accel/ivpu/ivpu_ipc.o: in function `ivpu_ipc_init': drivers/accel/ivpu/ivpu_ipc.c:441: undefined reference to `devm_gen_pool_create' ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_add_virt': include/linux/genalloc.h:104: undefined reference to `gen_pool_add_owner' Fixes: 5d7422c ("accel/ivpu: Add IPC driver and JSM messages") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Cc: Oded Gabbay <[email protected]> Cc: [email protected] Cc: Jacek Lawrynowicz <[email protected]> Cc: Stanislaw Gruszka <[email protected]> Cc: Andrzej Kacprowski <[email protected]> Cc: Krystian Pradzynski <[email protected]> Cc: Jeffrey Hugo <[email protected]> Cc: Daniel Vetter <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3692aba commit 50d3004

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/accel/ivpu/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config DRM_ACCEL_IVPU
77
depends on PCI && PCI_MSI
88
select FW_LOADER
99
select SHMEM
10+
select GENERIC_ALLOCATOR
1011
help
1112
Choose this option if you have a system that has an 14th generation Intel CPU
1213
or newer. VPU stands for Versatile Processing Unit and it's a CPU-integrated

0 commit comments

Comments
 (0)