linux/drivers/media/platform/qcom/venus
Arnd Bergmann aa23c94cc4 media: venus: fix QCOM_MDT_LOADER dependency
When build-testined with CONFIG_QCOM_MDT_LOADER=m and VIDEO_QCOM_VENUS=y,
the kernel fails to link:

x86_64-linux-ld: drivers/media/platform/qcom/venus/firmware.o: in function `venus_boot':
firmware.c:(.text+0x1e3): undefined reference to `qcom_mdt_get_size'
firmware.c:(.text+0x25a): undefined reference to `qcom_mdt_load'
firmware.c:(.text+0x272): undefined reference to `qcom_mdt_load_no_init'

The problem is the conditional 'select' statement. Change this to
make the driver built-in here regardless of CONFIG_ARCH_QCOM,
same as for the similar IRIS driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Fixes: 0399b696f7 ("media: venus: fix compile-test build on non-qcom ARM platform")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2026-04-27 08:41:21 +02:00
..
core.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
core.h media: venus: Add framework support for AR50_LITE video core 2025-09-09 15:59:15 +02:00
dbgfs.c
dbgfs.h
firmware.c media: Use of_reserved_mem_region_to_resource() for "memory-region" 2025-11-06 11:18:09 +01:00
firmware.h media: venus: Add framework support for AR50_LITE video core 2025-09-09 15:59:15 +02:00
helpers.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
helpers.h
hfi_cmds.c
hfi_cmds.h
hfi_helper.h
hfi_msgs.c media: venus: Define minimum valid firmware version 2025-09-09 15:59:15 +02:00
hfi_msgs.h
hfi_parser.c media: venus: Add framework support for AR50_LITE video core 2025-09-09 15:59:15 +02:00
hfi_parser.h
hfi_plat_bufs_v6.c
hfi_plat_bufs.h
hfi_platform_v4.c media: venus: hfi_plat_v4: Add capabilities for the 4XX lite core 2025-09-09 15:59:15 +02:00
hfi_platform_v6.c media: venus: Add framework support for AR50_LITE video core 2025-09-09 15:59:15 +02:00
hfi_platform.c media: venus: Add framework support for AR50_LITE video core 2025-09-09 15:59:15 +02:00
hfi_platform.h media: venus: Add framework support for AR50_LITE video core 2025-09-09 15:59:15 +02:00
hfi_venus_io.h media: venus: Add framework support for AR50_LITE video core 2025-09-09 15:59:15 +02:00
hfi_venus.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
hfi_venus.h
hfi.c media: venus: Remove unused hfi_core_ping() 2025-01-06 14:45:29 +01:00
hfi.h media: venus: Remove unused hfi_core_ping() 2025-01-06 14:45:29 +01:00
Kconfig media: venus: fix QCOM_MDT_LOADER dependency 2026-04-27 08:41:21 +02:00
Makefile
pm_helpers.c media: venus: pm_helpers: add fallback for the opp-table 2025-09-24 12:52:09 +02:00
pm_helpers.h
vdec_ctrls.c media: venus: factor out inst destruction routine 2024-11-07 10:43:31 +00:00
vdec.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
vdec.h media: venus: factor out inst destruction routine 2024-11-07 10:43:31 +00:00
venc_ctrls.c media: v4l2-ctrls: add support for V4L2_CTRL_WHICH_MIN/MAX_VAL 2025-03-03 18:23:35 +01:00
venc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
venc.h media: venus: factor out inst destruction routine 2024-11-07 10:43:31 +00:00