Skip to contentSkip to conversation

Make V4L2_MEM2MEM_DEV manually selectable.

PATCH In review Wren Turkal 1 participant 2 messages Mar 2, 2021 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make V4L2_MEM2MEM_DEV manually selectable.

The V4L2_MEM2MEM_DEV config item enables the mem2mem framework in the v4l2 core code. This framework is used by mem2mem drivers. I would like to be able to turn this feature on in order to expose the related symbols so that I can work on a module that is not yet ready to be submitted for inclusion itself.

---
 drivers/media/v4l2-core/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/v4l2-core/Kconfig +1 -1
index bf49f83cb86f..25004137a982 100644
@@ -54,7 +54,7 @@ config V4L2_H264
 
 # Used by drivers that need v4l2-mem2mem.ko
 config V4L2_MEM2MEM_DEV
-	tristate
+	tristate "V4L2 mem2mem framework support"
 	depends on VIDEOBUF2_CORE
 
 # Used by LED subsystem flash drivers
Signature · 1 line
2.30.1
#1 lore raw

Mauro,

I think I should have sent the original mail to you. If this is incorrect, I apologize as this is my first attempt to propose a patch for Linux. PTAL or help me find the right way forward.

Thanks,
wt

Quoted 24 lines · Wren Turkal

The V4L2_MEM2MEM_DEV config item enables the mem2mem framework in the v4l2 core code. This framework is used by mem2mem drivers. I would like to be able to turn this feature on in order to expose the related symbols so that I can work on a module that is not yet ready to be submitted for inclusion itself.

---
  drivers/media/v4l2-core/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/v4l2-core/Kconfig +1 -1
index bf49f83cb86f..25004137a982 100644
@@ -54,7 +54,7 @@ config V4L2_H264
 
  # Used by drivers that need v4l2-mem2mem.ko
  config V4L2_MEM2MEM_DEV
-	tristate
+	tristate "V4L2 mem2mem framework support"
  	depends on VIDEOBUF2_CORE
 
  # Used by LED subsystem flash drivers