Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Marcin Bernatowicz" <marcin.bernatowicz@linux.intel.com>,
	"Adam Miszczak" <adam.miszczak@linux.intel.com>,
	"Jakub Kolakowski" <jakub1.kolakowski@intel.com>,
	"Kamil Konieczny" <kamil.konieczny@linux.intel.com>,
	"Lukasz Laguna" <lukasz.laguna@intel.com>,
	"Piotr Piórkowski" <piotr.piorkowski@intel.com>,
	"Satyanarayana K V P" <satyanarayana.k.v.p@intel.com>
Subject: [PATCH i-g-t 0/2] Don’t assume sequential GT IDs
Date: Mon,  8 Sep 2025 18:07:21 +0200	[thread overview]
Message-ID: <20250908160723.1723178-1-marcin.bernatowicz@linux.intel.com> (raw)

Patch 1 fixes xe_gt_type() to use drm_xe_get_gt() with gt_mask checks
instead of direct gt_list indexing.

Patch 2 updates xe_sriov_flr tests to use xe_for_each_gt(), avoiding
assumptions about sequential GT numbering.

Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Cc: Adam Miszczak <adam.miszczak@linux.intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>

Marcin Bernatowicz (2):
  lib/xe/xe_query: Don’t assume sequential GT IDs in xe_gt_type()
  tests/intel/xe_sriov_flr: Use xe_for_each_gt() for GT iteration

 lib/xe/xe_query.c          | 9 ++++++---
 tests/intel/xe_sriov_flr.c | 7 ++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

-- 
2.31.1


             reply	other threads:[~2025-09-08 16:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-08 16:07 Marcin Bernatowicz [this message]
2025-09-08 16:07 ` [PATCH i-g-t 1/2] lib/xe/xe_query: Don’t assume sequential GT IDs in xe_gt_type() Marcin Bernatowicz
2025-09-09  8:23   ` Kamil Konieczny
2025-09-08 16:07 ` [PATCH i-g-t 2/2] tests/intel/xe_sriov_flr: Use xe_for_each_gt() for GT iteration Marcin Bernatowicz
2025-09-09  8:26   ` Kamil Konieczny
2025-09-09  2:38 ` ✓ i915.CI.BAT: success for Don’t assume sequential GT IDs Patchwork
2025-09-09  2:57 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-09 10:43 ` ✗ Xe.CI.Full: failure " Patchwork
2025-09-09 13:57   ` Bernatowicz, Marcin
2025-09-09 18:13 ` ✗ i915.CI.Full: " Patchwork
2025-09-10  7:45   ` Bernatowicz, Marcin

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=20250908160723.1723178-1-marcin.bernatowicz@linux.intel.com \
    --to=marcin.bernatowicz@linux.intel.com \
    --cc=adam.miszczak@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jakub1.kolakowski@intel.com \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=lukasz.laguna@intel.com \
    --cc=piotr.piorkowski@intel.com \
    --cc=satyanarayana.k.v.p@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