i.MX6 LDB framebuffer bpp

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX6 LDB framebuffer bpp

1,016 次查看
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 项奖励
回复
0 回复数