1. 25 1月, 2012 6 次提交
    • T
      OMAPDSS: DISPC: Add naive threshold calc for fifomerge · e0e405b9
      Tomi Valkeinen 提交于
      Take fifo merge into use by implementing a rather naive fifo merge
      threshold calculation: keep the low threshold always the same, but
      increase the high threshold when fifo merge is used.
      
      This should greatly increase the time between pixel data fetches from
      SDRAM, as the usable fifo size is much larger. However, it probably
      won't help for fifo underflows, as the low threshols is kept the same.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      e0e405b9
    • T
      OMAPDSS: DISPC: move fifo threhold calc to dispc.c · 83fa2f2e
      Tomi Valkeinen 提交于
      Move fifo threshold calculation into dispc.c, as the thresholds are
      really dispc internal thing.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      83fa2f2e
    • T
      OMAPDSS: DISPC: print fifo threshold values in bytes · 3cb5d966
      Tomi Valkeinen 提交于
      Fifo thresholds are calculated using bytes, but the debug print prints
      values in buffer units. Change the prints to use bytes to be in line
      with the calculations, and also to print in the same units on all OMAPs.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      3cb5d966
    • T
      OMAPDSS: APPLY: add fifo-merge support · 1d71f42b
      Tomi Valkeinen 提交于
      Add fifo-merge support. This is done mainly in four functions:
      mgr_enable/disable and ovl_enable/disable. These are the functions where
      overlays are taken into and out of active use.
      
      The process to enable and disable fifo-merge is not simple. We need to
      do it in steps, waiting in between for certain settings to be taken into
      use, and continuing after that. The reason for this is that fifo-merge
      is a common thing for all managers/overlays, and its use must be
      synchronized.
      
      As an example, when we disable an overlay, we first set the overlay as
      disabled, then wait until the overlay is actually disabled in the HW,
      and only after that we may re-configure the fifos, possibly taking
      fifo-merge into use.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      1d71f42b
    • T
      OMAPDSS: APPLY: add fifo merge support funcs · fb011974
      Tomi Valkeinen 提交于
      Add mechanism to set/unset the DISPC fifo-merge:
      
      Add new fields to dss_data, fifo_merge and fifo_merge_dirty. These are
      similar to the other info/dirty flags in ovl_priv_data and ovl_mgr_data,
      but fifo merge is a common attribute to all managers and thus outside
      the ovl_mgr_data.
      
      The fifo-merge field is used in the dss_write_regs_common, which handles
      writing the register.
      
      dss_apply_fifo_merge() can be used to set/unset the fifo merge field in
      the dss_data.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      fb011974
    • T
      OMAPDSS: FEAT: Add FIFO_MERGE feature · e6b0f884
      Tomi Valkeinen 提交于
      Add feature flag for fifo merge. OMAP2 doesn't contain fifo merge, later
      OMAPs do.
      
      dispc_enable_fifomerge() checks for the flag when called, and gives a
      WARN if fifo merge is being enabled when it is not supported.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      e6b0f884
  2. 13 1月, 2012 1 次提交
  3. 05 1月, 2012 6 次提交
  4. 02 1月, 2012 10 次提交
  5. 04 12月, 2011 1 次提交
  6. 02 12月, 2011 16 次提交