aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
AgeCommit message (Expand)AuthorFilesLines
2025-04-11dma-buf/sw_sync: Decrement refcount on error in sw_sync_ioctl_get_deadline()Dan Carpenter1-5/+14
2025-04-08Merge drm/drm-fixes into drm-misc-fixesThomas Zimmermann3-6/+275
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner1-1/+1
2025-03-24udmabuf: fix a buf size overflow issue during udmabuf creationXiaogang Chen1-1/+1
2025-02-06Merge drm/drm-next into drm-misc-nextMaxime Ripard2-17/+28
2025-01-09dma-fence: Add some more fence-merge-unwrap testsTvrtko Ursulin1-3/+196
2025-01-09dma-buf: add selftest for fence order after mergeChristian König1-1/+68
2025-01-09dma-fence: Add a single fence fast path for fence mergingTvrtko Ursulin1-1/+10
2024-12-20Merge tag 'drm-misc-fixes-2024-12-19' of https://gitlab.freedesktop.org/drm/m...Dave Airlie2-17/+28
2024-12-12dma-buf: Fix __dma_buf_debugfs_list_del argument for !CONFIG_DEBUG_FST.J. Mercier1-1/+1
2024-12-11udmabuf: fix memory leak on last export_udmabuf() error pathJann Horn1-11/+17
2024-12-11udmabuf: also check for F_SEAL_FUTURE_WRITEJann Horn1-1/+1
2024-12-11udmabuf: fix racy memfd sealing checkJann Horn1-4/+9
2024-12-06Merge tag 'drm-fixes-2024-12-07' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds2-65/+87
2024-12-04Merge tag 'drm-misc-fixes-2024-11-28' of https://gitlab.freedesktop.org/drm/m...Dave Airlie1-1/+27
2024-12-04Merge tag 'drm-misc-fixes-2024-11-21' of https://gitlab.freedesktop.org/drm/m...Dave Airlie1-64/+60
2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra1-21/+21
2024-11-25dma-buf: fix dma_fence_array_signaled v4Christian König1-1/+27
2024-11-15dma-fence: Use kernel's sort for merging fencesTvrtko Ursulin1-66/+60
2024-11-15dma-fence: Fix reference leak on fence merge failure pathTvrtko Ursulin1-0/+2
2024-10-14dma-buf: Use atomic64_inc_return() in dma_buf_getfile()Uros Bizjak1-1/+1
2024-10-14dma-buf/heaps: replace kmap_atomic with kmap_local_pagePintu Kumar1-3/+3
2024-10-14dma-buf: fix S_IRUGO to 0444, block comments, func declarationPintu Kumar1-5/+7
2024-10-09dma-buf/sw_sync: remove pointless enable_signaling implementationChristian König1-6/+0
2024-10-09dma-buf: add WARN_ON() illegal dma-fence signalingChristian König1-2/+2
2024-09-30Merge drm/drm-next into drm-misc-nextThomas Zimmermann2-2/+2
2024-09-23dma-buf: Add syntax highlighting to code listings in the documentTommy Chiang1-6/+9
2024-09-20udmabuf: reuse folio array when pin foliosHuan Yang1-15/+21
2024-09-20udmabuf: remove udmabuf_folioHuan Yang1-36/+29
2024-09-20udmabuf: introduce udmabuf init and deinit helperHuan Yang1-21/+31
2024-09-20udmabuf: udmabuf_create pin folio codestyle cleanupHuan Yang1-61/+76
2024-09-20udmabuf: fix vmap_udmabuf error page setHuan Yang2-7/+16
2024-09-20udmabuf: change folios array from kmalloc to kvmallocHuan Yang1-13/+13
2024-09-20udmabuf: pre-fault when first page faultHuan Yang1-2/+31
2024-09-20dma-buf/dma-fence: Use a successful read_trylock() annotation for dma_fence_b...Thomas Hellström1-3/+3
2024-09-19Merge tag 'drm-next-2024-09-19' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds2-33/+72
2024-09-17Merge tag 'timers-core-2024-09-16' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2024-09-11Merge drm/drm-next into drm-misc-nextThomas Zimmermann1-21/+57
2024-09-09dma-buf: heaps: Add __init to CMA and system heap module_init functionsT.J. Mercier2-3/+3
2024-09-09dma-buf: heaps: Fix off-by-one in CMA heap fault handlerT.J. Mercier1-1/+1
2024-09-08treewide: Fix wrong singular form of jiffies in commentsAnna-Maria Behnsen1-1/+1
2024-08-30dma-buf: Split out dma fence array create into alloc and arm functionsMatthew Brost1-21/+57
2024-08-08Merge tag 'drm-misc-next-2024-08-01' of https://gitlab.freedesktop.org/drm/mi...Daniel Vetter1-12/+15
2024-07-29Merge drm/drm-next into drm-misc-nextThomas Zimmermann2-2/+8
2024-07-23dma-buf: heaps: Deduplicate docs and adopt common formatT.J. Mercier1-12/+15
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-59/+174
2024-07-12udmabuf: pin the pages using memfd_pin_folios() APIVivek Kasireddy1-75/+80
2024-07-12udmabuf: convert udmabuf driver to use foliosVivek Kasireddy1-56/+83
2024-07-12udmabuf: add back support for mapping hugetlb pagesVivek Kasireddy1-21/+101
2024-07-12udmabuf: use vmf_insert_pfn and VM_PFNMAP for handling mmapVivek Kasireddy1-3/+5
2024-07-12udmabuf: add CONFIG_MMU dependencyArnd Bergmann1-0/+1
2024-06-21Merge tag 'drm-misc-next-2024-06-20' of https://gitlab.freedesktop.org/drm/mi...Dave Airlie2-4/+4
2024-06-21Merge tag 'drm-misc-next-2024-06-06' of https://gitlab.freedesktop.org/drm/mi...Dave Airlie2-2/+9
2024-06-21Merge tag 'drm-misc-next-2024-05-30' of https://gitlab.freedesktop.org/drm/mi...Dave Airlie1-6/+4
2024-06-19dma-buf/heaps: Correct the types of fd_flags and heap_flagsBarry Song2-4/+4
2024-06-05dma-buf: align fd_flags and heap_flags with dma_heap_allocation_dataBarry Song1-2/+2
2024-05-31dma-buf: add a warning when drv try to reserve 0 fence slotsChristian König1-0/+7
2024-05-28Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixesMaarten Lankhorst2-23/+35
2024-05-27dma-buf: handle testing kthreads creation failureFedor Pchelkin1-0/+6
2024-05-27Merge drm/drm-next into drm-misc-nextMaxime Ripard1-1/+1
2024-05-27dma-buf/fence-array: Add flex array to struct dma_fence_arrayChristophe JAILLET1-6/+4
2024-05-24dma-buf/sw-sync: don't enable IRQ from sync_print_obj()Tetsuo Handa1-2/+2
2024-05-22tracing/treewide: Remove second parameter of __assign_str()Steven Rostedt (Google)1-1/+1
2024-04-15dma-buf: Do not build debugfs related code when !CONFIG_DEBUG_FSTvrtko Ursulin1-22/+34
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-327/+332
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-2/+14
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