Gralloc4 Metadata API is too slow
I switched composer to asynchronous atomic commit and while analyzing delays with perfetto I discovered strange spikes which turned out to be related to mapper@4 access:
Then I've enabled legacy minigbm getter and the spikes gone. Overall transaction processing time has been reduced from 10mS to 4.5mS.