Skip to contentSkip to conversation

omapfb: 24bpp not working?

DISCUSSION Matthias Ludwig 2 participants 2 messages Feb 12, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

I selected a 1024x768x24bpp in the drivers/video/omap/lcd_xxx file for a new platform (very similar to OMAP3EVM) which has a display connected to the CPU using a LVDS-transmitter. Everything works find, but the systems does not send 888-RGB-values but 565 ones, even if i select bpp = 24 and data_lines = 24 in my lcd-configuration.

The framebuffer-device has the correct size (dd if=/dev/fb0 of=/tmp/fb-dump gives me a file which is 1024x768x3=2359296 bytes). If i fill the display up with a solid color and then run following command:
dd if=/dev/zero of=/dev/fb0 bs=1024 count=1
half a display-line is getting black (should only be 1 third)

Any ideas on that?

Thanks,
Matthias

#1 lore raw
Quoted 8 lines · Matthias Ludwig

Hi all,

I selected a 1024x768x24bpp in the drivers/video/omap/lcd_xxx file for a new platform (very similar to OMAP3EVM) which has a display connected to the CPU using a LVDS-transmitter. Everything works find, but the systems does not send 888-RGB-values but 565 ones, even if i select bpp = 24 and data_lines = 24 in my lcd-configuration.

Quoted 5 lines

The framebuffer-device has the correct size (dd if=/dev/fb0 of=/tmp/fb-dump gives me a file which is 1024x768x3=2359296 bytes). If i fill the display up with a solid color and then run following command:
dd if=/dev/zero of=/dev/fb0 bs=1024 count=1
half a display-line is getting black (should only be 1 third)

AFAIK current driver doesn't support 24bpp, search for work-in-progress driver called DSS2. It's not merged in yet, so you'll need to apply it manually.