Skip to contentSkip to conversation

staging: bcm2835-camera: Add TODO for removing overlay support

PATCH In review Stefan Schake 3 participants 3 messages May 10, 2018 – May 14, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: bcm2835-camera: Add TODO for removing overlay support

The overlay code is non-functional since it relies on firmware control of the HVS.

---
Dave, does this match your understanding?

 drivers/staging/vc04_services/bcm2835-camera/TODO | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/staging/vc04_services/bcm2835-camera/TODO +8 -0
index 0ab9e88..770fea6 100644
@@ -32,3 +32,11 @@ We should have VCHI create a platform device once it's initialized,
 and have this driver bind to it, so that we automatically load the
 v4l2 module after VCHI loads.
 
+5) Remove overlay support.
+
+We advertise support for a V4L2 overlay implemented through the
+ril.video_render component. This component is non-functional with an
+upstream kernel since the VC4 DRM driver controls the HVS, not the
+firmware. Once we have dma-buf support, the same functionality with
+improved control can be achieved through the DRM interface. We should
+therefore remove all V4L2 overlay functionality from the driver.
Signature · 6 lines
2.7.4

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
#1 lore raw
Quoted 6 lines · Stefan Schake

The overlay code is non-functional since it relies on firmware control of the HVS.

---
Dave, does this match your understanding?

Yes, the overlay only works if you are not running the vc4 driver, therefore dropping it is sensible for the mainline kernel.

Quoted 22 lines
 drivers/staging/vc04_services/bcm2835-camera/TODO | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/staging/vc04_services/bcm2835-camera/TODO +8 -1
index 0ab9e88..770fea6 100644
@@ -32,3 +32,11 @@ We should have VCHI create a platform device once it's initialized,
 and have this driver bind to it, so that we automatically load the
 v4l2 module after VCHI loads.
 
+5) Remove overlay support.
+
+We advertise support for a V4L2 overlay implemented through the
+ril.video_render component. This component is non-functional with an
+upstream kernel since the VC4 DRM driver controls the HVS, not the
+firmware. Once we have dma-buf support, the same functionality with
+improved control can be achieved through the DRM interface. We should
+therefore remove all V4L2 overlay functionality from the driver.
--

2.7.4

maintainer
#2 lore raw
In reply to Stefan Schake
Quoted 6 lines · Stefan Schake

The overlay code is non-functional since it relies on firmware control of the HVS.

---
Dave, does this match your understanding?

This doesn't apply to my tree, can you rebase and resend?

thanks,

greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel