1. 10 3月, 2009 1 次提交
    • M
      video: deferred io cleanup fix for sh_mobile_lcdcfb · 467fc498
      Magnus Damm 提交于
      Fix deferred io cleanup patch in the sh_mobile_lcdcfb driver.
      
      If probe() fails early the sh_mobile_lcdc_stop() function will
      be called to clean up deferred io. This patch modifies the
      code to only call fb_deferred_io_cleanup() after deferred io
      has been initialized.
      
      With this patch applied we no longer hit BUG_ON() inside
      fb_deferred_io_cleanup(). Triggers on a Migo-R with the
      SYS QVGA panel board unmounted.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      467fc498
  2. 22 12月, 2008 3 次提交
    • M
      video: sh_mobile_lcdcfb deferred io support · 8564557a
      Magnus Damm 提交于
      This patch adds sh_mobile_lcdcfb deferred io support for SYS panels.
      
      The LCDC hardware block managed by the sh_mobile_lcdcfb driver supports
      RGB or SYS panel configurations. SYS panels come with an external display
      controller that is resposible for refreshing the actual LCD panel. RGB
      panels are controlled directly by the LCDC and they need to be refreshed
      by the LCDC hardware.
      
      In the case of SYS panels we can save some power by configuring the LCDC
      hardware block in one-shot mode. In this one-shot mode panel refresh is
      managed by software. This works well together with deferred io since it
      allows us to stop clocks for most of the time and only enable clocks when
      we actually want to trigger an update. When there is no fbdev activity
      the clocks are kept stopped which allows us to deep sleep.
      
      The refresh rate in deferred io mode is set using platform data. The same
      platform data can also be used to disable deferred io mode.
      
      As with other deferred io frame buffers user space code should use fsync()
      on the frame buffer device to trigger an update.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      8564557a
    • M
      sh_mobile_lcdc: use FB_SYS helpers instead of FB_CFB · 2540c111
      Magnus Damm 提交于
      Since the sh_mobile_lcdc hardware has the framebuffer(s) in system RAM,
      use FB_SYS instead of FB_CFB. Also hook in read and write helpers.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2540c111
    • M
      sh: sh_mobile lcdc clock framework support · b51339ff
      Magnus Damm 提交于
      Add clock framework support to the lcdc driver and
      adjust the board specific code accordingly.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b51339ff
  3. 20 10月, 2008 2 次提交
  4. 01 10月, 2008 1 次提交
  5. 11 8月, 2008 1 次提交
  6. 25 7月, 2008 1 次提交