]> asedeno.scripts.mit.edu Git - linux.git/commit
media: vim2m: allow setting the default transaction time via parameter
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 29 Jan 2019 16:00:17 +0000 (14:00 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 31 Jan 2019 19:17:08 +0000 (17:17 -0200)
commitf0ef022c85a899bcc7a1b3a0955c78a3d7109106
tree3d2a98950e0a63927304c64cafc0fcc9a3fc7487
parentb3e64e5b077841f99a0ab27e99a1c4f942e1dd87
media: vim2m: allow setting the default transaction time via parameter

While there's a control to allow setting it at runtime, as the
control handler is per file handler, only the application setting
the m2m device can change it. As this is a custom control, it is
unlikely that existing apps would be able to set it.

Due to that, and due to the fact that v4l2-mem2mem serializes all
accesses to a m2m device, trying to setup two GStreamer
v4l2videoconvert instance at the same time will cause frame drops.

So, add an alternate way of setting its default via a modprobe parameter.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vim2m.c