From: sai.gowtham.ch@intel.com
To: igt-dev@lists.freedesktop.org, kamil.konieczny@linux.intel.com,
sai.gowtham.ch@intel.com
Subject: [igt-dev] [PATCH i-g-t 1/2] i915/gem_exec_create: Added test description for test case.
Date: Tue, 28 Jun 2022 10:13:38 +0530 [thread overview]
Message-ID: <20220628044339.14809-2-sai.gowtham.ch@intel.com> (raw)
In-Reply-To: <20220628044339.14809-1-sai.gowtham.ch@intel.com>
From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Added test description for all the subtests that are available.
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
tests/i915/gem_exec_create.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/tests/i915/gem_exec_create.c b/tests/i915/gem_exec_create.c
index 78d5ffb3..449aa5b2 100644
--- a/tests/i915/gem_exec_create.c
+++ b/tests/i915/gem_exec_create.c
@@ -47,6 +47,10 @@
#include "i915_drm.h"
#include "i915/intel_memory_region.h"
+IGT_TEST_DESCRIPTION("This test overloads the driver with transient active objects"
+ " and checks if we don't kill the system under the memory pressure"
+ " some of the symptoms this test look for include mysterious hangs.");
+
#define ENGINE_FLAGS (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK)
static double elapsed(const struct timespec *start, const struct timespec *end)
@@ -166,6 +170,8 @@ igt_main
I915_DEVICE_MEMORY);
}
+ igt_describe("Check if we kill the system by overloading it with active objects"
+ " iterating over legacy engines.");
igt_subtest_with_dynamic("legacy")
for_each_combination(regions, 1, set) {
char *sub_name = memregion_dynamic_subtest_name(regions);
@@ -177,6 +183,8 @@ igt_main
free(sub_name);
}
+ igt_describe("Check if we kill system by overloading it with active objects"
+ " iterating over all engines.");
igt_subtest_with_dynamic("basic")
for_each_combination(regions, 1, set) {
char *sub_name = memregion_dynamic_subtest_name(regions);
@@ -188,6 +196,8 @@ igt_main
free(sub_name);
}
+ igt_describe("Concurrently overloads system with active objects and checks"
+ " if we kill system.");
igt_subtest_with_dynamic("forked")
for_each_combination(regions, 1, set) {
char *sub_name = memregion_dynamic_subtest_name(regions);
@@ -199,6 +209,9 @@ igt_main
free(sub_name);
}
+
+ igt_describe("This test does a forced reclaim, behaving like a bad application"
+ " leaking its bo cache.");
igt_subtest_with_dynamic("madvise")
for_each_combination(regions, 1, set) {
char *sub_name = memregion_dynamic_subtest_name(regions);
--
2.35.1
next prev parent reply other threads:[~2022-06-28 4:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-28 4:43 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_exec_create sai.gowtham.ch
2022-06-28 4:43 ` sai.gowtham.ch [this message]
2022-06-28 4:43 ` [igt-dev] [PATCH i-g-t 2/2] HAX: don't do full run sai.gowtham.ch
2022-06-28 5:22 ` [igt-dev] ✗ Fi.CI.BAT: failure for HAX add description to gem_exec_create (rev3) Patchwork
-- strict thread matches above, loose matches on Subject: below --
2022-06-26 18:42 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_exec_create sai.gowtham.ch
2022-06-26 18:42 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_exec_create: Added test description for test case sai.gowtham.ch
2022-06-27 14:13 ` Kamil Konieczny
2022-05-23 12:19 [igt-dev] [PATCH i-g-t 0/2] HAX add description to gem_exec_create sai.gowtham.ch
2022-05-23 12:19 ` [igt-dev] [PATCH i-g-t 1/2] i915/gem_exec_create: Added test description for test case sai.gowtham.ch
2022-05-25 15:23 ` Kamil Konieczny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220628044339.14809-2-sai.gowtham.ch@intel.com \
--to=sai.gowtham.ch@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.