View Issue Details

IDProjectCategoryView StatusLast Update
0001449channel: kernel/el9Generalpublic2024-05-16 03:39
ReporterJean-Marc LIGER Assigned Totoracat  
PrioritynormalSeverityblockReproducibilityalways
Status acknowledgedResolutionopen 
PlatformRocky LinuxOSx86-64OS Version9.3
Summary0001449: CONFIG_VIDEOBUF2_DMA_CONTIG=m
Descriptionvideobuf2-dma-contig.ko.xz is missing to build intel ipu6 drivers
Steps To Reproduceadd CONFIG_VIDEOBUF2_DMA_CONTIG=m in config-version-{aarch64,x86_64}
Additional Information[ligenix@aleph rpmbuild]$ grep -r videobuf2 linux-6.8/drivers/media/common/videobuf2/Makefile
videobuf2-common-objs := videobuf2-core.o
videobuf2-common-objs += frame_vector.o
  videobuf2-common-objs += vb2-trace.o
obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-common.o
obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o
obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o
obj-$(CONFIG_VIDEOBUF2_DVB) += videobuf2-dvb.o
obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
obj-$(CONFIG_VIDEOBUF2_V4L2) += videobuf2-v4l2.o
obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
TagsNo tags attached.

Relationships

related to 0001447 closedtoracat videobuf2-dma-contig driver seem to be missing 

Activities

toracat

2024-05-13 12:20

administrator   ~0009728

As noted in bug#1447, CONFIG_VIDEOBUF2_DMA_CONTIG is _not_ configurable. According to:

https://boxmatrix.info/wiki/Property:CONFIG_VIDEOBUF2_DMA_CONTIG

It may be enabled by selecting CONFIG_VIDEO_CAFE_CCIC. However this is not easily achievable.

Maybe ask Pablo and see if he can come up with a usable config?

Jean-Marc LIGER

2024-05-13 12:46

reporter   ~0009729

Well I'm a little confused, the other v4l2-core drivers are also not configurable but provided in kernel-ml 6.8.9

https://www.kernelconfig.io/CONFIG_VIDEOBUF2_CORE?kernelversion=6.8.9
https://www.kernelconfig.io/CONFIG_VIDEOBUF2_DMA_SG?kernelversion=6.8.9
https://www.kernelconfig.io/CONFIG_VIDEOBUF2_MEMOPS?kernelversion=6.8.9
https://www.kernelconfig.io/CONFIG_VIDEOBUF2_V4L2?kernelversion=6.8.9
https://www.kernelconfig.io/CONFIG_VIDEOBUF2_VMALLOC?kernelversion=6.8.9

/lib/modules/6.8.9-1.el9.elrepo.x86_64/kernel/drivers/media/common/videobuf2/videobuf2-common.ko.xz
/lib/modules/6.8.9-1.el9.elrepo.x86_64/kernel/drivers/media/common/videobuf2/videobuf2-dma-sg.ko.xz
/lib/modules/6.8.9-1.el9.elrepo.x86_64/kernel/drivers/media/common/videobuf2/videobuf2-memops.ko.xz
/lib/modules/6.8.9-1.el9.elrepo.x86_64/kernel/drivers/media/common/videobuf2/videobuf2-v4l2.ko.xz
/lib/modules/6.8.9-1.el9.elrepo.x86_64/kernel/drivers/media/common/videobuf2/videobuf2-vmalloc.ko.xz

Jean-Marc LIGER

2024-05-14 02:33

reporter   ~0009736

I rebuilt a kernel-ml with CONFIG_VIDEOBUF2_DMA_CONTIG=m to be sure and yes there is no kmod(videobuf2-dma-contig.ko) at the end

I'm digging deeper with dependencies provided in your link above, I'm sure I'm not far from the expected result

toracat

2024-05-16 03:39

administrator   ~0009747

Right, you cannot just add the option manually. It is not configurable by the user. All dependencies must be met and that's the challenging part.

Issue History

Date Modified Username Field Change
2024-05-03 07:35 Jean-Marc LIGER New Issue
2024-05-03 07:35 Jean-Marc LIGER Status new => assigned
2024-05-03 07:35 Jean-Marc LIGER Assigned To => toracat
2024-05-03 11:53 toracat Status assigned => acknowledged
2024-05-03 12:51 toracat Relationship added related to 0001447
2024-05-03 12:53 toracat Project channel: elrepo/el9 => channel: kernel/el9
2024-05-03 12:53 toracat Category --elrepo--request-for-enhancement-- => General
2024-05-13 12:20 toracat Note Added: 0009728
2024-05-13 12:46 Jean-Marc LIGER Note Added: 0009729
2024-05-14 02:33 Jean-Marc LIGER Note Added: 0009736
2024-05-16 03:39 toracat Note Added: 0009747