Skip to content

Commit 429401a

Browse files
committed
kernel-configs: Add config fragment for IMSDK
Many GStreamer plugins in the Qualcomm IMSDK use DMABUF userspace heaps, so provide a kernel config fragment to turn this on and use it in README and GitHub workflows. Signed-off-by: Loïc Minier <[email protected]>
1 parent 07819a7 commit 429401a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ jobs:
6464
apt -y install git crossbuild-essential-arm64 make flex bison bc \
6565
libdw-dev libelf-dev libssl-dev libssl-dev:arm64 dpkg-dev \
6666
debhelper-compat kmod python3 rsync coreutils
67-
scripts/build-linux-deb.sh kernel-configs/systemd-boot.config
67+
scripts/build-linux-deb.sh \
68+
kernel-configs/qcom-imsdk.config \
69+
kernel-configs/systemd-boot.config
6870
6971
- name: Stage artifacts for upload
7072
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ To build flashable assets for all supported boards, follow these steps:
7171

7272
1. (optional) build a local Linux kernel deb from mainline with a recommended config fragment
7373
```bash
74-
scripts/build-linux-deb.sh kernel-configs/systemd-boot.config
74+
scripts/build-linux-deb.sh kernel-configs/qcom-imsdk.config kernel-configs/systemd-boot.config
7575
```
7676

7777
1. build tarballs of the root filesystem and DTBs

kernel-configs/qcom-imsdk.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# many GStreamer plugins in the Qualcomm IMSDK use DMABUF userspace heaps
2+
CONFIG_DMABUF_HEAPS=y
3+
CONFIG_DMABUF_HEAPS_SYSTEM=y
4+
CONFIG_DMABUF_HEAPS_CMA=y

0 commit comments

Comments
 (0)