forked from Minki/linux
1d51775cd3
Just exercising a very minor subset of the functionality, but already proven useful. v2: add missing locking v3: some more cleanup and consolidation, add unlocked test as well v4: add a dma_resv_get_fences selftest Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v3) Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v3) Link: https://patchwork.freedesktop.org/patch/msgid/20211005113742.1101-4-christian.koenig@amd.com
18 lines
533 B
Makefile
18 lines
533 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y := dma-buf.o dma-fence.o dma-fence-array.o dma-fence-chain.o \
|
|
dma-resv.o
|
|
obj-$(CONFIG_DMABUF_HEAPS) += dma-heap.o
|
|
obj-$(CONFIG_DMABUF_HEAPS) += heaps/
|
|
obj-$(CONFIG_SYNC_FILE) += sync_file.o
|
|
obj-$(CONFIG_SW_SYNC) += sw_sync.o sync_debug.o
|
|
obj-$(CONFIG_UDMABUF) += udmabuf.o
|
|
obj-$(CONFIG_DMABUF_SYSFS_STATS) += dma-buf-sysfs-stats.o
|
|
|
|
dmabuf_selftests-y := \
|
|
selftest.o \
|
|
st-dma-fence.o \
|
|
st-dma-fence-chain.o \
|
|
st-dma-resv.o
|
|
|
|
obj-$(CONFIG_DMABUF_SELFTESTS) += dmabuf_selftests.o
|