kernel-fxtec-pro1x/drivers/media/v4l2-core
Jan Kara 48b25a3a71 [media] vb2: Push mmap_sem down to memops
Currently vb2 core acquires mmap_sem just around call to
__qbuf_userptr(). However since commit f035eb4e97 (videobuf2: fix
lockdep warning) it isn't necessary to acquire it so early as we no
longer have to drop queue mutex before acquiring mmap_sem. So push
acquisition of mmap_sem down into .get_userptr and .put_userptr memops
so that the semaphore is acquired for a shorter time and it is clearer
what it is needed for.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-01 07:17:27 -03:00
..
Kconfig [media] v4l: VIDEOBUF2_DMA_SG should depend on HAS_DMA 2015-05-01 07:12:12 -03:00
Makefile
tuner-core.c [media] tuner-core: fix compilation if the media controller is not defined 2015-02-26 08:44:04 -03:00
v4l2-async.c
v4l2-clk.c [media] V4L: add CCF support to the v4l2_clk API 2015-04-02 18:33:42 -03:00
v4l2-common.c [media] v4l2-common: move v4l2_ctrl_check to cx2341x 2014-11-25 08:25:36 -02:00
v4l2-compat-ioctl32.c [media] V4L2: fix VIDIOC_CREATE_BUFS 32-bit compatibility mode data copy-back 2014-11-03 15:11:59 -02:00
v4l2-ctrls.c [media] media/v4l2-ctrls: Always execute EXECUTE_ON_WRITE ctrls 2015-04-08 06:34:44 -03:00
v4l2-dev.c [media] v4l2-dev: disable selection ioctls for non-video devices 2015-04-02 18:30:00 -03:00
v4l2-device.c [media] v4l2-core: remove the old .ioctl BKL replacement 2015-03-02 17:06:56 -03:00
v4l2-dv-timings.c [media] v4l2-dv-timings: replace hsync magic number with a macro 2015-05-01 07:15:38 -03:00
v4l2-event.c
v4l2-fh.c
v4l2-ioctl.c v4l2-ioctl: add a missing break at v4l_fill_fmtdesc() 2015-05-01 06:54:03 -03:00
v4l2-mem2mem.c [media] v4l2-mem2mem: no need to initialize b in v4l2_m2m_next_buf and v4l2_m2m_buf_remove 2015-04-10 09:47:34 -03:00
v4l2-of.c [media] v4l: of: Parse variable length properties --- link-frequencies 2015-04-27 16:04:28 -03:00
v4l2-subdev.c [media] V4L2: Delete an unnecessary check before the function call "media_entity_put" 2015-04-08 07:38:19 -03:00
videobuf-core.c [media] videobuf: fix sparse warnings 2014-11-05 09:07:58 -02:00
videobuf-dma-contig.c
videobuf-dma-sg.c [media] videobuf: make unused exported functions static 2015-01-27 10:01:33 -02:00
videobuf-dvb.c
videobuf-vmalloc.c
videobuf2-core.c [media] vb2: Push mmap_sem down to memops 2015-05-01 07:17:27 -03:00
videobuf2-dma-contig.c [media] vb2: Push mmap_sem down to memops 2015-05-01 07:17:27 -03:00
videobuf2-dma-sg.c [media] vb2: Push mmap_sem down to memops 2015-05-01 07:17:27 -03:00
videobuf2-dvb.c
videobuf2-memops.c Revert "[media] v4l: vb2-memops: use vma slab when vma allocation" 2015-04-08 13:17:09 -03:00
videobuf2-vmalloc.c [media] vb2: Push mmap_sem down to memops 2015-05-01 07:17:27 -03:00