Jump to content

[Armbian build PR] - add v4l2 patches to rockchip64 for chromium


RSS Bot

Recommended Posts

Description

Add patches as Justin Green mentioned to enable DMA buffer caching on hantro and rkvdec driver. Hantro and rkvdec driver have set dst_vq->dma_attrs to DMA_ATTR_ALLOC_SINGLE_PAGES | DMA_ATTR_NO_KERNEL_MAPPING and it will not pass check in dma_alloc_noncontiguous, so I add a patch to deal with it.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] rockchip64-edge build success
  • [x] chromium v4l2 decoder works on orangepi3b.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines