Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v2 3/4] tests/xe_waitfence: Rename vague subtest name "test" to reltime
Date: Fri,  2 Jun 2023 18:20:10 +0200	[thread overview]
Message-ID: <20230602162011.90097-4-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20230602162011.90097-1-zbigniew.kempczynski@intel.com>

Wait user fence supports two techniques of passing timeout - relative
and absolute. Rename current subtest name "test" to reltime to prepare
the ground for adding new abstime subtest.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
 tests/intel-ci/xe-fast-feedback.testlist | 2 +-
 tests/xe/xe_waitfence.c                  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/intel-ci/xe-fast-feedback.testlist b/tests/intel-ci/xe-fast-feedback.testlist
index 69e70118ed..1552b6ea19 100644
--- a/tests/intel-ci/xe-fast-feedback.testlist
+++ b/tests/intel-ci/xe-fast-feedback.testlist
@@ -214,7 +214,7 @@ igt@xe_vm@munmap-style-unbind-userptr-end
 igt@xe_vm@munmap-style-unbind-userptr-front
 igt@xe_vm@munmap-style-unbind-userptr-inval-end
 igt@xe_vm@munmap-style-unbind-userptr-inval-front
-igt@xe_waitfence@test
+igt@xe_waitfence@reltime
 igt@kms_addfb_basic@addfb25-bad-modifier
 igt@kms_addfb_basic@addfb25-modifier-no-flag
 igt@kms_addfb_basic@bad-pitch-0
diff --git a/tests/xe/xe_waitfence.c b/tests/xe/xe_waitfence.c
index cdfcacdb47..390d9b3221 100644
--- a/tests/xe/xe_waitfence.c
+++ b/tests/xe/xe_waitfence.c
@@ -38,11 +38,11 @@ static void do_bind(int fd, uint32_t vm, uint32_t bo, uint64_t offset,
 }
 
 /**
- * SUBTEST: test
+ * SUBTEST: reltime
  * Description: Check basic waitfences functionality
  */
 static void
-test(int fd)
+waitfence(int fd)
 {
 	uint32_t bo_1;
 	uint32_t bo_2;
@@ -93,8 +93,8 @@ igt_main
 		xe_device_get(fd);
 	}
 
-	igt_subtest("test")
-		test(fd);
+	igt_subtest("reltime")
+		waitfence(fd);
 
 	igt_fixture {
 		xe_device_put(fd);
-- 
2.34.1

  parent reply	other threads:[~2023-06-02 16:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-02 16:20 [igt-dev] [PATCH i-g-t v2 0/4] Add absolute user fence timeout Zbigniew Kempczyński
2023-06-02 16:20 ` [igt-dev] [PATCH i-g-t v2 1/4] lib/xe_ioctl: Add xe_wait_ufence_abstime() helper Zbigniew Kempczyński
2023-06-14  9:30   ` Kamil Konieczny
2023-06-02 16:20 ` [igt-dev] [PATCH i-g-t v2 2/4] lib/xe_ioctl: Return remaining timeout of user fence wait Zbigniew Kempczyński
2023-06-14 10:34   ` Kamil Konieczny
2023-06-19  4:58     ` Zbigniew Kempczyński
2023-06-02 16:20 ` Zbigniew Kempczyński [this message]
2023-06-14 10:35   ` [igt-dev] [PATCH i-g-t v2 3/4] tests/xe_waitfence: Rename vague subtest name "test" to reltime Kamil Konieczny
2023-06-02 16:20 ` [igt-dev] [PATCH i-g-t v2 4/4] tests/xe_waitfence: Add abstime subtest for user fence Zbigniew Kempczyński
2023-06-14 10:40   ` Kamil Konieczny
2023-06-02 19:32 ` [igt-dev] ✓ Fi.CI.BAT: success for Add absolute user fence timeout (rev2) Patchwork
2023-06-05  5:23 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20230602162011.90097-4-zbigniew.kempczynski@intel.com \
    --to=zbigniew.kempczynski@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