RK3588 - Draw Rect with RGA 2D

I would like to draw a rectangle (and with alpha) the fastest way possible.
Has anyone successfully used the RGA 2D for this? (not for Bliting)

All my attempts end with invalid parameters.

Reading this: https://www.kernelconfig.io/config_video_rockchip_rga
i assume it is possible but all i can do is fill a buffer with rga with BSP.

I can’t find any real example with BSP.

why use RGA when the GPU can render lines considerably faster.

Good question. I need to draw lines/rect in a buffer with XR24 / NV12 format. Do you have any examples of how to do that?