Hello,
I'm creating kernel driver for my client purposes, integrating VPU G1 capabilities of IMX8M Mini. No matter what I try, when I write 0x1 to SWREG1, starting decoding, I get "0x2101" from this register, which translates to:
- Decoder enabled
- Decoder IRQ
- Interrupt status bit bus. Error response from bus.
First two are OK, but the third one is a blocker. I passed DMA address received from
vb2_dma_contig_plane_dma_addr()
function to both SWREG12 and SWREG13. This memory should be HW accessible physical memory. If I am not mistaken, bus error means that there is a problem with memory access, alignment or something other related to memory. What other registers do I HAVE TO set up for this work? I have already checked VPU_BLK_CTRL register, G1 has all fuses enabled and is operating. All I want to get is another error like "SW_DEC_ERROR_INT" or "SW_DEC_BUFFER_INT".
Best regards,
Piotr
iMX8MMINI