igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/xe_sriov_flr: Skip media GTs when reading LMEM provisioning
@ 2025-08-26 19:25 Marcin Bernatowicz
  2025-08-26 20:40 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Marcin Bernatowicz @ 2025-08-26 19:25 UTC (permalink / raw)
  To: igt-dev
  Cc: Marcin Bernatowicz, Adam Miszczak, Jakub Kolakowski,
	Lukasz Laguna, Michal Wajdeczko, Satyanarayana K V P

LMEM provisioning is exposed only on the primary GT.
Media GTs do not provide LMEM provisioning data,
so attempting to read it there caused the subtest to skip.
Restrict iteration to non-media GTs before reading LMEM provisioning.

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>
---
 tests/intel/xe_sriov_flr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/intel/xe_sriov_flr.c b/tests/intel/xe_sriov_flr.c
index fc08703c0..248dcf6fb 100644
--- a/tests/intel/xe_sriov_flr.c
+++ b/tests/intel/xe_sriov_flr.c
@@ -813,6 +813,9 @@ static int populate_vf_lmem_sizes(struct subcheck_data *data)
 	igt_assert(ldata->vf_lmem_size);
 
 	xe_for_each_gt(data->pf_fd, gt) {
+		if (xe_is_media_gt(data->pf_fd, gt))
+			continue;
+
 		ret = xe_sriov_pf_debugfs_read_provisioned_ranges(data->pf_fd,
 								  XE_SRIOV_SHARED_RES_LMEM,
 								  gt, &ranges, &nr_ranges);
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-28 10:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26 19:25 [PATCH i-g-t] tests/intel/xe_sriov_flr: Skip media GTs when reading LMEM provisioning Marcin Bernatowicz
2025-08-26 20:40 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-08-26 20:53 ` ✓ i915.CI.BAT: " Patchwork
2025-08-27  6:44 ` ✓ Xe.CI.Full: " Patchwork
2025-08-27  7:55 ` ✗ i915.CI.Full: failure " Patchwork
2025-08-27  7:59 ` [PATCH i-g-t] " Adam Miszczak
2025-08-28 10:25 ` Laguna, Lukasz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).