All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] tests/i915/gem_bad_reloc: Check reloc support
@ 2021-05-19 10:11 Tejas Upadhyay
  2021-05-19 11:04 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2021-05-19 13:37 ` [igt-dev] [i-g-t] " Zbigniew Kempczyński
  0 siblings, 2 replies; 3+ messages in thread
From: Tejas Upadhyay @ 2021-05-19 10:11 UTC (permalink / raw)
  To: igt-dev

GEN12/12+ has no reloc support, thus need to check
reloc support in the test.

Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
---
 tests/i915/gem_bad_reloc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/gem_bad_reloc.c b/tests/i915/gem_bad_reloc.c
index 6acc1724..3d4834bc 100644
--- a/tests/i915/gem_bad_reloc.c
+++ b/tests/i915/gem_bad_reloc.c
@@ -191,6 +191,8 @@ igt_main
 	igt_fixture {
 		fd = drm_open_driver(DRIVER_INTEL);
 		igt_require_gem(fd);
+		/* Check if relocations supported by platform */
+		igt_require(gem_has_relocations(fd));
 		gem_require_blitter(fd);
 	}
 
-- 
2.31.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2021-05-19 13:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 10:11 [igt-dev] [i-g-t] tests/i915/gem_bad_reloc: Check reloc support Tejas Upadhyay
2021-05-19 11:04 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2021-05-19 13:37 ` [igt-dev] [i-g-t] " Zbigniew Kempczyński

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.