Skip to content

Commit fae7d7d

Browse files
committed
Revert "dma-buf: Add dma-buf heaps framework"
This reverts commit a69b0e8. This patchset doesn't meet the UAPI requirements set out in [1] for the DRM subsystem. Once the userspace component is reviewed and ready for merge we can try again. [1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu/drm-uapi.html#open-source-userspace-requirements Fixes: a69b0e8 ("dma-buf: Add dma-buf heaps framework") Cc: Laura Abbott <[email protected]> Cc: Benjamin Gaignard <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: Liam Mark <[email protected]> Cc: Pratik Patel <[email protected]> Cc: Brian Starkey <[email protected]> Cc: Vincent Donnefort <[email protected]> Cc: Sudipto Paul <[email protected]> Cc: Andrew F. Davis <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Chenbo Feng <[email protected]> Cc: Alistair Strachan <[email protected]> Cc: Hridya Valsaraju <[email protected]> Cc: Hillf Danton <[email protected]> Cc: [email protected] Cc: Brian Starkey <[email protected]> Cc: John Stultz <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Rob Herring <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Cc: Sean Paul <[email protected]> Cc: "Andrew F. Davis" <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: David Airlie <[email protected]> Signed-off-by: Sean Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 837324d commit fae7d7d

File tree

6 files changed

+0
-411
lines changed

6 files changed

+0
-411
lines changed

MAINTAINERS

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4942,24 +4942,6 @@ F: include/linux/*fence.h
49424942
F: Documentation/driver-api/dma-buf.rst
49434943
T: git git://anongit.freedesktop.org/drm/drm-misc
49444944

4945-
DMA-BUF HEAPS FRAMEWORK
4946-
M: Sumit Semwal <[email protected]>
4947-
R: Andrew F. Davis <[email protected]>
4948-
R: Benjamin Gaignard <[email protected]>
4949-
R: Liam Mark <[email protected]>
4950-
R: Laura Abbott <[email protected]>
4951-
R: Brian Starkey <[email protected]>
4952-
R: John Stultz <[email protected]>
4953-
S: Maintained
4954-
4955-
4956-
L: [email protected] (moderated for non-subscribers)
4957-
F: include/uapi/linux/dma-heap.h
4958-
F: include/linux/dma-heap.h
4959-
F: drivers/dma-buf/dma-heap.c
4960-
F: drivers/dma-buf/heaps/*
4961-
T: git git://anongit.freedesktop.org/drm/drm-misc
4962-
49634945
DMA GENERIC OFFLOAD ENGINE SUBSYSTEM
49644946
M: Vinod Koul <[email protected]>
49654947

drivers/dma-buf/Kconfig

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,4 @@ config DMABUF_SELFTESTS
4444
default n
4545
depends on DMA_SHARED_BUFFER
4646

47-
menuconfig DMABUF_HEAPS
48-
bool "DMA-BUF Userland Memory Heaps"
49-
select DMA_SHARED_BUFFER
50-
help
51-
Choose this option to enable the DMA-BUF userland memory heaps.
52-
This options creates per heap chardevs in /dev/dma_heap/ which
53-
allows userspace to allocate dma-bufs that can be shared
54-
between drivers.
55-
5647
endmenu

drivers/dma-buf/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
obj-y := dma-buf.o dma-fence.o dma-fence-array.o dma-fence-chain.o \
33
dma-resv.o seqno-fence.o
4-
obj-$(CONFIG_DMABUF_HEAPS) += dma-heap.o
54
obj-$(CONFIG_SYNC_FILE) += sync_file.o
65
obj-$(CONFIG_SW_SYNC) += sw_sync.o sync_debug.o
76
obj-$(CONFIG_UDMABUF) += udmabuf.o

drivers/dma-buf/dma-heap.c

Lines changed: 0 additions & 269 deletions
This file was deleted.

include/linux/dma-heap.h

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)