1. 08 Sep, 2017 1 commit
  2. 11 Jul, 2017 1 commit
    • Arkadiusz Hiler's avatar
      igt: Add LOCAL defines for distro compatibility · 6e572cfc
      Arkadiusz Hiler authored
      Each Linux distro takes a different spin on providing kernel's uapi
      headers (especialy the *drm*.h).
      You can get them with linux-headers, you can get them with libdrm.
      Sometime you can even get them twice, from both sources.
      Sometimes the headers match your kernel version, sometimes you end up
      stuck with headers matching the kernel that the given release of the
      distro came out with.
      This makes things harder for code that does not depend on libdrm, as we
      cannot have sane ./configure-time checks.
      So let's define LOCAL_ version for FENCE and EXECBUFFER2_WB defines
      until all the stable distros catch up (+/- some epsilon).
      Cc: Petri Latvala <petri.latvala@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
  3. 28 Mar, 2017 3 commits
  4. 14 Aug, 2015 1 commit
  5. 10 Aug, 2015 1 commit
  6. 09 Aug, 2015 1 commit
    • Chris Wilson's avatar
      benchmarks: Record and replay calls to EXECBUFFER2 · 0393e728
      Chris Wilson authored
      This slightly idealises the behaviour of clients with the aim of
      measuring the kernel overhead of different workloads. This test focuses
      on the cost of relocating batchbuffers.
      A trace file is generated with an LD_PRELOAD intercept around
      execbuffer, which we can then replay at our leisure. The replay replaces
      the real buffers with a set of empty ones so the only thing that the
      kernel has to do is parse the relocations. but without a real workload
      we lose the impact of having to rewrite active buffers.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>