rockchip-linux / mpp

Media Process Platform (MPP) module
596 stars 172 forks source link

RK的6.1内核正式版应该还没发布吧,现在能下载到的应该是[几个月前的develop](https://github.com/friendlyarm/kernel-rockchip/blob/nanopi6-v6.1.y/drivers/dma-buf/heaps/Makefile),里面的的dma_heap还没完工。 #491

Closed zhy2017 closed 11 months ago

zhy2017 commented 11 months ago
          RK的6.1内核正式版应该还没发布吧,现在能下载到的应该是[几个月前的develop](https://github.com/friendlyarm/kernel-rockchip/blob/nanopi6-v6.1.y/drivers/dma-buf/heaps/Makefile),里面的的dma_heap还没完工。

https://github.com/rockchip-linux/mpp/blob/ed377c99a733e2cdbcc457a6aa3f0fcd438a9dff/osal/mpp_runtime.cpp#L89

非要用的话mpp这里得改下了。

    allocator_valid[MPP_BUFFER_TYPE_DMA_HEAP] = !access("/dev/dma_heap/system-dma32", F_OK | R_OK) ||
                                                !access("/dev/dma_heap/system-uncached", F_OK | R_OK) ||
                                                !access("/dev/dma_heap/system-uncached-dma32", F_OK | R_OK);

Originally posted by @nyanmisaka in https://github.com/rockchip-linux/mpp/issues/489#issuecomment-1857448733