mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
With DRM_AMDGPU=m and DRM_AMD_ISP=y, it is possible to configura
VIDEO_AMD_ISP4_CAPTURE as built-in, but that fails to link:
aarch64-linux-ld: drivers/media/platform/amd/isp4/isp4_interface.o: in function `isp4if_gpu_mem_alloc.isra.0':
isp4_interface.c:(.text+0x1d0): undefined reference to `isp_kernel_buffer_alloc'
aarch64-linux-ld: drivers/media/platform/amd/isp4/isp4_interface.o: in function `isp4if_dealloc_fw_gpumem':
isp4_interface.c:(.text+0x26c): undefined reference to `isp_kernel_buffer_free'
Add a dependency on the tristate DRM_AMDGPU symbol in addition to
the boolean DRM_AMD_ISP=y, so this can only be built-in if
the ISP driver is also linked into the kernel itself.
Fixes:
|
||
|---|---|---|
| .. | ||
| isp4_debug.c | ||
| isp4_debug.h | ||
| isp4_fw_cmd_resp.h | ||
| isp4_hw_reg.h | ||
| isp4_interface.c | ||
| isp4_interface.h | ||
| isp4_subdev.c | ||
| isp4_subdev.h | ||
| isp4_video.c | ||
| isp4_video.h | ||
| isp4.c | ||
| isp4.h | ||
| Kconfig | ||
| Makefile | ||