Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/3] tests/intel/xe_oa: Move Xe2+ check before init_sys_info
@ 2024-12-10  2:08 Ashutosh Dixit
  2024-12-10  2:08 ` [PATCH i-g-t 2/3] Revert "tests/xe_oa: Drop TestOa from metric_set()" Ashutosh Dixit
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Ashutosh Dixit @ 2024-12-10  2:08 UTC (permalink / raw)
  To: igt-dev; +Cc: Umesh Nerlige Ramappa

In order to avoid failures on unsupported Xe1 platforms, move Xe2+ check
before init_sys_info.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3645
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 tests/intel/xe_oa.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
index 8a88945a2b..9e7c2ae1e6 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -4855,14 +4855,14 @@ igt_main
 		devid = intel_get_drm_devid(drm_fd);
 		sysfs = igt_sysfs_open(drm_fd);
 
+		/* Currently only run on Xe2+ */
+		igt_require(intel_graphics_ver(devid) >= IP_VER(20, 0));
+
 		igt_require(init_sys_info());
 
 		write_u64_file("/proc/sys/dev/xe/observation_paranoid", 1);
 
 		render_copy = igt_get_render_copyfunc(devid);
-
-		/* Currently only run on Xe2+ */
-		igt_require(intel_graphics_ver(devid) >= IP_VER(20, 0));
 	}
 
 	igt_subtest("non-system-wide-paranoid")
-- 
2.47.1


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

end of thread, other threads:[~2024-12-12  1:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10  2:08 [PATCH i-g-t 1/3] tests/intel/xe_oa: Move Xe2+ check before init_sys_info Ashutosh Dixit
2024-12-10  2:08 ` [PATCH i-g-t 2/3] Revert "tests/xe_oa: Drop TestOa from metric_set()" Ashutosh Dixit
2024-12-10 11:14   ` Kamil Konieczny
2024-12-12  1:28     ` Dixit, Ashutosh
2024-12-10  2:08 ` [PATCH i-g-t 3/3] tests/intel/xe_oa: Use buf->bo_size for xe_bo_map Ashutosh Dixit
2024-12-10  2:53 ` ✗ i915.CI.BAT: failure for series starting with [i-g-t,1/3] tests/intel/xe_oa: Move Xe2+ check before init_sys_info Patchwork
2024-12-10  3:08 ` ✓ Xe.CI.BAT: success " Patchwork
2024-12-10  4:10 ` ✗ Xe.CI.Full: failure " Patchwork
2024-12-10 11:15 ` [PATCH i-g-t 1/3] " Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox