All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH i-g-t] i915/perf: Skip OA testing on systems too old
@ 2019-12-16  9:34 ` Chris Wilson
  0 siblings, 0 replies; 20+ messages in thread
From: Chris Wilson @ 2019-12-16  9:34 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

Don't flat out fail if the system doesn't support OA, just skip.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/834
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/perf.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/perf.c b/tests/perf.c
index f5dd6051e..12f552743 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -884,11 +884,9 @@ init_sys_info(void)
 	const char *test_set_uuid = NULL;
 	char buf[256];
 
-	igt_assert_neq(devid, 0);
-
 	timestamp_frequency = get_cs_timestamp_frequency();
 	igt_debug("timestamp_frequency = %lu\n", timestamp_frequency);
-	igt_assert_neq(timestamp_frequency, 0);
+	igt_require(timestamp_frequency);
 
 	if (IS_HASWELL(devid)) {
 		/* We don't have a TestOa metric set for Haswell so use
-- 
2.24.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2019-12-16 16:24 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16  9:34 [Intel-gfx] [PATCH i-g-t] i915/perf: Skip OA testing on systems too old Chris Wilson
2019-12-16  9:34 ` [igt-dev] " Chris Wilson
2019-12-16  9:46 ` [Intel-gfx] " Lionel Landwerlin
2019-12-16  9:46   ` Lionel Landwerlin
2019-12-16  9:56   ` [Intel-gfx] " Chris Wilson
2019-12-16  9:56     ` Chris Wilson
2019-12-16 10:06     ` [Intel-gfx] " Lionel Landwerlin
2019-12-16 10:06       ` Lionel Landwerlin
2019-12-16 10:10       ` [Intel-gfx] " Chris Wilson
2019-12-16 10:10         ` Chris Wilson
2019-12-16 10:27       ` [Intel-gfx] " Chris Wilson
2019-12-16 10:27         ` Chris Wilson
2019-12-16 10:41         ` [Intel-gfx] " Lionel Landwerlin
2019-12-16 10:41           ` Lionel Landwerlin
2019-12-16 11:02           ` [Intel-gfx] " Chris Wilson
2019-12-16 11:02             ` Chris Wilson
2019-12-16 10:18 ` [Intel-gfx] " Lionel Landwerlin
2019-12-16 10:18   ` Lionel Landwerlin
2019-12-16 13:31 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-12-16 16:24 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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.