1. Jul 06, 2022
  2. Jul 05, 2022
    • Samuel Holland's avatar
      dmaengine: sun4i: Set the maximum segment size · a94a098a
      Samuel Holland authored
      
      
      The sun4i DMA engine supports transfer sizes up to 128k for normal DMA
      and 16M for dedicated DMA, as documented in the A10 and A20 manuals.
      
      Since this is larger than the default segment size limit (64k), exposing
      the real limit reduces the number of transfers needed for a transaction.
      However, because the device can only report one segment size limit, we
      have to expose the smaller limit from normal DMA.
      
      One complication is that the driver combines pairs of periodic transfers
      to reduce programming overhead. This only works when the period size is
      at most half of the maximum transfer size. With the default 64k segment
      size limit, this was always the case, but for normal DMA it is no longer
      guaranteed. Skip the optimization if the period is too long; even
      without it, the overhead is less than before.
      
      Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
      Link: https://lore.kernel.org/r/20220621031350.36187-1-samuel@sholland.org
      
      
      Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
      a94a098a
  3. Jul 02, 2022
  4. Jul 01, 2022
  5. Jun 27, 2022
  6. Jun 17, 2022
  7. Jun 16, 2022
  8. Jun 10, 2022
  9. Jun 09, 2022
  10. Jun 06, 2022