Simon Xue a2ded8cab4 dma-buf: dma-heap: add find/alloc function
add dma_heap_find/dma_heap_buffer_alloc
for kernel-space user

1. struct dma_heap *heap = dma_heap_find("system");
2. struct dma_buf *dmabuf = dma_heap_buffer_alloc(heap, ....);
3. dma_buf_attach/dma_buf_map_attachment
4. dma_buf_unmap_attachment/dma_buf_detach
5. dma_buf_put

Change-Id: I6d3e347698785c2b751bcef980607ed308270c76
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2024-12-17 14:40:44 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2022-09-28 09:02:20 +02:00
2024-07-15 09:23:49 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%