Re: [ANN] Draft Agenda for the media summit on Thursday Oct 25th in Edinburgh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hans, Mauro,

I believe I selected attendance when registering for the conference, but
please add my name to the list here as well.

I have a small topic which might start off in the hallway track before
hand that I'd like to kick off too.

"Fault tolerant V4L2" ...

In other words, how should we handle complex devices which do not 'fully
probe'.

In our instance, with our GMSL driver implementation - we have an 8
camera system, described as such in DT.

If one of the cameras is disconnected, or does not fully probe - then
all of the remaining cameras are unavailable, as they are all subdevices
from the MAX9286 => CSI2 => VIN chain.

Originally we had async subdevice registration at probe time so that
they appear as they are ready - but I believe earlier review comments
determined that this goes against the V4L2 spec, and if the system state
is not correct - then it's just a flat out failure.

I'd like to discuss (or start to discuss) how we should handle cases
such as a missing *non-essential* subdevice in a safety critical system.

For instance, imagine here that two cameras are digital wing mirrors,
and one gets knocked off by a lorry ... I'd like to know that all the
remaining 'digital eyes' can still function :)

I had hoped to send a more clear proposal on this topic with patch
examples based on our driver - but I'm afraid my talk didn't get
accepted for ELCE and so I haven't had chance (/been forced) to spend
time on this topic yet :-)

Further discussion on this could be how to get devices to re-probe at
runtime too - or retry their probe sequences at least, which might
perhaps even be a higher level than linux-media.

Regards

Kieran


On 24/09/18 15:42, Hans Verkuil wrote:
> Hi all,
> 
> We are organizing a media mini-summit on Thursday October 25th in
> Edinburgh, Edinburgh International Conference Centre.
> 
> If you plan to attend, please let Mauro know. It is open for all, but
> we have a limited number of seats.
> 
> Name of the room for the summit: TBD
> 
> Currently known attendees (please add/remove names as needed):
> 
> Sakari Ailus <sakari.ailus@xxxxxx>
> Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>
> Ezequiel Garcia <ezequiel@xxxxxxxxxxxxx>
> Michael Ira Krufky <mkrufky@xxxxxxxxxxx>
> Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>
> Hans Verkuil <hverkuil@xxxxxxxxx>
> Sean Young <sean@xxxxxxxx>
> 
> Agenda (First draft!)
> =====================
> 
> General remarks: the given start/end times for the various topics are
> approximate since it is always hard to predict how long a discussion will take.
> If people are attending other summits and those conflict with specific media
> topics they want to be part of, then let me know and we can rearrange the
> schedule to (hopefully) accommodate that.
> 
> 9:00-9:15: Introduction (Hans Verkuil)
> 
> 9:15-9:30: Status of the HDMI CEC kernel support (Hans Verkuil)
> 	Give a quick overview of the status: what has been merged, what is
> 	still pending, what is under development.
> 
> 9:30-9:45: Save/restore controls from MTD (Ricardo Ribalda Delgado)
> 	Industrial/Scientific sensors usually come with very extensive
> 	calibration information such as: per column gain, list of dead
> 	pixels, temperature sensor offset... etc
> 
> 	We are saving that information on an flash device that is located
> 	by the sensor.
> 
> 	Show how we are integrating that calibration flash with v4l2-ctrl.
> 	And if this feature is useful for someone else and upstream it.
> 
> 9:45-11:00: Complex Cameras (Mauro Carvalho Chehab)
> 	I expect that we could have something to discuss there about complex
> 	cameras. So, I'd reserve a 50 mins slot for it.
> 
> 	The idea is to discuss about the undergoing work with complex camera
> 	development is happening.
> 
> 	As we're working to merge request API, another topic for discussion
> 	is how to add support for requests on it (or on a separate but related
> 	library).
> 
> 11:00-11:15: Break
> 
> 11:15-12:00: Automated Testing (Ezequiel Garcia)
> 	There is a lot of discussion going on around testing,
> 	so it's a good opportunity for us to talk about our
> 	current testing infrastructure.
> 
> 	We are already doing a good job with v4l2-compliance.
> 	Can we do more?
> 
> Lunch
> 
> 13:30-14:30: Stateless Codec userspace (Hans Verkuil)
> 	Support for stateless codecs and Request API should be merged for
> 	4.20, and the next step is to discuss how to organize the userspace
> 	support.
> 
> 	Hopefully by the time the media summit starts we'll have some better
> 	ideas of what we want in this area.
> 
> 14:30-15:15: Which ioctls should be replaced with better versions? (Hans Verkuil)
> 	Some parts of the V4L2 API are awkward to use and I think it would be
> 	a good idea to look at possible candidates for that.
> 
> 	Examples are the ioctls that use struct v4l2_buffer: the multiplanar support is
> 	really horrible, and writing code to support both single and multiplanar is hard.
> 	We are also running out of fields and the timeval isn't y2038 compliant.
> 
> 	A proof-of-concept is here:
> 
> 	https://git.linuxtv.org/hverkuil/media_tree.git/commit/?h=v4l2-buffer&id=a95549df06d9900f3559afdbb9da06bd4b22d1f3
> 
> 	It's a bit old, but it gives a good impression of what I have in mind.
> 
> 	Another candidate is VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL/VIDIOC_ENUM_FRAMEINTERVALS:
> 	expressing frame intervals as a fraction is really awkward and so is the fact
> 	that the subdev and 'normal' ioctls are not the same.
> 
> 	Discuss what possible other ioctls are candidates for a refresh.
> 
> 15:15-15:30: Break
> 
> 15:30-16:00: Discuss the media development process
> 	Since we are all here, discuss any issues there may be with the media
> 	subsystem development process. Anything to improve?
> 
> 16:00-16:15: Wrap up
> 	Create action items (and who will take care of them) if needed.
> 	Summarize and conclude the day.
> 
> End of the day: Key Signing Party
> 
> Regards,
> 
> 	Hans
> 

-- 
Regards
--
Kieran



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux