Skip to content

Commit 40f9df0

Browse files
CodeChenLRadxaYuntian
authored andcommitted
feat: add DMA-BUF Userland Memory Heaps supports
Some video players(mpv\jellyfin) like to use it for accelerated memory data exchange. Signed-off-by: Jiali Chen <chenjiali@radxa.com>
1 parent 6710980 commit 40f9df0

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/share/rsdk/infra-package/debian/patches/linux/0001-feat-Radxa-common-kernel-config.patch

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ Subject: [PATCH] feat: Radxa common kernel config
55

66
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
77
---
8-
src/arch/arm64/configs/radxa.config | 1040 ++++++++++++++++++++++++++++
9-
1 file changed, 1040 insertions(+)
8+
src/arch/arm64/configs/radxa.config | 1046 ++++++++++++++++++++++++++++
9+
1 file changed, 1046 insertions(+)
1010
create mode 100644 src/arch/arm64/configs/radxa.config
1111

1212
diff --git a/src/arch/arm64/configs/radxa.config b/src/arch/arm64/configs/radxa.config
1313
new file mode 100644
1414
index 000000000000..f5bca1bdaf69
1515
--- /dev/null
1616
+++ b/src/arch/arm64/configs/radxa.config
17-
@@ -0,0 +1,1040 @@
17+
@@ -0,0 +1,1046 @@
1818
+# Enable FPDT on supported platforms
1919
+CONFIG_ACPI_FPDT=y
2020
+
@@ -1055,5 +1055,11 @@ index 000000000000..f5bca1bdaf69
10551055
+CONFIG_MD=y
10561056
+CONFIG_BLK_DEV_LOOP=m
10571057
+CONFIG_BLK_DEV_DM=m
1058+
+
1059+
+# Enable DMA-BUF Userland Memory Heaps supports
1060+
+CONFIG_DMABUF_HEAPS=y
1061+
+CONFIG_DMABUF_HEAPS_CMA=y
1062+
+CONFIG_DMABUF_HEAPS_SYSTEM=y
1063+
+CONFIG_UDMABUF=y
10581064
--
10591065
2.47.1

0 commit comments

Comments
 (0)