[Intel-gfx] [PATCH i-g-t 0/9] IGT Testcases for i915 DAPC feature

Sagar Arun Kamble sagar.a.kamble at intel.com
Wed Sep 13 10:51:59 UTC 2017


This series implements set of testcases for verifying data sampled
through i915 perf/DAPC feature. It tests validity of association of
OA with correct engine/stream, ctx id, pid, tag, timestamps, mmio
samples w.r.t execbuf begin and end. It also adds a testcase to
verify concurrent operation of two stream.
Currently MMIO testcase is failing as HW is reading the RC6 register
as zero if the stream has OA sampling also ON. Testcase however passes
if we sample MMIO along with Timestamps. Need to investigate this more.

v2: Updated MMIO subtest to consider only read value of RC6 register.
    Added new testcase to check the sequencing and association of CS
    properties with OA samples.

Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: "Rogozhkin, Dmitry V" <dmitry.v.rogozhkin at intel.com>

Sagar Arun Kamble (9):
  tests/perf: Rename perf test to intel_perf
  tests/perf: Test i915 assisted command stream based perf metrics
    capture
  tests/perf: Add testcase to verify ctx id
  tests/perf: Add testcase to verify pid
  tests/perf: Add testcase to verify tag
  tests/perf: Add testcase to verify timestamps
  tests/perf: Add testcase to verify mmio
  tests/perf: Add testcase to verify concurrent streams
  tests/perf: Add testcase to verify association of OABUFFER reports
    with CS properties

 lib/ioctl_wrappers.h    |    1 +
 tests/Makefile.sources  |    3 +-
 tests/intel_perf.c      | 3353 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/intel_perf_dapc.c | 1813 +++++++++++++++++++++++++
 tests/perf.c            | 3353 -----------------------------------------------
 5 files changed, 5169 insertions(+), 3354 deletions(-)
 create mode 100644 tests/intel_perf.c
 create mode 100644 tests/intel_perf_dapc.c
 delete mode 100644 tests/perf.c

-- 
1.9.1



More information about the Intel-gfx mailing list