当前位置: 代码迷 >> 驱动开发 >> 9261更改LCD驱动时,遇到有关问题,提示unable to set display parameters linux
  详细解决方案

9261更改LCD驱动时,遇到有关问题,提示unable to set display parameters linux

热度:179   发布时间:2016-04-28 10:50:20.0
9261更改LCD驱动时,遇到问题,提示unable to set display parameters linux
9261更改LCD驱动时,遇到问题,提示unable to set display parameters linux
内核还有以下输出:
tmel_lcdfb atmel_lcdfb.0: 160KiB frame buffer at 00300000 (mapped at c4880000)
atmel_lcdfb atmel_lcdfb.0: unable to set display parameters
atmel_lcdfb: probe of atmel_lcdfb.0 failed with error -22
是什么问题,怎么解决???
下面是设置代码
static struct fb_videomode at91_tft_vga_modes[] = {
  {
  .name = "TM050RDH05",
  .refresh = 60,
  .xres = 800, .yres = 480,
  .pixclock = KHZ2PICOS(33000),

  .left_margin = 40, .right_margin = 40,
  .upper_margin = 13, .lower_margin = 32,
  .hsync_len = 48, .vsync_len = 3,

  .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
  .vmode = FB_VMODE_NONINTERLACED,
  },
};

static struct fb_monspecs at91fb_default_tft_monspecs = {
  .manufacturer = "TM",
  .monitor = "TM050",

  .modedb = at91_tft_vga_modes,
  .modedb_len = ARRAY_SIZE(at91_tft_vga_modes),
  .hfmin = 15000,
  .hfmax = 64000,
  .vfmin = 50,
  .vfmax = 150,
};


------解决方案--------------------
这个是我正确的启动信息
atmel_lcdfb atmel_lcdfb.0: 937KiB frame buffer at 23900000 (mapped at ffc00000)
你那个Buffer调大点试试
------解决方案--------------------
探讨

所以呀 把你的buffer调大点呀 看你的buffer才160k
  相关解决方案