From patchwork Wed Dec 13 08:43:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 754200 Received: from www.linuxtv.org (www.linuxtv.org [130.149.80.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45474A5 for ; Wed, 13 Dec 2023 00:44:02 -0800 (PST) Received: from hverkuil by www.linuxtv.org with local (Exim 4.92) (envelope-from ) id 1rDKqK-005VGl-56; Wed, 13 Dec 2023 08:43:48 +0000 From: Hans Verkuil Date: Wed, 13 Dec 2023 08:43:45 +0000 Subject: [git:media_stage/master] media: chips-media: wave5: Requires GENERIC_ALLOCATOR To: linuxtv-commits@linuxtv.org Cc: linux-media@vger.kernel.org, Jackson Lee , Mauro Carvalho Chehab , Sebastian Fricke , Randy Dunlap , Nas Chung Mail-followup-to: linux-media@vger.kernel.org Forward-to: linux-media@vger.kernel.org Reply-to: linux-media@vger.kernel.org Message-Id: Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: This is an automatic generated email to let you know that the following patch were queued: Subject: media: chips-media: wave5: Requires GENERIC_ALLOCATOR Author: Randy Dunlap Date: Wed Dec 6 12:48:36 2023 -0800 This driver uses the API that is provided by GENERIC_ALLOCATOR API, so select it to prevent build errors: riscv32-linux-ld: drivers/media/platform/chips-media/wave5/wave5-vpu.o: in function `.L37': wave5-vpu.c:(.text+0x468): undefined reference to `of_gen_pool_get' riscv32-linux-ld: drivers/media/platform/chips-media/wave5/wave5-vdi.o: in function `.L116': wave5-vdi.c:(.text+0xaac): undefined reference to `gen_pool_dma_alloc' riscv32-linux-ld: drivers/media/platform/chips-media/wave5/wave5-vdi.o: in function `wave5_vdi_free_sram': wave5-vdi.c:(.text+0xb60): undefined reference to `gen_pool_free_owner' Fixes: 9707a6254a8a ("media: chips-media: wave5: Add the v4l2 layer") Signed-off-by: Randy Dunlap Cc: Nas Chung Cc: Jackson Lee Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil drivers/media/platform/chips-media/wave5/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/chips-media/wave5/Kconfig b/drivers/media/platform/chips-media/wave5/Kconfig index 9ccc1f7e32f3..f1bcef5177bd 100644 --- a/drivers/media/platform/chips-media/wave5/Kconfig +++ b/drivers/media/platform/chips-media/wave5/Kconfig @@ -7,6 +7,7 @@ config VIDEO_WAVE_VPU select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_VMALLOC select V4L2_MEM2MEM_DEV + select GENERIC_ALLOCATOR help Chips&Media stateful encoder and decoder driver. The driver supports HEVC and H264 formats.