Skip to contentSkip to conversation

tests/perf_pmu: test i915 RFC PMU

RFC Superseded Dmitry Rogozhkin 2 participants 3 messages Sep 1, 2017 – Sep 2, 2017

lore
Share & tools
lore
#0 lore raw

RFC 1/1 tests/perf_pmu: test i915 RFC PMU

i915 RFC PMU:
* https://patchwork.freedesktop.org/series/27488/
* https://patchwork.freedesktop.org/series/28842/

Tests:
* init: try to initialize all possible metrics exposed in i915 PMU (limit to 0-instance of engines)
* invalid_init: verify that i915 PMU correctly error out on invalid initialization
* single: verify that BUSY metrics work for each engine
* parallel: verify that parallel requests for metrics do not conflict
* cpu_online: verify PMU context migration on CPUs going online/offline

v1: add cpu_online test

Cc Tvrtko Ursulin <[email protected]>
Cc Chris Wilson <[email protected]>
---
 tests/Makefile.sources |   1 +
 tests/perf_pmu.c       | 629 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 630 insertions(+)
 create mode 100644 tests/perf_pmu.c
tests/Makefile.sources +1 -0
index bb013c7..51b684b 100644
@@ -215,6 +215,7 @@ TESTS_progs = \
 	kms_vblank \
 	meta_test \
 	perf \
+	perf_pmu \
 	pm_backlight \
 	pm_lpsp \
 	pm_rc6_residency \
tests/perf_pmu.c new file +629 -0

629 lines not on this page · raw message

Signature · 6 lines
1.8.3.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

RFC v2 1/1 tests/perf_pmu: test i915 RFC PMU

i915 RFC PMU:
* https://patchwork.freedesktop.org/series/27488/
* https://patchwork.freedesktop.org/series/28842/

Tests:
* init: try to initialize all possible metrics exposed in i915 PMU (limit to 0-instance of engines)
* invalid_init: verify that i915 PMU correctly error out on invalid initialization
* enable: verify that events from parallel consumenrs can be disabled without effect on another consumer
* frequency: verify that actual frequency metric works as expected
* busy: verify that BUSY metrics work for each engine
* busy_parallel: verify that parallel requests for BUSY metrics do not conflict
* cpu_online: verify PMU context migration on CPUs going online/offline

v1: add cpu_online test

v2: add enable and frequency tests

Cc Tvrtko Ursulin <[email protected]>
Cc Chris Wilson <[email protected]>
---
 tests/Makefile.sources |   1 +
 tests/perf_pmu.c       | 824 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 825 insertions(+)
 create mode 100644 tests/perf_pmu.c
tests/Makefile.sources +1 -0
index bb013c7..51b684b 100644
@@ -215,6 +215,7 @@ TESTS_progs = \
 	kms_vblank \
 	meta_test \
 	perf \
+	perf_pmu \
 	pm_backlight \
 	pm_lpsp \
 	pm_rc6_residency \
tests/perf_pmu.c new file +824 -0

824 lines not on this page · raw message

Signature · 6 lines
1.8.3.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw

✓ Fi.CI.BAT: success for tests/perf_pmu: test i915 RFC PMU (rev4)

In reply to Dmitry Rogozhkin
== Series Details ==

== Series Details ==

Series: tests/perf_pmu: test i915 RFC PMU (rev4)
URL : https://patchwork.freedesktop.org/series/29313/
State : success

== Summary ==

IGT patchset tested on top of latest successful build 5ce65a9a51f17e0183e3e4f8943981ee7b96cadd pm_rps: Changes in waitboost scenario

with latest DRM-Tip kernel build CI_DRM_3028
5f8335a1a74c drm-tip: 2017y-09m-01d-19h-10m-49s UTC integration manifest

Test kms_cursor_legacy:

        Subgroup basic-busy-flip-before-cursor-atomic:
                pass       -> FAIL       (fi-snb-2600) fdo#100215 +1

fdo#100215 https://bugs.freedesktop.org/show_bug.cgi?id=100215

fi-bdw-5557u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:455s
fi-bdw-gvtdvm    total:288  pass:265  dwarn:0   dfail:0   fail:0   skip:23  time:442s
fi-blb-e6850     total:288  pass:224  dwarn:1   dfail:0   fail:0   skip:63  time:366s
fi-bsw-n3050     total:288  pass:243  dwarn:0   dfail:0   fail:0   skip:45  time:574s
fi-bwr-2160      total:288  pass:184  dwarn:0   dfail:0   fail:0   skip:104 time:253s
fi-bxt-j4205     total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:527s
fi-byt-j1900     total:288  pass:254  dwarn:1   dfail:0   fail:0   skip:33  time:535s
fi-byt-n2820     total:288  pass:251  dwarn:0   dfail:0   fail:0   skip:37  time:520s
fi-elk-e7500     total:288  pass:230  dwarn:0   dfail:0   fail:0   skip:58  time:443s
fi-glk-2a        total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:617s
fi-hsw-4770      total:288  pass:263  dwarn:0   dfail:0   fail:0   skip:25  time:451s
fi-hsw-4770r     total:288  pass:263  dwarn:0   dfail:0   fail:0   skip:25  time:435s
fi-ilk-650       total:288  pass:229  dwarn:0   dfail:0   fail:0   skip:59  time:421s
fi-ivb-3520m     total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:506s
fi-ivb-3770      total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:480s
fi-kbl-7500u     total:288  pass:264  dwarn:1   dfail:0   fail:0   skip:23  time:512s
fi-kbl-7560u     total:288  pass:269  dwarn:0   dfail:0   fail:0   skip:19  time:602s
fi-kbl-r         total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:592s
fi-skl-6260u     total:288  pass:269  dwarn:0   dfail:0   fail:0   skip:19  time:470s
fi-skl-6700k     total:288  pass:265  dwarn:0   dfail:0   fail:0   skip:23  time:536s
fi-skl-6770hq    total:288  pass:269  dwarn:0   dfail:0   fail:0   skip:19  time:491s
fi-skl-gvtdvm    total:288  pass:266  dwarn:0   dfail:0   fail:0   skip:22  time:444s
fi-skl-x1585l    total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:496s
fi-snb-2520m     total:288  pass:251  dwarn:0   dfail:0   fail:0   skip:37  time:551s
fi-snb-2600      total:288  pass:249  dwarn:0   dfail:0   fail:1   skip:38  time:404s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_138/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx