From: Riana Tauro <riana.tauro@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: badal.nilawar@intel.com
Subject: [igt-dev] [PATCH i-g-t 1/2] tests/xe/xe_guc_pc: Remove rc6 tests
Date: Tue, 27 Jun 2023 15:56:55 +0530 [thread overview]
Message-ID: <20230627102656.475578-2-riana.tauro@intel.com> (raw)
In-Reply-To: <20230627102656.475578-1-riana.tauro@intel.com>
Remove these tests as sysfs paths have been changed and
a generic naming used
These tests will be moved to a different file
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
---
tests/xe/xe_guc_pc.c | 44 --------------------------------------------
1 file changed, 44 deletions(-)
diff --git a/tests/xe/xe_guc_pc.c b/tests/xe/xe_guc_pc.c
index 89d5ae9e..79359942 100644
--- a/tests/xe/xe_guc_pc.c
+++ b/tests/xe/xe_guc_pc.c
@@ -348,27 +348,6 @@ static void test_reset(int fd, int sysfs, int gt_id, int cycles)
}
}
-
-/**
- * SUBTEST: rc6_on_idle
- * Description: check if GPU is in RC6 on idle
- * Run type: BAT
- *
- * SUBTEST: rc0_on_exec
- * Description: check if GPU is in RC0 on when doing some work
- * Run type: BAT
- */
-
-static bool in_rc6(int sysfs, int gt_id)
-{
- char path[32];
- char rc[8];
- sprintf(path, "device/gt%d/rc_status", gt_id);
- if (igt_sysfs_scanf(sysfs, path, "%s", rc) < 0)
- return false;
- return strcmp(rc, "rc6") == 0;
-}
-
igt_main
{
struct drm_xe_engine_class_instance *hwe;
@@ -460,29 +439,6 @@ igt_main
}
}
- igt_subtest("rc6_on_idle") {
- igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
- xe_for_each_gt(fd, gt) {
- assert(igt_wait(in_rc6(sysfs, gt), 1000, 1));
- }
- }
-
- igt_subtest("rc0_on_exec") {
- igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
- xe_for_each_gt(fd, gt) {
- assert(igt_wait(in_rc6(sysfs, gt), 1000, 1));
- xe_for_each_hw_engine(fd, hwe)
- igt_fork(child, ncpus) {
- igt_debug("Execution Started\n");
- exec_basic(fd, hwe, MAX_N_ENGINES, 16);
- igt_debug("Execution Finished\n");
- }
- /* While exec in threads above, let's check rc_status */
- assert(igt_wait(!in_rc6(sysfs, gt), 1000, 1));
- igt_waitchildren();
- }
- }
-
igt_fixture {
xe_for_each_gt(fd, gt) {
set_freq(sysfs, gt, "min", stash_min);
--
2.40.0
next prev parent reply other threads:[~2023-06-27 10:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 10:26 [igt-dev] [PATCH i-g-t 0/2] Remove rc6 tests Riana Tauro
2023-06-27 10:26 ` Riana Tauro [this message]
2023-06-28 4:47 ` [igt-dev] [PATCH i-g-t 1/2] tests/xe/xe_guc_pc: " Gupta, Anshuman
2023-06-28 6:24 ` Riana Tauro
2023-06-27 10:26 ` [igt-dev] [PATCH i-g-t 2/2] xe-fast-feedback.testlist: Remove rc6 tests from BAT Riana Tauro
2023-06-27 11:59 ` [igt-dev] ✓ Fi.CI.BAT: success for Remove rc6 tests Patchwork
2023-06-27 23:07 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
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=20230627102656.475578-2-riana.tauro@intel.com \
--to=riana.tauro@intel.com \
--cc=badal.nilawar@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox