When to call FLUSH/SEMA/STALL
Rolf Wöhrmann
rolf.woehrmann at t-online.de
Fri May 12 05:53:39 UTC 2017
Hi
>> I know that this is also of advantage like for fencing with using event/irqs and I also understood the use of WAIT/LINKs for a-synchronically managing the cmd ring buffer, but
>> my question relates to a situation where you have a long pre-known sequence of LOAD_STATEs and START_DEs and how to efficiently build up the related cmd sequence.
>
> Just try it out!
Did so. Turns out, for simple line & clears no FLUSH/SEMA/STALL in-between is needed. At least for my case. Was running batches of like 20k operations, only with intermediates
LINKs every 100 ops or so.
But as you wrote in your doc, the GPU is easy to hang up, and even more, on my iMX6Q I also had a couple of hard SOM crash/reboots.
Thanks to you & Lucas for valuable feedback!
Best
Rolf
More information about the etnaviv
mailing list