Closed andrzejtp closed 2 years ago
first of all, this is just a mirror, please report this kind of issues to the real maintainers(or find the mail address of recent commiters)
and for this kind of issues, likely due to mismatched kernel driver and userspace libraries.
according to the code, these dma files should pass to the driver, and driver should map it: mpp/hal/vpu/vp8e/hal_vp8e_base.c 1240: hw_cfg->mv_output_base = mpp_buffer_get_fd(buffers->hw_mv_output_buf);
anyway, these kind of issues looks like something wrong in kernel, or at least some version mismatch between kernel mpp driver and userspace mpp library.
you can try the yocto sdk(which should have matched kernel and userspace): https://github.com/JeffyCN/yocto-manifests
Frame 0:
Frame 1:
I'm trying this on rk3399. The addresses are set in:
mpp/hal/vpu/vp8e/hal_vp8e_vepu2_v2.c
,static MPP_RET vp8e_vpu_frame_start(void *hal)
:and are never mapped by iommu, hence the page fault.