1. 04 Oct, 2018 2 commits
    • Eric Anholt's avatar
      v3d: WIP: Force overwriting renderD129 for my desktop system. · f35a1bca
      Eric Anholt authored
      libwaffle opens a dri device at basically random, and picks this one for
      me.  Since I want to use piglit's gbm backend, which uses libwaffle,
      just force it for now while I work on the shim.
      f35a1bca
    • Eric Anholt's avatar
      v3d: Introduce a DRM shim for calling out to the simulator. · 7acbbe2f
      Eric Anholt authored
      This is just a WIP so far.  The goal is to build something that can be
      used to test against a release build of our closed source simulator/FPGA
      library on a CI system without depending on any particular kernel version.
      Hopefully it can be reused in other drivers for related purposes
      (shader-db with no HW?)
      
      Simply set LD_PRELOAD=$PREFIX/lib/libv3d_drm_shim.so in your environment,
      and we'll fake a /dev/dri/renderD128 (or whatever the next available node
      is) using v3dv3.  That node can then be used with the surfaceless or gbm
      EGL platforms.
      
      Debugging the shim can be tricky, since bugs in the shim will often break
      gdb.  I've found that ulimit -c unlimited and then gdb on the core file
      helps.
      
      Note: Using the simulator for rendering and someone else's display node
      for DRI3 is still on the todo list.
      7acbbe2f
  2. 01 Oct, 2018 8 commits
  3. 28 Sep, 2018 4 commits
  4. 27 Sep, 2018 26 commits