linux_dsm_epyc7002/drivers/media/pci/sta2x11
Ezequiel Garcia cd63c0288f media: sta2x11: Add video_device and vb2_queue locks
Currently, this driver does not serialize its video4linux
ioctls, which is a bug, as race conditions might appear.

In addition, video_device and vb2_queue locks are now both
mandatory. Add them, and implement wait_prepare and
wait_finish.

To stay on the safe side, this commit uses a single mutex
for both locks. Better latency can be obtained by separating
these if needed.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-04 08:00:53 -04:00
..
Kconfig media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Makefile [media] move the remaining PCI devices to drivers/media/pci 2012-08-15 16:39:31 -03:00
sta2x11_vip.c media: sta2x11: Add video_device and vb2_queue locks 2018-07-04 08:00:53 -04:00
sta2x11_vip.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00