1. 21 Aug, 2019 3 commits
    • Swann Perarnau's avatar
      [refactor/fix] harden dmas · f43d2d6d
      Swann Perarnau authored
      Various fixes related to dma API, missing validation on arguments,
      pthread management and so on.
      f43d2d6d
    • Swann Perarnau's avatar
      [test/fix] add checks on layout_dense_create · 625a0e57
      Swann Perarnau authored
      Unit tests were missing a few corner cases on dense_create. In
      particular, there was a bug in the handling of the NULL pitch.
      625a0e57
    • Swann Perarnau's avatar
      [refactor/test] speed up and improve bitmap tests · d70a25c6
      Swann Perarnau authored
      The bitmap tests were slowing down the entire pipeline, while at the
      same time missing important checks on the inputs. This version is a bit
      more exhaustive, while also speeding up the test by only checking the
      corner-cases (first bits, last bits, partial ranges, overlapping
      ranges).
      d70a25c6
  2. 20 Aug, 2019 2 commits
    • Swann Perarnau's avatar
      [refactor/fix] use uuid in user-side request type · 04315e6e
      Swann Perarnau authored
      Since vector resize can cause pointers into the vector to become
      invalid, this patch introduces a level of indirection for DMAs and
      Scratchs, using uuid on the user-side of a request to index into the
      request vector.
      04315e6e
    • Swann Perarnau's avatar
      [refactor] change vector to alloc data out of it · e964e69e
      Swann Perarnau authored
      We need the vector type used for all our "command queues" to be able to
      maintain pointers to the inner data structure across reallocs of the
      vector itself. The resulting change just uses independent callocs for
      each pointer to a data element.
      e964e69e
  3. 13 Aug, 2019 1 commit
    • Swann Perarnau's avatar
      [refactor] redesign DMAs to support layouts · d8f56ffc
      Swann Perarnau authored
      Refactor the DMA API to work on layouts internally. The resulting code
      ends up simpler for most cases, as long as we add a generic copy
      function.
      
      One things missing:
      - a good API to expose the collection of copy functions we have.
      
      One question not solved:
      - should the DMA ask for a copy function on each operation ?
      d8f56ffc
  4. 07 Aug, 2019 2 commits
  5. 06 Aug, 2019 1 commit
  6. 15 Jul, 2019 1 commit
  7. 02 Jul, 2019 8 commits
  8. 28 Jun, 2019 1 commit
  9. 27 Jun, 2019 1 commit
  10. 10 Apr, 2019 2 commits
  11. 09 Apr, 2019 5 commits
  12. 02 Apr, 2019 1 commit
    • Swann Perarnau's avatar
      [style/refactor] posixify error handling · e243f7eb
      Swann Perarnau authored
      In POSIX land, error codes are positive integers, returned by functions
      as a negative value, but assigned to errno as a positive value.
      
      Use that chance to checkpatch the files.
      e243f7eb
  13. 01 Apr, 2019 2 commits
  14. 29 Mar, 2019 3 commits
  15. 27 Mar, 2019 1 commit
  16. 26 Mar, 2019 3 commits
  17. 25 Mar, 2019 1 commit
  18. 22 Mar, 2019 1 commit
    • Swann Perarnau's avatar
      [refactor] use autoconf + m4 for version mngmt · d8803390
      Swann Perarnau authored
      Use m4 to define autoconf-level version variables, following the naming
      scheme of semver.org
      
      To make use of these variables in the headers and sources, a
      generated-header is added in aml/utils/version.h
      
      Also add a simple test for that part of the lib.
      d8803390
  19. 21 Mar, 2019 1 commit