Discussion of the implementations of VIRTIO specification
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH v2 0/1] Virtio Video V4L2 driver
@ 2020-02-18 20:27 Dmitry Sepp
  2020-02-18 20:27 ` [virtio-dev] [PATCH v2 1/1] video_video: Add the " Dmitry Sepp
       [not found] ` <c4d7622b-e396-3920-0e14-5a73a0225c0f@xs4all.nl>
  0 siblings, 2 replies; 23+ messages in thread
From: Dmitry Sepp @ 2020-02-18 20:27 UTC (permalink / raw)
  To: linux-media
  Cc: virtio-dev, acourbot, alexlau, daniel, dgreid, dstaessens,
	egranata, fziglio, hverkuil, keiichiw, kraxel, marcheu, posciak,
	spice-devel, stevensd, tfiga, uril, samiullah.khawaja,
	kiran.pawar

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: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-03-17  9:18 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18 20:27 [virtio-dev] [PATCH v2 0/1] Virtio Video V4L2 driver Dmitry Sepp
2020-02-18 20:27 ` [virtio-dev] [PATCH v2 1/1] video_video: Add the " Dmitry Sepp
2020-03-10 10:24   ` [virtio-dev] " Keiichi Watanabe
2020-03-12 11:40     ` Dmitry Sepp
2020-03-13 11:38       ` Keiichi Watanabe
     [not found]   ` <d79df162-5fcc-6ff9-8480-4cff3548bb4a@xs4all.nl>
2020-03-12 10:15     ` Dmitry Sepp
     [not found]       ` <6f8c37b1-8dc4-e3bb-01ed-4ebedaf90915@xs4all.nl>
2020-03-12 11:48         ` Dmitry Sepp
2020-03-13 10:05           ` Tomasz Figa
2020-03-13 10:27             ` Dmitry Sepp
2020-03-13 11:11               ` Tomasz Figa
2020-03-16 10:36                 ` Dmitry Sepp
2020-03-17  6:46   ` Keiichi Watanabe
2020-03-17  6:53     ` Keiichi Watanabe
2020-03-17  9:10       ` Dmitry Sepp
2020-03-17  9:18         ` Keiichi Watanabe
     [not found] ` <c4d7622b-e396-3920-0e14-5a73a0225c0f@xs4all.nl>
2020-03-12  9:03   ` [virtio-dev] Re: [PATCH v2 0/1] " Dmitry Sepp
2020-03-12  9:49   ` Keiichi Watanabe
     [not found]     ` <1ac18708-262f-c751-d955-267931270028@xs4all.nl>
2020-03-12 10:11       ` Keiichi Watanabe
2020-03-12 10:29       ` Dmitry Sepp
     [not found]         ` <75f3a24ac5cd4f656aadf4312bdbcb70a6803a6e.camel@ndufresne.ca>
2020-03-13  7:54           ` Keiichi Watanabe
2020-03-13 10:09             ` Dmitry Sepp
2020-03-13 11:53               ` Keiichi Watanabe
2020-03-13 10:20           ` Dmitry Sepp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox