1. 25 1月, 2012 4 次提交
    • 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. 19 1月, 2012 4 次提交
  3. 18 1月, 2012 32 次提交