[Intel-gfx] [PATCH i-g-t 0/8] IGT Testcases for i915 DAPC feature
Sagar Arun Kamble
sagar.a.kamble at intel.com
Thu Sep 7 10:07:49 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.
More subtests to be added to test the proper interleaving of CS
and OA reports based on timestamps by varying the periodic timer for
OA reports.
Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: "Rogozhkin, Dmitry V" <dmitry.v.rogozhkin at intel.com>
Sagar Arun Kamble (8):
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
lib/ioctl_wrappers.h | 1 +
tests/Makefile.sources | 3 +-
tests/intel_perf.c | 3353 +++++++++++++++++++++++++++++++++++++++++++++++
tests/intel_perf_dapc.c | 1679 ++++++++++++++++++++++++
tests/perf.c | 3353 -----------------------------------------------
5 files changed, 5035 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