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.

AM335X LCD驱动bpp设置




static const struct display_panel com335x_panel = {
WVGA,
16,
16,
COLOR_ACTIVE,
};

static struct lcd_ctrl_config lcd_cfg = {
&com335x_panel,
.ac_bias = 255,
.ac_bias_intrpt = 0,
.dma_burst_sz = 16,
.bpp = 16,
.fdd = 0x80,
.tft_alt_mode = 0,
.stn_565_mode = 0,
.mono_8bit_mode = 0,
.invert_line_clock = 1,
.invert_frm_clock = 1,
.sync_edge = 0,
.sync_ctrl = 1,
.raster_order = 0,
};

在内核里面的最大bpp  最小bpp位数都在这个static const struct display_panel结构体写好了    都是16 bpp,   为啥我外接24位的屏  修改为24位就不行呢?