diff options
author | Russell King <rmk+cubox@arm.linux.org.uk> | 2013-12-08 21:29:56 +0000 |
---|---|---|
committer | Russell King <rmk@arm.linux.org.uk> | 2013-12-08 22:02:42 +0000 |
commit | 6f2e8ec4c736fbffe3d0e0f1ec07f453910441a1 (patch) | |
tree | 3adfc685d5addab0a3d7a609a0d620b0046a6bee /Makefile.am | |
parent | dcad449e26e81b71e4a498dc5bfaf014a5566acd (diff) |
This is a complete redesign and rewrite of libbmm. This implementation
is based upon dma_bufs - where a dma_buf is a kernel-side buffer which
can be passed to and from other subsystems. libbmm becomes a provider
of dma_bufs - it permits userspace to allocate such things.
When a dma_buf is allocated, userspace is handed a file descriptor
which is unique to this buffer. This file descriptor can then be
passed into other subsystems, which can then request access to this
buffer.
The file descriptor supports very few operations - it can be mmap()d to
provide userspace access to the buffer, and it can be closed when it is
no longer required. Internally in the kernel, dma_bufs are reference
counted, so the dma_buf will only be freed when the last user gives up
its reference.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index fe67d9c..c32571d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,7 @@ libbmm_la_LTLIBRARIES = libbmm.la libbmm_ladir = $(libdir) libbmm_la_LDFLAGS = -no-undefined -export-symbols-regex "bmm_*" \ -version-info @ABI_VERSION@:@ABI_REVISION@:@ABI_AGE@ -libbmm_la_SOURCES = bmm_lib.c bmm_lib_priv.h rb.c rb.h +libbmm_la_SOURCES = bmm_lib.c bmm_drv.h rb.c rb.h libbmm_laincludedir = $(includedir) libbmm_lainclude_HEADERS = bmm_lib.h @@ -13,10 +13,6 @@ libbmm_lainclude_HEADERS = bmm_lib.h pkgconfigdir = @pkgconfigdir@ pkgconfig_DATA = libbmm.pc -bin_PROGRAMS = bmm_test -bmm_test_SOURCES = bmm_test.c -bmm_test_LDADD = libbmm.la - dataudevdir = @udevrulesdir@ dataudev_DATA = etc/udev/rules.d/99-bmm.rules |