The ti-vxe-vxd-driver (out of tree module) requires the VIDEOBUF2_DMA_SG
module to be built.  But the in layer defconfig is pruning several
options from the default defconfig that prevents us from easily turning
it back on.  This KERNEL_CONFIG_FRAGMENTS entry will turn on all of the
needed options to re-enable the VIDEOBUF2_DMA_SG setting.

This might be a temporary fix as there is effort to move the
ti-vxe-vxd-driver back into the kernel tree which will clean up the
Kconfig mess that requires this fragment.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 .../linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg           | 2 ++
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb      | 3 +++
 2 files changed, 5 insertions(+)
 create mode 100644 
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg

diff --git 
a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg 
b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
new file mode 100644
index 00000000..d7249909
--- /dev/null
+++ 
b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
@@ -0,0 +1,2 @@
+CONFIG_VIDEOBUF2_DMA_SG=m
+CONFIG_ARCH_ROCKCHIP=y
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb 
b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
index 169d8395..51a4f63f 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
@@ -36,4 +36,7 @@ module_conf_ti_k3_r5_remoteproc = "softdep 
ti_k3_r5_remoteproc pre: virtio_rpmsg
 module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: 
virtio_rpmsg_bus"
 KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc 
ti_k3_dsp_remoteproc"
 
+SRC_URI:append:j721e = " file://j721e_vb2_dma_sg.cfg"
+KERNEL_CONFIG_FRAGMENTS:j721e += "${UNPACKDIR}/j721e_vb2_dma_sg.cfg"
+
 DEFAULT_PREFERENCE = "-1"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19417): 
https://lists.yoctoproject.org/g/meta-ti/message/19417
Mute This Topic: https://lists.yoctoproject.org/mt/117281599/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to