Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
misc: vpusmm: add alloc/import DMABuf for VPU
functions are: 1.alloc/export DMABuf accessible to VPU 2.import external DMABuf for VPU to access 3.translate virtual address with mem-mapped and imported DMABuf into VPU address Signed-off-by: tingqian <tingqian.li@intel.com>
- Loading branch information
1 parent
6e3a544
commit d8837af93a48e1acd496dd1074b7a5cfb93c046c
Showing
6 changed files
with
1,156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Copyright (C) 2019 Intel Corporation | ||
| # SPDX-License-Identifier: GPL-2.0-only | ||
|
|
||
| config VPUSMM | ||
| tristate "Support for VPU Shared memory management" | ||
| help | ||
| VPUSMM exposes following capabilities to user space application | ||
| through ioctl syscall: | ||
| 1. allocate DMABuf qualified to be accessed by KeemBay VPU Sub-System. | ||
| 2. import/unimport qualified DMABuf for VPU to access. | ||
| 3. translate user-space virtual address within a mem-mapped | ||
| region of an imported DMABuf into VPU side DMA address, | ||
| which allows application to pass buffer pointer with | ||
| offsets to VPU sub-system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Copyright (C) 2019 Intel Corporation | ||
| # SPDX-License-Identifier: GPL-2.0-only | ||
| # Makefile for KeemBay VPUSMM | ||
| # | ||
| obj-$(CONFIG_VPUSMM) += vpusmm_driver.o | ||
|
|
Oops, something went wrong.