<lynxeye>
tomeu: Not sure what downstream is doing there, but the one big improvement between other i.MX8M* and the i.MX8MP is that the GPUs actually can access all of DRAM.
<lynxeye>
On the other i.MX8M* they were limited by the fabric only handling 32bit DMA addresses.
<lynxeye>
But if you want to check, you can just boot your system with mem=3G on the kernel commandline, which will make the kernel ignore all memory above the 4GB DMA address boundary.
<tomeu>
hmm, that's easy enough
<tomeu>
but yeah, it's probably not that because further operations do run correctly (after the reset)
<tomeu>
wonder what other resources are shared among jobs beside addresses
<tomeu>
maybe event ids?
<tomeu>
ahem, memset the command buffer fixed it...
<tomeu>
sorry for wasting people's time :)
<cphealy>
tomeu: in future, one trick that might be useful for determining if the GPU is hung or just busy for long time is to check with "perf" to see if there is data moving between the GPU and DRAM. There is a perf PMU driver for the i.MX8MP that allows seeing throughput of individual IP cores.