rockchip: armv8: enable the DMA-BUF userland memory heaps

Enable per heap chardevs in /dev/dma_heap/ which allows userspace to
allocate dma-bufs that can be shared between drivers.

Fixes video playback when FFmpeg falls back to software decoding at high
resultions, as a large enough YUV buffer otherwise cannot be allocated.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-10-20 10:28:12 +01:00
1 parent 2aaf209780
commit 56e45365ec
1 file changed
+3
+3
View File
@@ -223,6 +223,9 @@ CONFIG_DEVFREQ_GOV_USERSPACE=y
# CONFIG_DEVFREQ_THERMAL is not set
CONFIG_DEVMEM=y
# CONFIG_DEVPORT is not set
CONFIG_DMABUF_HEAPS=y
# CONFIG_DMABUF_HEAPS_CMA is not set
CONFIG_DMABUF_HEAPS_SYSTEM=y
CONFIG_DMADEVICES=y
CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC=y
CONFIG_DMA_CMA=y