Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC i-g-t] Extract autotuned dummy load into lib
@ 2016-10-12 11:59 Abdiel Janulgue
  2016-10-12 11:59 ` [RFC i-g-t PATCH 1/3] lib: add igt_dummyload Abdiel Janulgue
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Abdiel Janulgue @ 2016-10-12 11:59 UTC (permalink / raw)
  To: intel-gfx

A lot of igt testcases need some dummy load to make sure a race
window is big enough. Unfortunately having a fixed amount of
workload leads to spurious test failures or overtly long runtimes
on some fast/slow platforms. This library contains functionality
to submit GPU workloads that is dynamically tuned to consume a
specific amount of time.

This functionality is generalized to lib from existing features in
gem_wait and kms_flip. In the future, we could update test cases
that could benefit from auto-tuned dummy workloads to use this
new api.

Abdiel Janulgue (3):
      lib: add igt_dummyload
      igt/gem_wait: Use new igt_dummyload api
      igt/kms_flip: Use new igt_dummyload api

 lib/Makefile.sources |   2 +
 lib/igt.h            |   1 +
 lib/igt_dummyload.c  | 419 +++++++++++++++++++++++++++++++++++++++
 lib/igt_dummyload.h  |  63 ++++++
 tests/gem_wait.c     |  77 ++-----
 tests/kms_flip.c     | 191 +-----------------
 6 files changed, 507 insertions(+), 246 deletions(-)

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-10-14 10:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 11:59 [RFC i-g-t] Extract autotuned dummy load into lib Abdiel Janulgue
2016-10-12 11:59 ` [RFC i-g-t PATCH 1/3] lib: add igt_dummyload Abdiel Janulgue
2016-10-12 11:59 ` [RFC i-g-t PATCH 2/3] igt/gem_wait: Use new igt_dummyload api Abdiel Janulgue
2016-10-12 12:07   ` Chris Wilson
2016-10-13  9:31     ` Abdiel Janulgue
2016-10-13  9:49       ` Chris Wilson
2016-10-13 15:17         ` Daniel Vetter
2016-10-14 10:17           ` Abdiel Janulgue
2016-10-12 11:59 ` [RFC i-g-t PATCH 3/3] igt/kms_flip: " Abdiel Janulgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox