Age | Commit message (Collapse) | Author |
|
Update vmeta to use the dma_buf handling now provided by libbmm v2.
This permits more flexible buffer management, as the buffers can now
be passed via a standardized mechanism to other subsystems (such as
DRM), and image data to be encoded can be accepted directly from
other subsystems without needing to be copied.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
|
|
This removes all support for the uio-based interface from libvmeta,
replacing it with the new miscdevice interface code. This represents
a substantial cleanup of this code.
|
|
The kernel folk don't like the uio ioctl idea, so we can't use uio for
this driver. Instead, switch it to be a self-contained miscdevice.
This adds support to this library for the miscdevice interface.
|
|
Provide a common function to read the size and physical address from a
UIO map, and to mmap() the UIO map if desired. This avoids a lot of
repeated code in several functions.
|
|
This avoids a whole raft of completely unnecessary casts.
|
|
|
|
|
|
Unmap useless virtual memory in user space.
Code clean: replace all printf() with dbg_printf().
Add gst fix.
Change-Id: I34ca001b093225de4d60b6ed92fc0399ea785aa0
Signed-off-by: RaymondWu <xywu@marvell.com>
|
|
Under Android, we cannot use printf. So we write to a debug file instead.
It's useful under Android.
|
|
|
|
|
|
Signed-off-by: Lea Li <lea.li@marvell.com>
|