I render to fb3 (BRGA). To use alpha blending in overlay ipu, i copy alpha component from fb3 into a 8 bits buffer bufA.
fb3 is connected to the main overlay input et bufA is connected to alpha overlay input.
The ipu output if fb0. bufA is an internal buffer allocated with ipu mem command.
dev/fb3 (32 bits)----------------------------------------> ipu overlay main input --------------------> dev/fb0
---------> bufA (8 bits) ---------> ipu alpha input
This config doesn't work correctly whit local alpha enabled. To make it work, you need to do:
dev/fb3 (32 bits)---------> bufBGR(24 bits)-----> ipu overlay main input --------------------> dev/fb0
---------> bufA (8 bits) ---------> ipu alpha input
bufBGR and bufA are internal buffers allocated with ipu mem command.
The main problem is that the split of fb3 into bufBGR and bufA takes too much time.