From: Ashutosh Dixit <ashutosh.dixit@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Subject: [PATCH i-g-t 1/3] tests/intel/xe_oa: Move Xe2+ check before init_sys_info
Date: Mon, 9 Dec 2024 18:08:10 -0800 [thread overview]
Message-ID: <20241210020812.1513475-1-ashutosh.dixit@intel.com> (raw)
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
next reply other threads:[~2024-12-10 2:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 2:08 Ashutosh Dixit [this message]
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
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=20241210020812.1513475-1-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=umesh.nerlige.ramappa@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