Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sai.gowtham.ch@intel.com
To: igt-dev@lists.freedesktop.org, zbigniew.kempczynski@intel.com,
	sai.gowtham.ch@intel.com
Subject: [PATCH i-g-t 1/3] lib/xe/xe_spin: Update xe_spin with exec_sync
Date: Thu, 21 Mar 2024 16:57:36 +0530	[thread overview]
Message-ID: <20240321112738.8703-2-sai.gowtham.ch@intel.com> (raw)
In-Reply-To: <20240321112738.8703-1-sai.gowtham.ch@intel.com>

From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>

When a spinner is submitted with LR mode, exec_sync can be used
as GPU address when sync is passed in via exec IOCTL.

Cc:Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
 lib/xe/xe_spin.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/xe/xe_spin.h b/lib/xe/xe_spin.h
index 5c8c45143..87b7c1716 100644
--- a/lib/xe/xe_spin.h
+++ b/lib/xe/xe_spin.h
@@ -38,6 +38,7 @@ struct xe_spin {
 	uint32_t start;
 	uint32_t end;
 	uint32_t ticks_delta;
+	uint64_t exec_sync;
 };
 
 igt_spin_t *xe_spin_create(int fd, const struct igt_spin_factory *opt);
-- 
2.39.1


  reply	other threads:[~2024-03-21 11:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 11:27 [PATCH i-g-t 0/3] tests/intel/xe_exec_compute_mode: Test to validate LR mode sai.gowtham.ch
2024-03-21 11:27 ` sai.gowtham.ch [this message]
2024-03-21 11:27 ` [PATCH i-g-t 2/3] lib/xe/xe_spin: Add support to store/write timestamp sai.gowtham.ch
2024-03-21 11:27 ` [PATCH i-g-t 3/3] tests/intel/xe_exec_compute_mode: Test to validate LR mode sai.gowtham.ch
2024-03-21 11:38   ` Zbigniew Kempczyński
2024-03-21 12:19 ` ✓ CI.xeBAT: success for " Patchwork
2024-03-21 12:23 ` ✓ Fi.CI.BAT: " Patchwork
2024-03-22  2:33 ` ✗ Fi.CI.IGT: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-03-20 15:54 [PATCH i-g-t 0/3] tests/intel/xe_exec_compute_mode: Test to sai.gowtham.ch
2024-03-20 15:54 ` [PATCH i-g-t 1/3] lib/xe/xe_spin: Update xe_spin with exec_sync sai.gowtham.ch
2024-03-21  9:53   ` Zbigniew Kempczyński

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=20240321112738.8703-2-sai.gowtham.ch@intel.com \
    --to=sai.gowtham.ch@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox