mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-28 18:51:24 +04:00
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:
1 parent
2aaf209780
commit
56e45365ec
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user