All of 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>,
	Lukasz Laguna <lukasz.laguna@intel.com>,
	Michal Wajdeczko <michal.wajdeczko@intel.com>,
	Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Subject: [PATCH i-g-t 0/2] xe_sriov_flr: Skip non-MAIN GTs when reading provisioning data
Date: Fri, 29 Aug 2025 12:40:35 +0200	[thread overview]
Message-ID: <20250829104037.649426-1-marcin.bernatowicz@linux.intel.com> (raw)

Provisioning information (GGTT and LMEM) is exposed only on MAIN GTs.
Non-MAIN GTs (e.g., MEDIA) do not provide this data, which previously
caused spurious skips in subtests.

This series:
 - adds a generic xe_gt_type() accessor 
   and a convenience xe_is_main_gt() helper,
 - updates xe_sriov_flr to restrict GGTT and LMEM
   provisioning checks to MAIN GTs.

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: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>

Marcin Bernatowicz (2):
  lib/xe/xe_query: Add xe_gt_type() and xe_is_main_gt() helpers
  tests/intel/xe_sriov_flr: Skip non-MAIN GTs when reading provisioning
    data

 lib/xe/xe_query.c          | 40 +++++++++++++++++++++++++++++---------
 lib/xe/xe_query.h          |  2 ++
 tests/intel/xe_sriov_flr.c |  8 ++++++--
 3 files changed, 39 insertions(+), 11 deletions(-)

-- 
2.31.1


             reply	other threads:[~2025-08-29 10:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-29 10:40 Marcin Bernatowicz [this message]
2025-08-29 10:40 ` [PATCH i-g-t 1/2] lib/xe/xe_query: Add xe_gt_type() and xe_is_main_gt() helpers Marcin Bernatowicz
2025-09-01 11:12   ` Kamil Konieczny
2025-08-29 10:40 ` [PATCH i-g-t 2/2] tests/intel/xe_sriov_flr: Skip non-MAIN GTs when reading provisioning data Marcin Bernatowicz
2025-09-01 11:14   ` Kamil Konieczny
2025-08-29 11:51 ` ✓ Xe.CI.BAT: success for xe_sriov_flr: " Patchwork
2025-08-29 12:14 ` ✓ i915.CI.BAT: " Patchwork
2025-08-29 19:48 ` ✗ i915.CI.Full: failure " Patchwork
2025-09-01 10:23   ` Bernatowicz, Marcin
2025-08-29 20:36 ` ✗ Xe.CI.Full: " Patchwork
2025-09-01 10:22   ` 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=20250829104037.649426-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=lukasz.laguna@intel.com \
    --cc=michal.wajdeczko@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 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.