aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
AgeCommit message (Expand)AuthorFilesLines
2024-05-03media: common: saa7146: Use min macroRicardo Ribalda1-4/+4
2024-04-24media: videobuf2: improve max_num_buffers sanity checksHans Verkuil1-1/+7
2024-03-25media: v4l2: Add REMOVE_BUFS ioctlBenjamin Gaignard2-1/+57
2024-03-25media: core: Free range of buffersBenjamin Gaignard1-30/+26
2024-03-25media: core: Add bitmap manage bufs array entriesBenjamin Gaignard1-18/+53
2024-03-25media: core: Rework how create_buf index returned value is computedBenjamin Gaignard2-10/+22
2024-03-25media: videobuf2: Add min_reqbufs_allocation field to vb2_queue structureBenjamin Gaignard1-15/+23
2024-03-25media: videobuf2: Update vb2_is_busy() logicBenjamin Gaignard1-0/+4
2024-03-15Merge tag 'media/v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds1-10/+42
2024-03-06Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>"Ahelenia ZiemiaƄska2-2/+2
2024-02-05media: v4l2-tpg: fix some memleaks in tpg_allocZhipeng Lu1-10/+42
2024-01-24media: vb2: refactor setting flags and caps, fix missing capHans Verkuil1-28/+25
2024-01-24media: media videobuf2: Stop direct calls to queue num_buffers fieldBenjamin Gaignard2-2/+2
2023-12-13media: videobuf2: core: Rename min_buffers_needed field in vb2_queueBenjamin Gaignard2-15/+15
2023-12-09media: videobuf2: request more buffers for vb2_readHans Verkuil1-2/+7
2023-12-07media: videobuf2-dma-sg: fix vmap callbackMichael Grzeschik1-2/+8
2023-11-23media: drop CONFIG_MEDIA_CONTROLLER_REQUEST_APIHans Verkuil1-2/+0
2023-11-23media: core: Report the maximum possible number of buffers for the queueBenjamin Gaignard1-0/+2
2023-11-23media: media videobuf2: Be more flexible on the number of queue stored buffersBenjamin Gaignard2-11/+41
2023-11-23media: videobuf2: Use vb2_get_num_buffers() helperBenjamin Gaignard2-46/+52
2023-11-23media: videobuf2: Remove duplicated index vs q->num_buffers checkBenjamin Gaignard1-8/+0
2023-11-23media: videobuf2: Access vb2_queue bufs array through helper functionsBenjamin Gaignard2-53/+149
2023-11-23media: videobuf2: Use vb2_buffer instead of indexBenjamin Gaignard2-49/+42
2023-11-23media: videobuf2: Stop spamming kernel log with all queue counterBenjamin Gaignard1-35/+44
2023-11-23media: videobuf2: Rework offset 'cookie' encoding patternBenjamin Gaignard1-38/+40
2023-11-23media: videobuf2: Rename offset parameterBenjamin Gaignard1-14/+14
2023-10-13media: videobuf2: Fix IS_ERR checking in vb2_dc_put_userptr()Ma Ke1-6/+7
2023-10-13media: siano: Drop unnecessary error check for debugfs_create_dir/file()Jinjie Ruan1-16/+6
2023-10-13media: videobuf2: Fix IS_ERR checking in vb2_vmalloc_put_userptr()Ma Ke1-4/+6
2023-09-27media: use struct_size() helperYu Liao1-1/+1
2023-09-27media: videobuf2: fix typo: vb2_dbuf -> vb2_qbufHans Verkuil1-1/+1
2023-09-14media: vb2: frame_vector.c: replace WARN_ONCE with a commentHans Verkuil1-2/+4
2023-09-01Merge tag 'media/v6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds2-218/+118
2023-07-19drivers/media/common/siano/smsendian.c : eliminate unnecessary type conversionsDong Chuanjian1-1/+1
2023-07-19media: siano: Convert to use sysfs_emit_at() APIye xingchen1-217/+117
2023-07-17Merge tag 'drm-misc-next-2023-07-13' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter3-9/+0
2023-06-21media: videobuf2: Don't assert held reservation lock for dma-buf mmappingDmitry Osipenko3-9/+0
2023-05-25media: common: saa7146: Avoid a leak in vmalloc_to_sg()Christophe JAILLET1-3/+3
2023-04-15media: common: saa7146: add support for missing .vidioc_try_fmt_vbi_capHans Verkuil1-0/+1
2023-04-15media: common: saa7146: allow S_STD(G_STD)Hans Verkuil1-3/+8
2023-04-15media: common: saa7146: check minimum video format sizeHans Verkuil1-0/+4
2023-04-15media: common: saa7146: fix compliance problems with field handlingHans Verkuil2-10/+11
2023-04-15media: saa7146: convert to vb2Hans Verkuil4-782/+306
2023-04-15media: common: saa7146: use for_each_sg_dma_pageHans Verkuil2-73/+32
2023-04-15media: common: saa7146: fix broken V4L2_PIX_FMT_YUV422P supportHans Verkuil1-1/+1
2023-04-15media: common: saa7146: replace BUG_ON by WARN_ONHans Verkuil3-9/+15
2023-04-15media: common: saa7146: drop 'fmt' from struct saa7146_bufHans Verkuil2-23/+26
2023-04-15media: saa7146: drop 'dev' and 'resources' from struct saa7146_fhHans Verkuil3-61/+51
2023-04-15media: common/saa7146: fix VFL direction for vbi outputHans Verkuil1-4/+8
2023-04-15media: common: saa7146: disable clippingHans Verkuil1-0/+17
2023-03-20media: saa7146: drop overlay supportHans Verkuil3-642/+6
2023-03-20media: common: btcx-risc.h: drop obsolete headerHans Verkuil1-29/+0
2023-03-19media: vb2: set owner before calling vb2_readHans Verkuil1-2/+3
2023-02-26Merge tag 'media/v6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds11-23/+4508
2023-02-24Merge tag 'usb-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds3-0/+187
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-2/+2
2023-02-15Merge git://git.linuxtv.org/media_stage into media_treeMauro Carvalho Chehab11-23/+4508
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan2-2/+2
2023-02-09media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci"Hans Verkuil10-1/+4505
2023-02-06media: videobuf2-core: drop obsolete sanity check in __vb2_queue_free()Hans Verkuil1-22/+3
2023-02-06Merge 6.2-rc7 into usb-nextGreg Kroah-Hartman1-3/+2
2023-01-31usb: uvc: use v4l2_fill_fmtdesc instead of open coded format nameMichael Grzeschik1-38/+0
2023-01-31usb: uvc: make uvc_format_desc table constMichael Grzeschik1-2/+2
2023-01-31usb: uvc: move uvc_fmts and uvc_format_by_guid to own compile unitMichael Grzeschik3-0/+225
2023-01-24media: videobuf2: set q->streaming laterHans Verkuil1-3/+2
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2022-12-13Merge tag 'drm-next-2022-12-13' of git://anongit.freedesktop.org/drm/drmLinus Torvalds3-42/+25
2022-12-13Merge tag 'media/v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds6-14/+39
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-4/+4
2022-12-07media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()Hans Verkuil1-29/+73
2022-12-06media: videobuf2: revert "get_userptr: buffers are always writable"Hans Verkuil5-8/+19
2022-12-02v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() failsLinus Torvalds1-56/+12
2022-11-30mm/frame-vector: remove FOLL_FORCE usageDavid Hildenbrand1-1/+1
2022-11-25media: vb2/au0828: move the v4l_vb2q_enable_media_source to the au0828 driverHans Verkuil1-3/+0
2022-11-25media: vb2: add (un)prepare_streaming queue opsHans Verkuil1-4/+21
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-4/+4
2022-11-11media: videobuf2: Assert held reservation lock for dma-buf mmappingDmitry Osipenko3-0/+9
2022-10-18Merge drm/drm-next into drm-misc-nextMaxime Ripard14-4530/+13
2022-10-18media: videobuf2: Stop using internal dma-buf lockDmitry Osipenko3-30/+3
2022-10-18media: videobuf2: Prepare to dynamic dma-buf locking specificationDmitry Osipenko3-12/+13
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 1Jason A. Donenfeld1-1/+1
2022-08-30media: videobuf2: Remove vb2_find_timestamp()Ezequiel Garcia1-13/+0
2022-08-29media: saa7146: deprecate hexium_gemini/orion, mxb and ttpciHans Verkuil10-4505/+1
2022-08-29media: vb2: videobuf -> videobuf2Hans Verkuil3-11/+11
2022-07-17media: videobuf2: Introduce vb2_find_buffer()Ezequiel Garcia1-0/+12
2022-07-15media: v4l2-tpg: Add support for the new YUVA and YUVX formatsLaurent Pinchart1-0/+6
2022-06-20media: v4l2-tpg: add HDMI Video Guard Band test patternHans Verkuil1-0/+38
2022-05-13media: videobuf2-dma-sg.c: kvmalloc_array -> kvcallocHans Verkuil1-2/+1
2022-05-13media: videobuf2-v4l2: Expose vb2_queue_is_busy() to driversLaurent Pinchart1-16/+10
2022-04-24media: v4l: ioctl: Set bus_info in v4l_querycap()Sakari Ailus1-1/+0
2022-03-24Merge tag 'drm-next-2022-03-24' of git://anongit.freedesktop.org/drm/drmLinus Torvalds3-13/+15
2022-03-18media: media/*/Kconfig: sort entriesMauro Carvalho Chehab1-8/+8
2022-03-18media: Kconfig: cleanup VIDEO_DEV dependenciesMauro Carvalho Chehab1-1/+1
2022-03-14media: Makefiles: sort entries where it fitsMauro Carvalho Chehab2-5/+10
2022-03-07media: videobuf2-dma-contig: Invalidate vmap range before DMA rangeSergey Senozhatsky1-6/+6
2022-02-07dma-buf-map: Rename to iosys-mapLucas De Marchi3-13/+15
2021-12-14media: saa7146: fix error logic at saa7146_vv_init()Mauro Carvalho Chehab1-0/+3
2021-12-14media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()Zhou Qingyang1-1/+1
2021-12-07media: b2c2: flexcop: Convert to SPDX identifierCai Huoqing1-10/+1
2021-12-07Merge tag 'v5.16-rc4' into media_treeMauro Carvalho Chehab1-0/+2
2021-11-30media: vb2: frame_vector.c: don't overwrite error codeHans Verkuil1-1/+14
2021-11-22Merge tag 'media/v5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds1-0/+2
2021-11-15media: videobuf2: Fix the size printk formatDillon Min1-4/+4
2021-11-10media: videobuf2-dma-sg: Fix buf->vb NULL pointer dereferenceHans de Goede1-0/+2
2021-11-04Merge tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-0/+4
2021-10-25dma-buf: move dma-buf symbols into the DMA_BUF module namespaceGreg Kroah-Hartman4-0/+4
2021-10-19media: videobuf2: always set buffer vb2 pointerSergey Senozhatsky1-0/+3
2021-09-30media: videobuf2: handle non-contiguous DMA allocationsSergey Senozhatsky1-31/+130
2021-09-30media: videobuf2: handle V4L2_MEMORY_FLAG_NON_COHERENT flagSergey Senozhatsky2-5/+30
2021-09-30media: videobuf2: add queue memory coherency parameterSergey Senozhatsky2-8/+34
2021-09-30media: videobuf2: move cache_hints handling to allocatorsSergey Senozhatsky3-6/+12
2021-09-30media: videobuf2: split buffer cache_hints initialisationSergey Senozhatsky2-18/+22
2021-09-30media: videobuf2: inverse buffer cache_hints flagsSergey Senozhatsky2-33/+15
2021-09-30media: videobuf2: rework vb2_mem_ops APISergey Senozhatsky4-62/+79
2021-09-30media: siano: use DEFINE_MUTEX() for mutex lockMuhammad Usama Anjum1-5/+2
2021-09-30media: videobuf2-core: sanity checks for requests and qbufHans Verkuil1-1/+22
2021-08-03Merge tag 'media/v5.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds1-1/+12
2021-07-30media: videobuf2-core: dequeue if start_streaming failsHans Verkuil1-1/+12
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-06-29media: videobuf2: use vma_lookup() in get_vaddr_frames()Liam Howlett1-1/+1
2021-06-28Merge tag 'array-bounds-fixes-5.14-rc1' of git://git.kernel.org/pub/scm/linux...Linus Torvalds2-15/+11
2021-06-17media: siano: fix device register error pathMauro Carvalho Chehab1-0/+4
2021-06-08media: videobuf2-v4l2.c: add vb2_queue_change_type() helperTomi Valkeinen1-0/+14
2021-06-07media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()Gustavo A. R. Silva2-15/+11
2021-06-02media: move ttpci-eeprom to commonMauro Carvalho Chehab4-0/+186
2021-05-21media: siano: use DEFINE_MUTEX() for mutex lock and LIST_HEAD for list headYe Bin1-5/+2
2021-04-09media: flexcop: avoid -Wempty-body warningArnd Bergmann1-3/+3
2021-03-23media: media/siano: Fix transmission parameters reporting for ISDB-TNicolas Stuardo Diaz1-4/+40
2021-03-22media: videobuf2: Exit promptly if size = 0Ricardo Ribalda1-1/+1
2021-03-11media: b2c2: remove trailing semicolon in macro definitionTom Rix1-1/+1
2021-03-11media: media/siano: kill pointless kmutex definitionsDavidlohr Bueso3-33/+28
2021-03-11media: saa7146: use sg_dma_len when building pgtableTasos Sahanidis2-3/+2
2021-03-11media: fix incorrect kernel doc usagesHans Verkuil1-1/+0
2021-02-22Merge tag 'topic/iomem-mmap-vs-gup-2021-02-22' of git://anongit.freedesktop.o...Linus Torvalds4-3/+225
2021-02-01Merge tag 'v5.11-rc6' into patchworkMauro Carvalho Chehab1-2/+1
2021-01-27media: videobuf2-v4l2: remove redundant error testHelen Koike1-5/+0
2021-01-12media: Revert "media: videobuf2: Fix length check for single plane dmabuf que...Naushir Patuck1-2/+1
2021-01-12media: videobuf2: Move frame_vector into media subsystemDaniel Vetter3-1/+224
2021-01-12mm/frame-vector: Use FOLL_LONGTERMDaniel Vetter1-2/+1
2021-01-04media: videobuf2: always call poll_wait() on queuesAlexandre Courbot1-2/+9
2020-12-14Merge tag 'media/v5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds6-33/+36
2020-12-14Merge tag 'drm-next-2020-12-11' of git://anongit.freedesktop.org/drm/drmLinus Torvalds3-17/+40
2020-12-03media: Rename stateful codec control macrosEzequiel Garcia1-2/+2
2020-12-03media: saa7146: switch from 'pci_' to 'dma_' APIChristophe JAILLET3-24/+28
2020-12-02media: vb2: set cache sync hints when init buffersSergey Senozhatsky1-0/+11
2020-11-26media: siano: fix memory leak of debugfs members in smsdvb_hotplugKeita Suzuki1-1/+4
2020-11-16media: Bulk remove BUG_ON(in_interrupt())Thomas Gleixner1-2/+0
2020-11-16media: v4l2: allocate v4l2_clip objects earlyArnd Bergmann1-4/+2
2020-11-04Merge tag 'drm-misc-next-2020-10-27' of git://anongit.freedesktop.org/drm/drm...Dave Airlie3-17/+40
2020-10-04Merge tag 'v5.9-rc7' into patchworkMauro Carvalho Chehab4-77/+9
2020-10-02media: siano: rename a duplicated card stringMauro Carvalho Chehab1-1/+1
2020-09-29dma-buf: Use struct dma_buf_map in dma_buf_vunmap() interfacesThomas Zimmermann3-4/+8
2020-09-29dma-buf: Use struct dma_buf_map in dma_buf_vmap() interfacesThomas Zimmermann3-13/+32
2020-09-27media: saa7146: drop double zeroingJulia Lawall1-1/+1
2020-09-26media: videobuf2: use sgtable-based scatterlist wrappersMarek Szyprowski3-47/+31
2020-09-24Merge tag 'media/v5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds4-77/+9
2020-09-14media: media/v4l2: remove V4L2_FLAG_MEMORY_NON_CONSISTENT flagSergey Senozhatsky4-77/+9
2020-09-07Merge tag 'v5.9-rc4' into patchworkMauro Carvalho Chehab1-18/+18
2020-09-03media: rc: harmonize infrared durations to microsecondsSean Young1-2/+2
2020-08-29media: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-28media: videobuf2-v4l2.c: add vb2_video_unregister_device helper functionHans Verkuil1-6/+45
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-18/+18
2020-07-19media: videobuf2: Print videobuf2 buffer state by nameEzequiel Garcia1-8/+27
2020-07-19media: tpg: Add function to return colors' order of test imageKaaira Gupta1-2/+28
2020-07-19media: tpg: change char argument to const charKaaira Gupta1-5/+5
2020-07-19media: Add V4L2_TYPE_IS_CAPTURE helperEzequiel Garcia1-2/+2
2020-07-04media: videobuf2: Fix length check for single plane dmabuf queueingJohn Cox1-1/+2
2020-07-04media: vb2: Print the queue pointer in debug messagesLaurent Pinchart2-137/+157
2020-06-23media: videobuf2: remove redundant if-statementSergey Senozhatsky1-2/+1
2020-06-23media: videobuf2: don't test db_attach in dma-contig prepare and finishSergey Senozhatsky2-12/+2
2020-06-23media: videobuf2: add begin/end cpu_access callbacks to dma-sgSergey Senozhatsky1-0/+30
2020-06-23media: videobuf2: add begin/end cpu_access callbacks to dma-contigSergey Senozhatsky1-0/+35
2020-06-23media: videobuf2: check ->synced flag in prepare() and finish()Sergey Senozhatsky1-2/+7
2020-06-23media: videobuf2: do not sync caches when we are allowed not toSergey Senozhatsky1-4/+10
2020-06-23media: videobuf2: factor out planes prepare/finish functionsSergey Senozhatsky1-21/+31
2020-06-23media: videobuf2: handle V4L2_FLAG_MEMORY_NON_CONSISTENT flagSergey Senozhatsky2-4/+26
2020-06-23media: videobuf2: add queue memory consistency parameterSergey Senozhatsky2-13/+44
2020-06-23media: videobuf2: add V4L2_FLAG_MEMORY_NON_CONSISTENT flagSergey Senozhatsky1-0/+2
2020-06-23media: videobuf2: handle V4L2 buffer cache flagsSergey Senozhatsky1-0/+48
2020-06-13Merge tag 'media/v5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds1-18/+2
2020-06-11media: videobuf2-dma-contig: fix bad kfree in vb2_dma_contig_clear_max_seg_sizeTomi Valkeinen1-18/+2
2020-06-03Merge tag 'media/v5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds1-1/+1
2020-06-02mm: remove the prot argument from vm_map_ramChristoph Hellwig2-4/+2
2020-04-14media: dvb-usb: auto-select CYPRESS_FIRMWAREMauro Carvalho Chehab1-1/+1
2020-03-20media: siano: Use scnprintf() for avoiding potential buffer overflowTakashi Iwai1-104/+110
2020-03-12media: videobuf2-core: fix dprintk levelAlexandre Courbot1-2/+2
2020-03-02media: videobuf2-dma-contig.c: remove spurious 'b' in messageHans Verkuil1-2/+2
2020-02-24media: media/common/saa7146: rename VFL_TYPE_GRABBER to _VIDEOHans Verkuil1-5/+5
2020-02-24media: media/saa7146: fix incorrect assertion in saa7146_buffer_finishAditya Pakki1-2/+0
2020-01-31Merge tag 'media/v5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds2-4/+6
2020-01-30Merge tag 'drm-next-2020-01-30' of git://anongit.freedesktop.org/drm/drmLinus Torvalds3-24/+0
2020-01-08media: saa7146: Avoid using BUG_ON as an assertionAditya Pakki1-2/+4
2020-01-06remove ioremap_nocache and devm_ioremap_nocacheChristoph Hellwig1-1/+1
2020-01-03media: v4l2: abstract timeval handling in v4l2_bufferArnd Bergmann1-2/+2
2019-12-17Merge tag 'drm-misc-next-2019-12-16' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter3-24/+0
2019-11-25media/videobuf2: Drop dma_buf->k(un)map supportDaniel Vetter3-24/+0
2019-11-10media: siano: Use the correct style for SPDX License IdentifierNishad Kamdar1-1/+1
2019-11-08media: siano: fix spelling mistake "ENBALE" -> "ENABLE"Colin Ian King2-4/+4
2019-10-21media: vb2: add V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUFHans Verkuil1-2/+10
2019-07-30media: v4l2-tpg: add support for new pixelformatsHans Verkuil1-0/+107