aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/dma-buf.c
AgeCommit message (Expand)AuthorFilesLines
10 daysdma: convert dma_buf_fd() to FD_ADD()Christian Brauner1-9/+1
2025-06-11dma-buf: fix compare in WARN_ON_ONCEChristian König1-1/+1
2025-05-28Merge tag 'bpf-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds1-20/+78
2025-05-27bpf: Add dmabuf iteratorT.J. Mercier1-0/+68
2025-05-27dma-buf: Rename debugfs symbolsT.J. Mercier1-25/+15
2025-03-06dma-buf: drop caching of sg_tablesChristian König1-34/+0
2025-03-06dma-buf: dma-buf: stop mapping sg_tables on attach v2Christian König1-92/+59
2024-12-20Merge tag 'drm-misc-fixes-2024-12-19' of https://gitlab.freedesktop.org/drm/m...Dave Airlie1-1/+1
2024-12-12dma-buf: Fix __dma_buf_debugfs_list_del argument for !CONFIG_DEBUG_FST.J. Mercier1-1/+1
2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra1-21/+21
2024-10-14dma-buf: Use atomic64_inc_return() in dma_buf_getfile()Uros Bizjak1-1/+1
2024-10-14dma-buf: fix S_IRUGO to 0444, block comments, func declarationPintu Kumar1-5/+7
2024-09-23dma-buf: Add syntax highlighting to code listings in the documentTommy Chiang1-6/+9
2024-04-15dma-buf: Do not build debugfs related code when !CONFIG_DEBUG_FSTvrtko Ursulin1-22/+34
2023-11-20dma-buf: Replace strlcpy() with strscpy()Kees Cook1-2/+2
2023-06-21dma-buf: Change locking policy for mmap()Dmitry Osipenko1-14/+3
2023-03-03dma-buf: Include missing parentheses to documentationMaíra Canal1-1/+1
2023-01-31Merge v6.2-rc6 into drm-nextDaniel Vetter1-44/+38
2023-01-04Merge tag 'drm-misc-next-2023-01-03' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter1-7/+7
2023-01-03Merge drm/drm-fixes into drm-misc-fixesMaxime Ripard1-33/+192
2022-12-13Merge tag 'drm-next-2022-12-13' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-33/+192
2022-12-13dma-buf: fix dma_buf_export init order v2Christian König1-45/+39
2022-11-24dma-buf: A collection of typo and documentation fixesT.J. Mercier1-7/+7
2022-11-18dma-buf: Use dma_fence_unwrap_for_each when importing fencesJason Ekstrand1-6/+17
2022-11-11dma-buf: Move dma_buf_mmap_internal() to dynamic locking specificationDmitry Osipenko1-1/+6
2022-11-02dma-buf: Make locking consistent in dma_buf_detach()Dmitry Osipenko1-2/+2
2022-10-18Merge drm/drm-next into drm-misc-nextMaxime Ripard1-2/+2
2022-10-18dma-buf: Remove obsoleted internal lockDmitry Osipenko1-10/+4
2022-10-18dma-buf: Document dynamic locking conventionDmitry Osipenko1-0/+64
2022-10-18dma-buf: Move dma_buf_mmap() to dynamic locking specificationDmitry Osipenko1-1/+7
2022-10-18dma-buf: Move dma_buf_map_attachment() to dynamic locking specificationDmitry Osipenko1-8/+2
2022-10-18dma-buf: Move dma_buf_attach() to dynamic locking specificationDmitry Osipenko1-12/+8
2022-10-18dma-buf: Move dma_buf_vmap() to dynamic locking specificationDmitry Osipenko1-0/+4
2022-10-18dma-buf: Add unlocked variant of attachment-mapping functionsDmitry Osipenko1-0/+53
2022-10-18dma-buf: Add unlocked variant of vmapping functionsDmitry Osipenko1-0/+43
2022-10-06Merge tag 'pull-file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-1/+1
2022-08-20dynamic_dname(): drop unused dentry argumentAl Viro1-1/+1
2022-08-17dma_buf_getfile(): don't bother with ->f_flags reassignmentsAl Viro1-1/+1
2022-08-03Merge tag 'drm-next-2022-08-03' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-2/+108
2022-07-16dma-buf: remove useless FMODE_LSEEK flagJason A. Donenfeld1-1/+0
2022-06-22Merge tag 'drm-misc-next-2022-06-17' of git://anongit.freedesktop.org/drm/drm...Dave Airlie1-0/+106
2022-06-15Merge tag 'drm-misc-next-2022-06-08' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter1-2/+2
2022-06-08dma-buf: Add an API for importing sync files (v10)Jason Ekstrand1-0/+39
2022-06-08dma-buf: Add an API for exporting sync files (v14)Jason Ekstrand1-0/+67
2022-05-25Merge tag 'drm-next-2022-05-25' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-6/+20
2022-05-13dma-buf: ensure unique directory name for dmabuf statsCharan Teja Kalla1-0/+8
2022-05-10dma-buf: call dma_buf_stats_setup after dmabuf is in valid listCharan Teja Reddy1-4/+4
2022-05-10dma-buf: add the name field to the table headerYuanzheng Song1-2/+2
2022-04-07dma-buf: wait for map to complete for static attachmentsChristian König1-3/+15
2022-04-07dma-buf: add enum dma_resv_usage v4Christian König1-2/+4
2022-04-05Merge drm/drm-next into drm-misc-nextMaxime Ripard1-11/+11
2022-04-03drivers/dma-buf: dma-buf.c: fix a typoSui Jingfeng1-1/+1
2022-02-07dma-buf-map: Rename to iosys-mapLucas De Marchi1-11/+11
2021-11-18Merge drm/drm-next into drm-misc-nextThomas Zimmermann1-23/+32
2021-11-12Merge tag 'drm-next-2021-11-12' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-54/+27
2021-11-12Merge tag 'drm-misc-fixes-2021-11-11' of git://anongit.freedesktop.org/drm/dr...Dave Airlie1-0/+3
2021-11-11dma-buf: add dma_fence_describe and dma_resv_describe v2Christian König1-10/+1
2021-11-04Merge tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-17/+17
2021-11-04dma-buf/poll: Get a file reference for outstanding fence callbacksMichel Dänzer1-6/+12
2021-10-29dma-buf: acquire name lock before read/write dma_buf.nameGuangming Cao1-0/+3
2021-10-28dma-buf: remove restriction of IOCTL:DMA_BUF_SET_NAMEGuangming Cao1-14/+3
2021-10-25dma-buf: move dma-buf symbols into the DMA_BUF module namespaceGreg Kroah-Hartman1-17/+17
2021-10-18dma-buf: Update obsoluted comments on dma_buf_vmap/vunmap()Shunsuke Mie1-2/+2
2021-10-07dma-buf: use the new iterator in dma_resv_pollChristian König1-30/+6
2021-10-07dma-buf: use the new iterator in dma_buf_debug_showChristian König1-18/+6
2021-10-01dma-buf: fix and rework dma_buf_poll v7Christian König1-82/+70
2021-08-16dma-buf: WARN on dmabuf release with pending attachmentsCharan Teja Reddy1-0/+1
2021-07-20dma_buf: remove dmabuf sysfs teardown before releaseGuangming Cao1-1/+1
2021-07-20dma-buf: Delete the DMA-BUF attachment sysfs statisticsHridya Valsaraju1-16/+0
2021-06-22dma-buf: Document non-dynamic exporter expectations betterDaniel Vetter1-0/+3
2021-06-15dmabuf: Add the capability to expose DMA-BUF stats in sysfsHridya Valsaraju1-0/+37
2021-06-06dma-buf: drop the _rcu postfix on function names v3Christian König1-2/+1
2021-06-06dma-buf: rename and cleanup dma_resv_get_excl v3Christian König1-3/+2
2021-06-04dma-buf: fix inconsistent debug print v2Christian König1-18/+9
2021-05-20dma-buf: fix unintended pin/unpin warningsChristian König1-5/+5
2021-01-25Merge tag 'v5.11-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/torval...Dave Airlie1-4/+17
2021-01-18dma-buf: Add debug optionDaniel Vetter1-4/+42
2021-01-07dmabuf: fix use-after-free of dmabuf's file->f_inodeCharan Teja Reddy1-4/+17
2020-12-16dma-buf: doc polish for pin/unpinDaniel Vetter1-3/+16
2020-12-16dma-buf: begin/end_cpu might lock the dma_resv lockDaniel Vetter1-0/+4
2020-12-16dma-buf: some kerneldoc formatting fixesDaniel Vetter1-13/+18
2020-12-16dma-buf: Remove kmap kerneldoc vestigesDaniel Vetter1-6/+14
2020-11-19mm: introduce vma_set_file function v5Christian König1-2/+1
2020-11-19mm: mmap: fix fput in error path v2Christian König1-17/+3
2020-11-05Revert "mm: mmap: fix fput in error path v2"Christian König1-3/+17
2020-11-05Revert "mm: introduce vma_set_file function v4"Christian König1-1/+2
2020-11-05dma-buf: Fix static checker warningJianxin Xiong1-1/+1
2020-11-05mm: introduce vma_set_file function v4Christian König1-2/+1
2020-11-05mm: mmap: fix fput in error path v2Christian König1-17/+3
2020-11-02Merge drm/drm-next into drm-misc-nextMaxime Ripard1-0/+2
2020-10-15dma-buf: Clarify that dma-buf sg lists are page alignedJianxin Xiong1-0/+21
2020-09-29dma-buf: Use struct dma_buf_map in dma_buf_vunmap() interfacesThomas Zimmermann1-4/+4
2020-09-29dma-buf: Use struct dma_buf_map in dma_buf_vmap() interfacesThomas Zimmermann1-12/+16
2020-09-29dma-buf: Add struct dma-buf-map for storing struct dma_buf.vaddr_ptrThomas Zimmermann1-7/+7
2020-09-21dmabuf: fix NULL pointer dereference in dma_buf_release()Charan Teja Reddy1-0/+2
2020-09-03dma-buf: Fix kerneldoc of dma_buf_set_name()Krzysztof Kozlowski1-3/+3
2020-07-24Merge v5.8-rc6 into drm-nextDave Airlie1-33/+32
2020-07-10dmabuf: use spinlock to access dmabuf->nameCharan Teja Kalla1-4/+7
2020-06-30Merge tag 'drm-misc-next-2020-06-26' of git://anongit.freedesktop.org/drm/drm...Dave Airlie1-3/+3
2020-06-25dma-buf: Move dma_buf_release() from fops to dentry_opsSumit Semwal1-29/+25
2020-06-24dma-buf: minor doc touch-upsDaniel Vetter1-3/+3
2020-06-02Merge tag 'drm-next-2020-06-02' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-0/+2
2020-04-30dma-buf: fix documentation build warningsRandy Dunlap1-2/+2
2020-04-27dma-buf: Fix SET_NAME ioctl uapiDaniel Vetter1-1/+2
2020-04-01dma-buf: add peer2peer flagChristian König1-0/+2
2020-03-12Merge tag 'drm-misc-next-2020-03-09' of git://anongit.freedesktop.org/drm/drm...Dave Airlie1-9/+101
2020-02-27dma-buf: make move_notify mandatory if importer_ops are providedChristian König1-8/+7
2020-02-27dma-buf: drop dynamic_mapping flagChristian König1-3/+2
2020-02-27dma-buf: add dynamic DMA-buf handling v15Christian König1-8/+102
2020-02-27dma-buf: free dmabuf->name in dma_buf_release()Cong Wang1-0/+1
2019-12-17Merge tag 'drm-misc-next-2019-12-16' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter1-60/+3
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+1
2019-11-25dma-buf: Drop dma_buf_k(un)mapDaniel Vetter1-60/+3
2019-10-24dma-buf: stop using the dmabuf->lock so much v2Christian König1-16/+2
2019-10-24dma-buf: change DMA-buf locking convention v3Christian König1-17/+101
2019-10-23compat_ioctl: move more drivers to compat_ptr_ioctlArnd Bergmann1-3/+1
2019-08-16dma-buf: Restore seqlock around dma_resv updatesChris Wilson1-5/+26
2019-08-13dma-buf: rename reservation_object to dma_resvChristian König1-16/+16
2019-08-10dma-buf: add reservation_object_fences helperChristian König1-26/+5
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-5/+10
2019-07-15Merge tag 'drm-next-2019-07-16' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-10/+166
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234Thomas Gleixner1-12/+1
2019-06-14dma-buf: add show_fdinfo handlerGreg Hackmann1-0/+15
2019-06-14dma-buf: add DMA_BUF_SET_NAME ioctlsGreg Hackmann1-3/+62
2019-06-14dma-buf: give each buffer a full-fledged inodeGreg Hackmann1-6/+57
2019-05-22dma-buf: start caching of sg_table objects v2Christian König1-2/+25
2019-04-24dma-buf: Make mmap callback actually optionalAndrew F. Davis1-2/+9
2019-04-24dma-buf: balance refcount inbalanceJérôme Glisse1-0/+1
2018-12-24dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macroYangtao Li1-11/+1
2018-08-10dma-buf: Remove requirement for ops->map() from dma_buf_exportChris Wilson1-1/+0
2018-06-20dma-buf: remove kmap_atomic interfaceChristian König1-52/+2
2018-06-20dma_buf: remove device parameter from attach callback v2Christian König1-1/+1
2018-06-01dma-buf: make map_atomic and map function pointers optionalGerd Hoffmann1-0/+4
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-13/+13
2018-02-01Merge tag 'drm-for-v4.16' of git://people.freedesktop.org/~airlied/linuxLinus Torvalds1-5/+4
2017-11-28the rest of drivers/*: annotate ->poll() instancesAl Viro1-2/+2
2017-11-27annotate poll_table_struct ->_keyAl Viro1-1/+1
2017-11-23dma-buf: Fix ifnullfree.cocci warningsVasyl Gomonovych1-2/+1
2017-11-02dma-buf: Cleanup comments on dma_buf_map_attachment()Liviu Dudau1-3/+3
2017-09-20dma-buf: remove redundant initialization of sg_tableColin Ian King1-1/+1
2017-05-08dma-buf: Adjust a null pointer check in dma_buf_attach()Markus Elfring1-1/+1
2017-05-08dma-buf: Improve a size determination in dma_buf_attach()Markus Elfring1-1/+1
2017-05-08dma-buf: Combine two function calls into one in dma_buf_debug_show()Markus Elfring1-3/+1
2017-04-20dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macroLogan Gunthorpe1-8/+8
2017-04-03dma-buf: align debugfs outputRussell King1-1/+2
2017-03-31dma-buf: fence debuggingRussell King1-1/+33
2017-02-27dma-buf: add support for compat ioctlMarek Szyprowski1-0/+3
2016-12-30dma-buf: Use recommended structure member referenceDaniel Vetter1-3/+2
2016-12-30dma-buf: use preferred struct reference in kernel-docDaniel Vetter1-3/+3
2016-12-13dma-buf: Final bits of doc polishDaniel Vetter1-0/+22
2016-12-13dma-buf: Update cpu access documentationDaniel Vetter1-0/+122
2016-12-13dma-buf: Reorganize device dma access docsDaniel Vetter1-5/+59
2016-10-25dma-buf: Rename struct fence to dma_fenceChris Wilson1-14/+14
2016-08-16dma-buf: Wait on the reservation object when sync'ing before CPU accessChris Wilson1-0/+23
2016-07-18dma-buf: Release module reference on creation failureChris Wilson1-4/+11
2016-06-20dma-buf: remove dma_buf_debugfs_create_file()Mathias Krause1-20/+9
2016-06-20dma-buf: remove dma_buf directory on bufinfo file creation errorsMathias Krause1-1/+4
2016-06-20dma-buf: propagate errors from dma_buf_describe() on debugfs readMathias Krause1-11/+3
2016-05-31dma-buf: use vma_pages()Muhammad Falak R Wani1-3/+4
2016-03-21dma-buf: Update docs for SYNC ioctlDaniel Vetter1-1/+1
2016-03-19dma-buf, drm, ion: Propagate error code from dma_buf_start_cpu_access()Chris Wilson1-6/+11
2016-02-12dma-buf: Add ioctls to allow userspace to flushDaniel Vetter1-0/+45
2016-02-09dma-buf: Remove range-based flushTiago Vignatti1-9/+4
2015-05-21dma-buf: Minor coding style fixesJagan Teki1-2/+7
2015-05-13dma-buf: add ref counting for module as exporterSumit Semwal1-1/+9
2015-04-21dma-buf: cleanup dma_buf_export() to make it easily extensibleSumit Semwal1-25/+22
2014-10-09dma-buf: don't open-code atomic_long_read()Al Viro1-1/+1
2014-07-08reservation: add suppport for read-only access using rcuMaarten Lankhorst1-11/+36
2014-07-08reservation: update api and add some helpersMaarten Lankhorst1-11/+24
2014-07-08dma-buf: add poll support, v3Maarten Lankhorst1-0/+108
2014-07-08dma-buf: use reservation objectsMaarten Lankhorst1-2/+20
2014-07-08dma-buf: move to drivers/dma-bufMaarten Lankhorst1-0/+743