V4L2 PCIe driver on Jetson TX2


I am working on v4l2 PCIe driver based on the vb2 buffer management, idea is to transfer the frame data from the Xilinx FPGA via V4L2 framework and make it available to the Hardware accelerated Gstreamer plugins ( nvvidconv, nvidia encoder, decoder etc…)

There is performance requirements for 4K @ 60 fps, so i need to effectively do the buffer management here in getting the data in nvbuffers.

It would be great if i can get the design considerations, issues to be taken care here, any kernel changes.

We have a reference sample of using NvBuffer in v4l2 framr capturing. Please install through sdkmanger and check tegra_multimedia_api sample in