1. 29 Jul, 2018 3 commits
    • Connor Abbott's avatar
      unknown1 -> uniform_buffers · 4ba0b562
      Connor Abbott authored
      Also, document the reg_preload field of shader_meta.
      4ba0b562
    • Connor Abbott's avatar
      panwrap: Decode compute jobs · 895b4840
      Connor Abbott authored
      It turns out that compute jobs reuse the same format as vertex jobs, so
      this also lets us decode some previously unknown fields in
      mali_vertex_tiler_prefix.
      895b4840
    • Connor Abbott's avatar
      panwrap: Rewrite panwrap decoding and add Bifrost support · 0dddbcdf
      Connor Abbott authored
      In order to properly support 64-bit jobs as well as Bifrost, a number of
      structures need to be moved around, split, etc. which requires a lot of
      shuffling things around. I think this would probably be hard to untangle
      from the actual new Bifrost bits, so I've left everything together in
      one commit. The list of things changed includes:
      
      - To save some space due to the larger pointers, vertex and tiler jobs
        no longer have the same layout (i.e. common fields like shader_meta,
        etc. no longer have the same offset). A few of the tiler-only fields
        and vertex-only fields now overlap. The tiler job structure is much
        larger than the vertex job structure, although most of the new fields
        are zero for the things I've tried so far. It's not clear whether this
        also also happens on Midgard 64-bit jobs. In addition, there is a new
        Bifrost-only fused job type, where the common fields in the beginning
        are shared. The end result is that there is now a common prefix,
        followed by tiler-only or vertex-only fields (or both, for Midgard),
        and then a common postfix.
      - For Bifrost, we no longer have to make a special incomplete FBD just
        for vertex and tiler jobs. Instead, the relevant fields (tiler_meta
        and the scratchpad) have been moved out into separate structures, and
        removed from the FBD when not needed for fragment jobs.
      - There is no Bifrost driver that uses the SFBD, so we need to decode
        the MFBD now.
      0dddbcdf
  2. 03 Jun, 2018 1 commit
  3. 23 May, 2018 5 commits
  4. 21 May, 2018 4 commits
  5. 20 May, 2018 1 commit
  6. 19 May, 2018 3 commits
  7. 16 May, 2018 1 commit
  8. 04 May, 2018 1 commit
  9. 03 May, 2018 5 commits
  10. 30 Apr, 2018 4 commits
    • Connor Abbott's avatar
      Fix fragment job offset · 158f2f0f
      Connor Abbott authored
      Unlike the vertex/tiler jobs, which are different on 32-bit and 64-bit,
      the fragment payload is simple enough that it's the same, so there's an
      extra 32 bits of padding after the next-job pointer on 32-bit.
      Previously, that padding was hard-coded into the payload structure, but
      we don't want it to exist on 64-bit, since then the payload structure
      would have to be different on 32 and 64 bit for no good reason. Just
      make the decoder adjust the padding itself.
      158f2f0f
    • Connor Abbott's avatar
      panwrap: Start plumbing through Bifrost stuff · 30c873c1
      Connor Abbott authored
      The trace won't compile, of course, but it's a start. The actual
      mali-job.h changes will come later.
      30c873c1
    • Connor Abbott's avatar
      panwrap: Deal with 64-bit issues · e1a350a2
      Connor Abbott authored
      mem alloc ioctl's weren't actually getting decoded, probably because of
      how the IOWR_* expect the argument to be long sized (I dunno...)
      e1a350a2
    • Connor Abbott's avatar
      Fix various compiler warnings · 9df30904
      Connor Abbott authored
      Mostly related to wrong printf arguments.
      9df30904
  11. 27 Apr, 2018 1 commit
  12. 26 Apr, 2018 3 commits
  13. 24 Apr, 2018 2 commits
  14. 22 Apr, 2018 1 commit
  15. 20 Apr, 2018 5 commits