Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/2] i915/i915_pm_rps: Add fence-order and engine-order subtests
@ 2022-07-28 15:06 Karolina Drobnik
  2022-07-28 15:06 ` [igt-dev] [PATCH i-g-t 1/2] i915/i915_pm_rps: Check impact of fence ordering on waitboosting Karolina Drobnik
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Karolina Drobnik @ 2022-07-28 15:06 UTC (permalink / raw)
  To: igt-dev; +Cc: Chris Wilson

This series adds two tests that check if the iteration order of fences has
an impact on applying waitboost. These regression tests make sure that
the heuristic works as expected, no matter the order in which we wait on
fences. For more background, see [1] and [2].

In addition to this, the patchset also includes a simple fix for
pm_rps_exit_handler, added in preparation for multi-gt support and per-test
sysfs files initialization.

Following the review comments, the initial patch was split up into two. So,
this series is actually v5 of the "i915/i915_pm_rps: Check impact of fence
ordering on waitboosting" patch. The previous versions can be seen at [3].

v5:
  - Added missing close() calls on sysfs handle
  - Extracted pm_rps_exit_handler change into a dedicated patch
v4:
  - Added test descriptions with igt_describe()
v3:
  - Removed unnecessary calls to gem_write
v2:
  - Introduced batch_create() with arbitration points to prevent hangs
  - Added engine-order subtest
  - Added reporting of GPU frequency
  - Changed runtimes and switched prints from us to ms

[1] - https://lore.kernel.org/intel-gfx/cover.1657289332.git.karolina.drobnik@intel.com/
[2] - https://gitlab.freedesktop.org/drm/intel/-/issues/6284
[3] - https://patchwork.freedesktop.org/patch/493954

Chris Wilson (2):
  i915/i915_pm_rps: Check impact of fence ordering on waitboosting
  i915/i915_pm_rps: Write values in pm_rps_exit_handler only for min-max
    configs

 tests/i915/i915_pm_rps.c | 265 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 259 insertions(+), 6 deletions(-)

--
2.25.1

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

end of thread, other threads:[~2022-07-28 22:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-28 15:06 [igt-dev] [PATCH i-g-t 0/2] i915/i915_pm_rps: Add fence-order and engine-order subtests Karolina Drobnik
2022-07-28 15:06 ` [igt-dev] [PATCH i-g-t 1/2] i915/i915_pm_rps: Check impact of fence ordering on waitboosting Karolina Drobnik
2022-07-28 15:33   ` Kamil Konieczny
2022-07-28 15:06 ` [igt-dev] [PATCH i-g-t 2/2] i915/i915_pm_rps: Write values in pm_rps_exit_handler only for min-max configs Karolina Drobnik
2022-07-28 15:34   ` Kamil Konieczny
2022-07-28 15:42 ` [igt-dev] ✓ Fi.CI.BAT: success for i915/i915_pm_rps: Add fence-order and engine-order subtests Patchwork
2022-07-28 22:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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