<Myy>
phh, Do you have some experience with the DMA MMAP interface ? :3
<phh>
uh nope
<phh>
I've seen few implementations, and it always seemed easy, but that's all i can tell :P
<Myy>
Ah too bad. I'm having some bugs with the interface. While I seem to pass the rights arguments, the mapped memory is not the expected one. Basically I want to map a currently DMA-ready empty buffer, but when I read the mmap'ed buffer I got my logs instead... :3
afaerber has quit [Quit: Leaving]
anarsoul|2 has joined #linux-rockchip
<Myy>
Ok, it seems that using dma_common_mmap was a bad idea. Using dma_mmap_attrs and dma_mmap_coherent, I got my buffer mmapped correctly.
<Myy>
Err, dma_mmap_attrs or dma_mmap_coherent (which is an alias for mmap_attrs with the last argument set to 0)
kaspter1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 272 seconds]
kaspter1 is now known as kaspter
vicencb has joined #linux-rockchip
<Myy>
stdint, ayaka, Does the VPU base register (0) contains anything that could help diagnosing decoding issues ?
<Myy>
On RK3288 systems
<Myy>
phh, Hey, do you know any software that's able to decode a single H264 raw frame with no forward/backward references ?
<Myy>
Well, it seems that the status if provided in register 1 and this register returns no error, so maybe I'm just decoding a pitch black frame