[igt-dev] [PATCH i-g-t 00/21] Media scalability tooling

Tvrtko Ursulin
2019-05-08T12:10:37Z

From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

Mostly work to support Virtual Engine in trace.pl and gem_wsim complementing the
set of IGTs written by Chris.

Also includes trace.pl update for after engine seqno removal and engine
discovery tests.

Altogether it allows benchamrking and tracing the simulated media workloads in
combination with Virtual Engine (and frame split) on Gen9, but also needs follow
up work to add support for new Icelake vcs2 engine.

Tvrtko Ursulin (21):
scripts/trace.pl: Fix after intel_engine_notify removal
headers: bump
trace.pl: Virtual engine support
trace.pl: Virtual engine preemption support
wsim/media-bench: i915 balancing
gem_wsim: Use IGT uapi headers
gem_wsim: Factor out common error handling
gem_wsim: More wsim_err
gem_wsim: Submit fence support
gem_wsim: Extract str to engine lookup
gem_wsim: Engine map support
gem_wsim: Save some lines by changing to implicit NULL checking
gem_wsim: Compact int command parsing with a macro
gem_wsim: Engine map load balance command
gem_wsim: Engine bond command
gem_wsim: Some more example workloads
gem_wsim: Infinite batch support
gem_wsim: Command line switch for specifying low slice count workloads
gem_wsim: Per context SSEU control
gem_wsim: Allow RCS virtual engine with SSEU control
tests/i915_query: Engine discovery tests

benchmarks/gem_wsim.c | 1207 ++++++++++++++-----
benchmarks/wsim/README | 134 +-
benchmarks/wsim/frame-split-60fps.wsim | 18 +
benchmarks/wsim/high-composited-game.wsim | 11 +
benchmarks/wsim/media-1080p-player.wsim | 5 +
benchmarks/wsim/medium-composited-game.wsim | 9 +
include/drm-uapi/amdgpu_drm.h | 52 +-
include/drm-uapi/drm.h | 36 +
include/drm-uapi/drm_mode.h | 4 +-
include/drm-uapi/i915_drm.h | 209 +++-
include/drm-uapi/lima_drm.h | 169 +++
include/drm-uapi/msm_drm.h | 14 +
include/drm-uapi/nouveau_drm.h | 51 +
include/drm-uapi/panfrost_drm.h | 142 +++
include/drm-uapi/v3d_drm.h | 28 +
scripts/media-bench.pl | 9 +-
scripts/trace.pl | 318 +++--
tests/i915/i915_query.c | 247 ++++
18 files changed, 2246 insertions(+), 417 deletions(-)
create mode 100644 benchmarks/wsim/frame-split-60fps.wsim
create mode 100644 benchmarks/wsim/high-composited-game.wsim
create mode 100644 benchmarks/wsim/media-1080p-player.wsim
create mode 100644 benchmarks/wsim/medium-composited-game.wsim
create mode 100644 include/drm-uapi/lima_drm.h
create mode 100644 include/drm-uapi/panfrost_drm.h

--
2.19.1