AnsweredAssumed Answered

24bit LVDS display looks like wrong color depth on imx6DL AI PDK

Question asked by Hyun-mo Yang on Sep 11, 2014
Latest reply on Sep 12, 2014 by igorpadykov

I have a 24bit LVDS display that I am running on PDK imx6dl AI board.

The images look like they are being displayed at the wrong color depth.

I have modified drivers/video/mxc/ldb.c to add a new entry for my

display:

static struct fb_videomode ldb_modedb[] = {

    {

     "LDB-XGA", 60, 1024, 768, 15385,

     220, 40,

     21, 7,

     60, 10,

     FB_SYNC_CLK_LAT_FALL,

     FB_VMODE_NONINTERLACED,

     FB_MODE_IS_DETAILED,},

}

 

I also modified my kernel board file to add a matching entry and made

sure to specify IPU_PIX_FMT_RGB24

static struct ipuv3_fb_platform_data qmx6_fb_data[] = {

    { /*fb0*/

        .disp_dev        = "ldb",

        .interface_pix_fmt    = IPU_PIX_FMT_RGB24,

        .mode_str        = "LDB-XGA",

        .default_bpp        = 24,

        .int_clk        = false,

    },

    {

        .disp_dev        = "ldb",

        .interface_pix_fmt    = IPU_PIX_FMT_RGB24,

        .mode_str        = "LDB-XGA",

        .default_bpp        = 24,

        .int_clk        = false,

    },

    {

        .disp_dev                = "lcd",

        .interface_pix_fmt        = IPU_PIX_FMT_RGB24,

        .mode_str                = "CLAA-WVGA",

        .default_bpp            = 24,

        .int_clk                = false,

    },

}

Is there something else I need to setup in kernel in order to get a 24bit

LVDS panel working?

Attachments

Outcomes