This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: Transparency with framebuffer device

Part Number: AM62A7


Tool/software:

Hi,

I wanted to stream a transparent GUI frame along with some text over the video, and I don't want to use CPU for overlaying the GUI.

Referring to previous thread, this can be achieved by VIDL pipeline of the display subsystem (tidss).
The VIDL pipeline is exposed as a framebuffer device, in which GUI can be drawn.

The issue is, though the framebuffer device takes 4bytes (32 bit) of data, only 3 bytes are given to the display.
The format it is taking is BGRx where 4th byte is ignored

root@am62axx-evm:~# fbset --info

mode "1920x1080"
    geometry 1920 1080 1920 1080 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

Frame buffer device information:
    Name        : tidssdrmfb
    Address     : (nil)
    Size        : 8294400
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 7680
    Accelerator : No

But the tidss can support transparency with few formats line RA24, BA24, etc.
How can I configure my framebuffer device for BA24 format? Do I need to change it in driver or the linux itself?