1. 16 12月, 2009 1 次提交
  2. 09 12月, 2009 1 次提交
  3. 04 11月, 2009 1 次提交
    • P
      video: sh_mobile_lcdcfb: Don't attempt to map zero-length scatterlists. · 5c1a56b5
      Paul Mundt 提交于
      More aggressive DMA mapping debugging has uncovered a long-standing
      buglet in the way that the sh_mobile_lcdcfb driver implements its
      deferred I/O callback. When used as a console driver the acceleration
      routines are called by the kernel which subsequently cause the deferred
      I/O work to be scheduled, resulting in the deferred I/O callback being
      entered without any dirty pages on the pagelist (the normal case for
      userspace accesses). It's also possible to get in to this situation via
      explicit calling of fsync() when nothing has dirtied the region.
      
      Unfortunately it's not sufficient to skip over the callback when the
      pagelist is empty given the console driver use case, so instead the
      callback has to conditionalize the work for panel updates and DMA
      mapping depending on whether anything is resident on the pagelist or
      not.
      Reported-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5c1a56b5
  4. 15 9月, 2009 2 次提交
  5. 23 8月, 2009 1 次提交
    • M
      video: Runtime PM for SuperH Mobile LCDC · 0246c471
      Magnus Damm 提交于
      This patch modifies the SuperH Mobile LCDC framebuffer driver
      to support Runtime PM. The driver is using the functions
      
       - pm_runtime_get_sync()
       - pm_runtime_put_sync()
      
      to inform the bus code if the hardware is idle or not. If the
      hardware is idle then the bus code may call the runtime dev_pm_ops
      callbacks to save and restore state. pm_runtime_resume() is used
      to allow the driver to access the hardware from probe().
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0246c471
  6. 15 8月, 2009 1 次提交
  7. 07 8月, 2009 2 次提交
  8. 07 7月, 2009 2 次提交
  9. 02 7月, 2009 1 次提交
  10. 22 5月, 2009 1 次提交
  11. 25 3月, 2009 1 次提交
  12. 16 3月, 2009 1 次提交
    • M
      video: sh_mobile_lcdcfb suspend/resume support · 2feb075a
      Magnus Damm 提交于
      This patch adds suspend/resume support to the LCDC
      driver for SuperH Mobile - sh_mobile_lcdcfb.
      
      We simply stop hardware on suspend and start it again
      on resume. For RGB panels this is trivial, but for SYS
      panels in deferred io mode this becomes a bit more
      difficult - we need to wait for a frame end interrupt
      to make sure the clocks are balanced before stopping
      the actual hardware.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2feb075a
  13. 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
  14. 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
  15. 20 10月, 2008 2 次提交
  16. 01 10月, 2008 1 次提交
  17. 11 8月, 2008 1 次提交
  18. 25 7月, 2008 1 次提交