i.MX6 LDB framebuffer bpp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 LDB framebuffer bpp

773 Views
yan2
Contributor II

Dear Community,

I am a little bit lost between device tree and framebuffer.

I've connected a lvds-display to a i.MX6DL. This works so far.

In the device tree file I configured ldb for the display:

&ldb {
    status = "okay";
    lvds-channel@0 {
        fsl,data-mapping = "spwg";
        fsl,data-width = <24>;

/* ... */

};

And the kernel (4.9.20) generates framebuffer automatically:

[    1.475128] imx-drm display-subsystem: fb0:  frame buffer device

But when I cat /sys/class/graphics/fb0/bits_per_pixel I get: 16

How can I increase the framebuffer bits_per_pixel to 32?

Regards,

YAN

0 Kudos
Reply
0 Replies