aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
AgeCommit message (Expand)AuthorFilesLines
2024-03-25Merge drm/drm-fixes into drm-misc-fixesThomas Zimmermann2-6/+6
2024-03-20dma-buf: Fix NULL pointer dereference in sanitycheck()Pavel Sakharov1-3/+3
2024-02-07Merge drm/drm-next into drm-misc-nextThomas Zimmermann1-4/+3
2024-01-31dma-buf: heaps: Don't track CMA dma-buf pages under RssFileT.J. Mercier1-4/+3
2024-01-29Merge drm/drm-next into drm-misc-nextMaxime Ripard1-1/+1
2024-01-12dma-buf/dma-fence: fix spellingRandy Dunlap1-4/+4
2024-01-12dma-buf/dma-resv: fix spellingRandy Dunlap1-2/+2
2023-12-12Backmerge tag 'v6.7-rc5' into drm-nextDave Airlie1-1/+1
2023-12-02dma-buf/sw_sync: Add fence deadline supportRob Clark2-0/+84
2023-12-02dma-buf/sync_file: Add SET_DEADLINE ioctlRob Clark2-1/+21
2023-11-27dma-buf: fix check in dma_resv_add_fenceChristian König1-1/+1
2023-11-20dma-buf: Replace strlcpy() with strscpy()Kees Cook1-2/+2
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds2-11/+5
2023-10-05dma-buf: add dma_fence_timestamp helperChristian König2-15/+7
2023-10-04kthread: add kthread_stop_putAndreas Gruenbacher2-11/+5
2023-08-30Merge tag 'drm-next-2023-08-30' of git://anongit.freedesktop.org/drm/drmLinus Torvalds5-23/+4
2023-08-24BackMerge tag 'v6.5-rc7' into drm-nextDave Airlie1-4/+9
2023-08-23dma-buf/sw_sync: Avoid recursive lock during fence signalRob Clark1-9/+9
2023-07-27dma-buf: Fix the typo in DMA-BUF statistics docLuc Ma1-1/+1
2023-07-17Merge tag 'drm-misc-next-2023-07-13' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter4-22/+3
2023-07-15dma-buf/dma-resv: Stop leaking on krealloc() failureVille Syrjälä1-4/+9
2023-07-11Merge v6.5-rc1 into drm-misc-fixesMaxime Ripard3-43/+8
2023-07-06dma-buf: fix an error pointer vs NULL bugDan Carpenter1-1/+1
2023-07-03dma-buf: keep the signaling time of merged fences v3Christian König2-6/+25
2023-06-29Merge tag 'drm-next-2023-06-29' of git://anongit.freedesktop.org/drm/drmLinus Torvalds2-2/+2
2023-06-21dma-buf: Change locking policy for mmap()Dmitry Osipenko1-14/+3
2023-06-21udmabuf: Don't assert held reservation lock for dma-buf mmappingDmitry Osipenko1-2/+0
2023-06-21dma-buf/heaps: Don't assert held reservation lock for dma-buf mmappingDmitry Osipenko2-6/+0
2023-06-19udmabuf: revert 'Add support for mapping hugepages (v4)'Mike Kravetz1-41/+6
2023-05-24dma-buf/sw_sync: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-1/+1
2023-05-09Merge drm/drm-next into drm-misc-nextMaxime Ripard4-7/+3
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+2
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-3/+0
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2023-04-17dma-buf/dma-resv.c: fix a typoSui Jingfeng1-1/+1
2023-04-13udmabuf: remove MODULE_LICENSE in non-modulesNick Alcock1-1/+0
2023-04-13dma-buf: heaps: remove MODULE_LICENSE in non-modulesNick Alcock2-2/+0
2023-03-29Merge tag 'dma-fence-deadline' of https://gitlab.freedesktop.org/drm/msm into...Daniel Vetter4-0/+104
2023-03-28dma-buf: system_heap: avoid reclaim for order 4Jaewon Kim1-3/+2
2023-03-28dma-buf/dma-resv: Add a way to set fence deadlineRob Clark1-0/+22
2023-03-28dma-buf/fence-chain: Add fence deadline supportRob Clark1-0/+12
2023-03-25dma-buf/fence-array: Add fence deadline supportRob Clark1-0/+11
2023-03-25dma-buf/dma-fence: Add deadline awarenessRob Clark1-0/+59
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-1/+1
2023-03-03dma-buf: Include missing parentheses to documentationMaíra Canal1-1/+1
2023-02-17dma-buf: make kobj_type structure constantThomas Weißschuh1-1/+1
2023-02-17dma-buf: make kobj_type structure constantThomas Weißschuh1-1/+1
2023-02-01dma-buf: actually set signaling bit for private stub fencesDanilo Krummrich1-1/+1
2023-01-31Merge drm/drm-next into drm-misc-nextThomas Zimmermann3-51/+42
2023-01-31Merge v6.2-rc6 into drm-nextDaniel Vetter3-51/+42
2023-01-26dma-buf: actually set signaling bit for private stub fencesDanilo Krummrich1-1/+1
2023-01-04Merge tag 'drm-misc-next-2023-01-03' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter1-7/+7
2023-01-03Merge tag 'drm-misc-next-2022-11-24' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter1-0/+28
2023-01-03Merge drm/drm-fixes into drm-misc-fixesMaxime Ripard8-40/+213
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-2/+2
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+7
2022-12-13Merge tag 'drm-next-2022-12-13' of git://anongit.freedesktop.org/drm/drmLinus Torvalds4-33/+201
2022-12-13dma-buf: fix dma_buf_export init order v2Christian König3-52/+43
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+3
2022-11-24driver core: make struct class.devnode() take a const *Greg Kroah-Hartman1-1/+1
2022-11-24dma-buf: A collection of typo and documentation fixesT.J. Mercier1-7/+7
2022-11-22kobject: kset_uevent_ops: make filter() callback take a const *Greg Kroah-Hartman1-1/+1
2022-11-22dma-buf: fix racing conflict of dma_heap_add()Dawei Li1-13/+15
2022-11-18dma-buf: Use dma_fence_unwrap_for_each when importing fencesJason Ekstrand1-6/+17
2022-11-18udmabuf: add vmap and vunmap methods to udmabuf_opsLukasz Wiecaszek1-0/+28
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld1-1/+1
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-3/+3
2022-11-11dma-buf/heaps: Assert held reservation lock for dma-buf mmappingDmitry Osipenko2-0/+6
2022-11-11udmabuf: Assert held reservation lock for dma-buf mmappingDmitry Osipenko1-0/+3
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-11-01dma-buf: Proactively round up to kmalloc bucket sizeKees Cook1-2/+7
2022-10-18Merge drm/drm-next into drm-misc-nextMaxime Ripard3-4/+5
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_inode' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2022-10-06Merge tag 'pull-file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-1/+1
2022-10-06Merge tag 'pull-d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2022-10-05Merge tag 'drm-next-2022-10-05' of git://anongit.freedesktop.org/drm/drmLinus Torvalds7-16/+75
2022-09-19dma-buf: fix dma_fence_default_wait() signaling checkChristian König1-3/+3
2022-09-16dma-buf: dma_fence_wait must enable signalingArvind Yadav1-3/+2
2022-09-16dma-buf: Enable signaling on fence for selftestsArvind Yadav4-0/+52
2022-09-16dma-buf: set signaling bit for the stub fenceArvind Yadav1-0/+8
2022-09-16dma-buf: Remove the signaled bit status checkArvind Yadav1-3/+0
2022-09-11Merge tag 'drm-misc-next-2022-09-09' of git://anongit.freedesktop.org/drm/drm...Dave Airlie1-3/+6
2022-09-06Merge tag 'drm-misc-next-2022-08-20-1' of git://anongit.freedesktop.org/drm/d...Daniel Vetter1-4/+4
2022-09-01dma_buf: no need to bother with file_inode()->i_mappingAl Viro1-1/+1
2022-08-25dma-buf/dma-resv: check if the new fence is really laterChristian König1-1/+2
2022-08-25udmabuf: Set ubuf->sg = NULL if the creation of sg table failsVivek Kasireddy1-3/+6
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-10dma-buf/sync_file: use strscpy to replace strlcpyXueBing Chen1-4/+4
2022-08-03Merge tag 'drm-next-2022-08-03' of git://anongit.freedesktop.org/drm/drmLinus Torvalds8-149/+430
2022-08-03Merge tag 'pull-work.lseek' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2022-07-16dma-buf: remove useless FMODE_LSEEK flagJason A. Donenfeld1-1/+0
2022-07-14dma-buf: revert "return only unsignaled fences in dma_fence_unwrap_for_each v3"Christian König1-1/+2
2022-07-13Merge drm/drm-next into drm-misc-nextMaxime Ripard1-1/+4
2022-07-13Backmerge tag 'v5.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/to...Dave Airlie1-1/+4
2022-07-12dma-buf: revert "return only unsignaled fences in dma_fence_unwrap_for_each v3"Christian König1-1/+2
2022-07-12Merge tag 'drm-misc-fixes-2022-07-07-1' of ssh://git.freedesktop.org/git/drm/...Dave Airlie1-1/+1
2022-07-07dma-buf: Fix one use-after-free of fencexinhui pan1-1/+1
2022-06-23dma-buf: deprecate DMABUF_SYSFS_STATSChristian König1-1/+5
2022-06-20Merge drm/drm-next into drm-misc-nextThomas Zimmermann1-4/+12
2022-06-20udmabuf: add back sanity checkGerd Hoffmann1-1/+4
2022-06-15Merge tag 'drm-misc-next-2022-06-08' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter6-147/+301
2022-06-09udmabuf: Set the DMA mask for the udmabuf device (v2)Vivek Kasireddy1-1/+17
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-30dma-buf: generalize dma_fence unwrap & merging v3Christian König3-113/+218
2022-05-30dma-buf: cleanup dma_fence_unwrap implementationChristian König2-1/+60
2022-05-30dma-buf: cleanup dma_fence_unwrap selftest v2Christian König1-29/+19
2022-05-30dma-buf: cleanup dma_fence_chain_walkChristian König1-2/+2
2022-05-25Merge tag 'drm-next-2022-05-25' of git://anongit.freedesktop.org/drm/drmLinus Torvalds4-329/+334
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-05-04dma-buf/sync_file: cleanup fence merging a bitChristian König1-14/+7
2022-04-18Merge drm/drm-next into drm-misc-nextPaul Cercueil5-68/+368
2022-04-12Merge tag 'drm-misc-next-2022-04-07' of git://anongit.freedesktop.org/drm/drm...Dave Airlie3-55/+153
2022-04-07dma-buf: drop seq count based updateChristian König2-22/+13
2022-04-07dma-buf: wait for map to complete for static attachmentsChristian König1-3/+15
2022-04-07dma-buf: add DMA_RESV_USAGE_BOOKKEEP v3Christian König2-3/+3
2022-04-07dma-buf: add DMA_RESV_USAGE_KERNEL v3Christian König2-2/+2
2022-04-07dma-buf & drm/amdgpu: remove dma_resv workaroundChristian König1-212/+141
2022-04-07dma-buf: specify usage while adding fences to dma_resv obj v7Christian König2-85/+64
2022-04-07dma-buf: add enum dma_resv_usage v4Christian König3-43/+46
2022-04-06dma-buf/drivers: make reserving a shared slot mandatory v4Christian König2-39/+35
2022-04-05Merge drm/drm-next into drm-misc-nextMaxime Ripard4-21/+23
2022-04-05dma-buf: finally make dma_resv_excl_fence private v2Christian König1-0/+6
2022-04-03dma-buf: add dma_resv_get_singleton v2Christian König1-0/+54
2022-04-03drivers/dma-buf: dma-buf.c: fix a typoSui Jingfeng1-1/+1
2022-04-01dma-buf: drop the DAG approach for the dma_resv object v3Christian König1-15/+1
2022-03-29dma-buf: handle empty dma_fence_arrays gracefullyChristian König1-0/+5
2022-03-29dma-buf/sync-file: fix logic error in new fence merge codeChristian König1-1/+1
2022-03-25dma-buf/sync-file: fix warning about fence containersChristian König1-68/+73
2022-03-25dma-buf: add dma_fence_unwrap v2Christian König3-0/+263
2022-03-25dma-buf: Add dma_fence_array_for_each (v2)Christian König1-0/+27
2022-03-24dma-buf: finally make the dma_resv_list private v2Christian König1-0/+11
2022-03-24dma-buf: add dma_resv_replace_fences v2Christian König1-0/+45
2022-02-25Merge tag 'drm-misc-next-2022-02-23' of git://anongit.freedesktop.org/drm/drm...Dave Airlie3-18/+45
2022-02-14Backmerge tag 'v5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/to...Dave Airlie1-0/+2
2022-02-11Merge tag 'drm-intel-next-2022-02-08' of git://anongit.freedesktop.org/drm/dr...Dave Airlie3-21/+21
2022-02-08dma-buf: add dma_fence_chain_contained helperChristian König1-4/+2
2022-02-08dma-buf: warn about containers in dma_resv objectChristian König1-0/+5
2022-02-08dma-buf: Warn about dma_fence_chain container rules v2Christian König1-0/+9
2022-02-08dma-buf: warn about dma_fence_array container rules v2Christian König1-0/+14
2022-02-07dma-buf-map: Rename to iosys-mapLucas De Marchi3-21/+21
2022-02-07Merge remote-tracking branch 'drm/drm-next' into drm-misc-nextMaarten Lankhorst2-3/+5
2022-02-01Merge tag 'drm-misc-next-2022-01-27' of git://anongit.freedesktop.org/drm/drm...Dave Airlie3-50/+26
2022-02-01dma-buf: heaps: Fix potential spectre v1 gadgetJordy Zomer1-0/+2
2022-01-31dma-resv: some doc polish for iteratorsDaniel Vetter1-14/+15
2022-01-19dma-buf: drop excl_fence parameter from dma_resv_get_fencesChristian König2-50/+22
2022-01-18udmabuf: validate ubuf->pagecountPavel Skripkin1-0/+4
2022-01-16Merge tag 'drm-next-2022-01-14' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-2/+4
2022-01-14Merge tag 'drm-misc-fixes-2022-01-14' of git://anongit.freedesktop.org/drm/dr...Daniel Vetter1-2/+4
2022-01-13dma-buf: cma_heap: Fix mutex locking sectionWeizhao Ouyang1-2/+4
2022-01-12Merge tag 'driver-core-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2021-12-28kobject: remove kset from struct kset_uevent_ops callbacksGreg Kroah-Hartman1-1/+1
2021-12-14Merge v5.16-rc5 into drm-nextDaniel Vetter1-1/+1
2021-12-10Merge tag 'drm-intel-gt-next-2021-12-09' of git://anongit.freedesktop.org/drm...Dave Airlie1-1/+5
2021-12-01dma-buf: system_heap: Use 'for_each_sgtable_sg' in pages free flowGuangming1-1/+1
2021-11-30dma-buf: make fence mandatory for dma_resv_add_excl_fence v2Christian König1-2/+1
2021-11-30dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()Thomas Hellström1-1/+5
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 Torvalds2-62/+88
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önig3-10/+41
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-26dma-buf: st: fix error handling in test_get_fences()Arnd Bergmann1-2/+3
2021-10-25dma-buf: move dma-buf symbols into the DMA_BUF module namespaceGreg Kroah-Hartman1-17/+17
2021-10-22dma-buf: add dma_resv selftest v4Christian König3-1/+373
2021-10-18dma-buf: Update obsoluted comments on dma_buf_vmap/vunmap()Shunsuke Mie1-2/+2
2021-10-11dma-resv: Fix dma_resv_get_fences and dma_resv_copy_fences after conversionTvrtko Ursulin1-8/+10
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-07dma-buf: add dma_resv_for_each_fence v3Christian König1-0/+51
2021-10-06dma-buf: use new iterator in dma_resv_test_signaledChristian König1-50/+7
2021-10-06dma-buf: use new iterator in dma_resv_wait_timeoutChristian König1-61/+8
2021-10-06dma-buf: use new iterator in dma_resv_get_fences v3Christian König1-73/+35
2021-10-06dma-buf: use new iterator in dma_resv_copy_fencesChristian König1-52/+32
2021-10-06dma-buf: add dma_resv_for_each_fence_unlocked v8Christian König1-0/+100
2021-10-01dma-buf: fix and rework dma_buf_poll v7Christian König1-82/+70
2021-09-14dma-buf: system_heap: Avoid warning on mid-order allocationsJohn Stultz1-2/+3
2021-09-14Merge drm/drm-next into drm-misc-nextMaxime Ripard1-1/+3
2021-09-07dma-buf: DMABUF_SYSFS_STATS should depend on DMA_SHARED_BUFFERGeert Uytterhoeven1-1/+1
2021-09-07dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFERGeert Uytterhoeven1-0/+1
2021-09-03dma-buf: clarify dma_fence_add_callback documentationChristian König1-8/+5
2021-09-02dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFERGeert Uytterhoeven1-0/+1
2021-08-30dma-resv: Give the docs a do-overDaniel Vetter1-6/+18
2021-08-16dma-buf: WARN on dmabuf release with pending attachmentsCharan Teja Reddy1-0/+1
2021-08-16dma-buf: nuke seqno-fenceChristian König2-72/+1