1. 25 Feb, 2019 1 commit
  2. 12 Feb, 2019 1 commit
  3. 28 Jan, 2019 5 commits
  4. 24 Jan, 2019 1 commit
    • Dylan Baker's avatar
      meson: Add warnings and errors when using ICC · c1efa240
      Dylan Baker authored
      ICC tries to be helpful by not erroring when it sees something that it
      doesn't understand, which is completely the opposite of helpful. Meson
      0.49.0 does much better at handling this by really trying to make ICC
      error, but there are some things in mesa that still get ignored until
      v2: - Fix id check, which is 'intel' not 'icc'
      Cc: 18.3 <mesa-stable@lists.freedesktop.org>
      Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> (v1)
  5. 22 Jan, 2019 1 commit
  6. 16 Jan, 2019 1 commit
  7. 15 Jan, 2019 1 commit
  8. 08 Jan, 2019 1 commit
  9. 02 Jan, 2019 1 commit
  10. 28 Dec, 2018 1 commit
  11. 13 Dec, 2018 1 commit
  12. 19 Dec, 2018 2 commits
  13. 18 Dec, 2018 5 commits
  14. 13 Dec, 2018 1 commit
  15. 07 Dec, 2018 1 commit
  16. 06 Dec, 2018 1 commit
  17. 04 Dec, 2018 1 commit
  18. 26 Nov, 2018 1 commit
  19. 20 Nov, 2018 1 commit
  20. 13 Nov, 2018 1 commit
  21. 12 Nov, 2018 2 commits
  22. 26 Oct, 2018 1 commit
    • Rob Clark's avatar
      freedreno: import libdrm_freedreno + redesign submit · f3cc0d27
      Rob Clark authored
      In the pursuit of lowering driver overhead, it became clear that some
      amount of redesign of how libdrm_freedreno constructs the submit ioctl
      would be needed.  In particular, as the gallium driver is starting to
      make heavier use of CP_SET_DRAW_STATE state groups/objects, the over-
      head of tracking cmd buffers and relocs becomes too much.  And for
      "streaming" state, which isn't ever reused (like uniform uploads) the
      overhead of allocating/freeing ringbuffer[1] objects is too high.
      This redesign makes two main changes:
       1) Introduces a fd_submit object for tracking bos and cmds table
          for the submit ioctl, making ringbuffer objects more light-
          weight.  This was previously done in the ringbuffer.  But we
          have many ringbuffer instances involved in a submit (gmem +
          draw + potentially 1000's of state-group rbs), and only need
          a single bos and cmds table.  (Reloc table is still per-rb)
          The submit is also a convenient place for a slab allocator for
          ringbuffer objects.  Other options would have required locking
          because, while we can guarantee allocations will only happen on
          a single thread, free's could happen either on the application
          thread or the flush_queue thread.  With the slab allocator in
          the submit object, any frees that happen on the flush_queue
          thread happen after we know that the application thread is done
          with the submit.
       2) Introduce a new "softpin" msm_ringbuffer_sp implementation that
          does not use relocs and only has cmds table entries for IB1 (ie.
          the cmdstream buffers that kernel needs to CP_INDIRECT_BUFFER
          to from the RB).  To do this properly will require some updates
          on the kernel side, so whether you get the softpin or legacy
          submit/ringbuffer implementation at runtime depends on your
          kernel version.
      To make all these changes in libdrm would basically require adding a
      libdrm_freedreno2, so this is a good point to just pull the libdrm code
      into mesa.  Plus it allows for using mesa's hashtable, slab allocator,
      etc.  And it lets us have asserts enabled for debug mesa buids but
      omitted for release builds.  And it makes life easier if further API
      changes become necessary.
      At this point I haven't tried to pull in the kgsl backend.  Although
      I left the level of vfunc indirection which would make it possible
      to have other backends.  (And this was convenient to keep to allow
      for the "softpin" ringbuffer to coexist.)
      NOTE: if bisecting a build error takes you here, try a clean build.
      There are a bunch of ways things can go wrong if you still have
      libdrm_freedreno cflags.
      [1] "ringbuffer" is probably a bad name, the only level of cmdstream
          buffer that is actually a ring is RB managed by kernel.  User-
          space cmdstream is all IB1/IB2 and state-groups.
      Reviewed-by: default avatarKristian H. Kristensen <hoegsberg@chromium.org>
      Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
  23. 23 Oct, 2018 1 commit
  24. 22 Oct, 2018 1 commit
  25. 19 Oct, 2018 1 commit
  26. 17 Oct, 2018 1 commit
  27. 10 Oct, 2018 1 commit
    • Dylan Baker's avatar
      meson: Don't allow building EGL on Windows or MacOS · b8521704
      Dylan Baker authored
      Currently mesa only supports EGL on Unix like systems, cygwin, and
      haiku. Meson should actually enforce this. This fixes the default build
      on MacOS.
      v2: - invert the condition, mark darwin and windows as not supported
            instead of trying to mark what is supported.
      v3: - add missing )
      v3: - Update comment to reflect condition change in v2
      CC: 18.2 <mesa-stable@lists.freedesktop.org>
      Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
  28. 03 Oct, 2018 1 commit
  29. 25 Sep, 2018 2 commits