From: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: adam.miszczak@linux.intel.com, kamil.konieczny@linux.intel.com,
lukasz.laguna@intel.com, zbigniew.kempczynski@intel.com,
Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Subject: [PATCH i-g-t 3/3] tests/xe_sriov_scheduling: fix ticks_delta check for non-inverted logic
Date: Fri, 31 Jul 2026 16:18:06 +0200 [thread overview]
Message-ID: <20260731141806.890207-4-marcin.bernatowicz@linux.intel.com> (raw)
In-Reply-To: <20260731141806.890207-1-marcin.bernatowicz@linux.intel.com>
xe_spin now stores elapsed ticks directly in ticks_delta (not inverted).
Update subm_is_work_complete() accordingly.
Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Cc: Adam Miszczak <adam.miszczak@linux.intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
tests/intel/xe_sriov_scheduling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/intel/xe_sriov_scheduling.c b/tests/intel/xe_sriov_scheduling.c
index 47cc5d9b0..5d30b961d 100644
--- a/tests/intel/xe_sriov_scheduling.c
+++ b/tests/intel/xe_sriov_scheduling.c
@@ -189,7 +189,7 @@ static void subm_exec_slot(struct subm *s, unsigned int slot)
static bool subm_is_work_complete(struct subm *s, unsigned int slot)
{
- return s->expected_ticks <= ~s->spin[slot]->ticks_delta;
+ return s->expected_ticks <= s->spin[slot]->ticks_delta;
}
static bool subm_is_exec_queue_banned(struct subm *s)
--
2.43.0
next prev parent reply other threads:[~2026-07-31 14:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-31 14:18 [PATCH i-g-t 0/3] gem_wsim: fix batch premature completion Marcin Bernatowicz
2026-07-31 14:18 ` [PATCH i-g-t 1/3] lib/xe/xe_spin: fix premature batch exit on BO resubmission Marcin Bernatowicz
2026-07-31 15:52 ` Zbigniew Kempczyński
2026-07-31 14:18 ` [PATCH i-g-t 2/3] benchmarks/gem_wsim: fix ticks_delta assertion for non-inverted logic Marcin Bernatowicz
2026-07-31 15:53 ` Zbigniew Kempczyński
2026-07-31 14:18 ` Marcin Bernatowicz [this message]
2026-07-31 15:54 ` [PATCH i-g-t 3/3] tests/xe_sriov_scheduling: fix ticks_delta check " Zbigniew Kempczyński
2026-07-31 14:53 ` ✓ Xe.CI.BAT: success for gem_wsim: fix batch premature completion (rev2) Patchwork
2026-07-31 15:25 ` ✓ i915.CI.BAT: " Patchwork
2026-07-31 16:37 ` ✓ Xe.CI.FULL: " 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=20260731141806.890207-4-marcin.bernatowicz@linux.intel.com \
--to=marcin.bernatowicz@linux.intel.com \
--cc=adam.miszczak@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=lukasz.laguna@intel.com \
--cc=zbigniew.kempczynski@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.