Skip to content

Virtio Video V4L2 driver

Dmitry Sepp linux-media virtio-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 patch 28 repliesIn review

Changes in v2 from the cover letter

* support the v3 spec (mostly)
* add a module parameter to ask for pages from ZONE_DMA

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1video_video: Add the Virtio Video V4L2 driverdrivers/media/Kconfig drivers/media/Makefile drivers/media/virtio/Kconfig +13 more+5110 -016 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] Virtio Video V4L2 driver

Hi all,

This is a v4l2 virtio video driver for the virtio-video device specification v3 [1].

The first version of the driver was introduced here [2].

Changes v1 -> v2:
* support the v3 spec (mostly)
* add a module parameter to ask for pages from ZONE_DMA

What is not implemented:
* Plane layout flags should be used to propagate number of planes to user-space
* There is no real use of stream creation with bitstream format in the parameter list. The driver just uses the first bitstream format from the list.
* Setting bitrate is done in a different way compared to the spec. This is because it has been already agreed on that the way the spec currently describes it requires changes.

Potential improvements:
* Do not send stream_create from open. Use corresponding state machine condition to do this.
* Do not send stream_destroy from close. Do it in reqbufs(0).
* Cache format and control settings. Reduce calls to the device.

Best regards,
Dmitry.

[1] https://markmail.org/message/dmw3pr4fuajvarth
[2] https://markmail.org/message/wnnv6r6myvgb5at6

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]